cloudsmith-api 1.61.3 → 1.142.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +7 -7
- data/README.md +62 -31
- data/build.json +1 -1
- data/docs/AlpinePackageUpload.md +2 -0
- data/docs/AuditLogApi.md +137 -0
- data/docs/ConanPackageUpload.md +2 -0
- data/docs/FilesApi.md +13 -6
- data/docs/MavenPackageUpload.md +2 -0
- data/docs/NamespaceAuditLog.md +23 -0
- data/docs/OrganizationGroupSync.md +12 -0
- data/docs/OrganizationInvite.md +16 -0
- data/docs/OrganizationTeam.md +12 -0
- data/docs/OrganizationTeamMembers.md +8 -0
- data/docs/OrganizationTeamMembersMembers.md +9 -0
- data/docs/OrgsApi.md +958 -8
- data/docs/OrgsInvitesCreate.md +12 -0
- data/docs/OrgsInvitesExtend.md +11 -0
- data/docs/OrgsSamlgroupsyncCreate.md +12 -0
- data/docs/OrgsTeamsCreate.md +11 -0
- data/docs/OrgsTeamsMembersCreate.md +8 -0
- data/docs/OrgsTeamsMembersUpdate.md +8 -0
- data/docs/OrgsTeamsPartialUpdate.md +11 -0
- data/docs/Package.md +2 -0
- data/docs/PackageCopy.md +2 -0
- data/docs/PackageMove.md +2 -0
- data/docs/RawPackageUpload.md +2 -0
- data/docs/ReposApi.md +542 -0
- data/docs/ReposCreate.md +31 -1
- data/docs/ReposGpgCreate.md +9 -0
- data/docs/ReposPartialUpdate.md +30 -0
- data/docs/ReposPrivilegesPartialUpdate.md +8 -0
- data/docs/ReposPrivilegesUpdate.md +8 -0
- data/docs/ReposRsaCreate.md +9 -0
- data/docs/Repository.md +30 -0
- data/docs/RepositoryAuditLog.md +20 -0
- data/docs/RepositoryCreate.md +31 -1
- data/docs/RepositoryGpgKey.md +14 -0
- data/docs/RepositoryPrivilegeInput.md +8 -0
- data/docs/RepositoryPrivilegeInputPrivileges.md +10 -0
- data/docs/RepositoryRsaKey.md +13 -0
- data/docs/VagrantPackageUpload.md +2 -0
- data/lib/cloudsmith-api/api/audit_log_api.rb +147 -0
- data/lib/cloudsmith-api/api/files_api.rb +17 -7
- data/lib/cloudsmith-api/api/orgs_api.rb +910 -10
- data/lib/cloudsmith-api/api/repos_api.rb +524 -0
- data/lib/cloudsmith-api/models/alpine_package_upload.rb +55 -1
- data/lib/cloudsmith-api/models/conan_package_upload.rb +55 -1
- data/lib/cloudsmith-api/models/entitlements_create.rb +46 -0
- data/lib/cloudsmith-api/models/entitlements_partial_update.rb +46 -0
- data/lib/cloudsmith-api/models/entitlements_refresh.rb +46 -0
- data/lib/cloudsmith-api/models/files_abort.rb +34 -0
- data/lib/cloudsmith-api/models/files_complete.rb +34 -0
- data/lib/cloudsmith-api/models/files_create.rb +34 -0
- data/lib/cloudsmith-api/models/files_validate.rb +34 -0
- data/lib/cloudsmith-api/models/maven_package_upload.rb +55 -1
- data/lib/cloudsmith-api/models/namespace_audit_log.rb +395 -0
- data/lib/cloudsmith-api/models/organization_group_sync.rb +240 -0
- data/lib/cloudsmith-api/models/organization_invite.rb +299 -0
- data/lib/cloudsmith-api/models/organization_membership.rb +46 -0
- data/lib/cloudsmith-api/models/organization_team.rb +264 -0
- data/lib/cloudsmith-api/models/organization_team_members.rb +192 -0
- data/lib/cloudsmith-api/models/organization_team_members_members.rb +195 -0
- data/lib/cloudsmith-api/models/orgs_invites_create.rb +259 -0
- data/lib/cloudsmith-api/models/orgs_invites_extend.rb +249 -0
- data/lib/cloudsmith-api/models/orgs_samlgroupsync_create.rb +245 -0
- data/lib/cloudsmith-api/models/orgs_teams_create.rb +254 -0
- data/lib/cloudsmith-api/models/orgs_teams_members_create.rb +192 -0
- data/lib/cloudsmith-api/models/orgs_teams_members_update.rb +192 -0
- data/lib/cloudsmith-api/models/orgs_teams_partial_update.rb +249 -0
- data/lib/cloudsmith-api/models/package.rb +55 -1
- data/lib/cloudsmith-api/models/package_copy.rb +55 -1
- data/lib/cloudsmith-api/models/package_move.rb +55 -1
- data/lib/cloudsmith-api/models/packages_tag.rb +34 -0
- data/lib/cloudsmith-api/models/raw_package_upload.rb +55 -1
- data/lib/cloudsmith-api/models/repos_create.rb +437 -5
- data/lib/cloudsmith-api/models/repos_gpg_create.rb +200 -0
- data/lib/cloudsmith-api/models/repos_partial_update.rb +448 -4
- data/lib/cloudsmith-api/models/repos_privileges_partial_update.rb +187 -0
- data/lib/cloudsmith-api/models/repos_privileges_update.rb +192 -0
- data/lib/cloudsmith-api/models/repos_rsa_create.rb +200 -0
- data/lib/cloudsmith-api/models/repository.rb +448 -4
- data/lib/cloudsmith-api/models/repository_audit_log.rb +355 -0
- data/lib/cloudsmith-api/models/repository_create.rb +437 -5
- data/lib/cloudsmith-api/models/repository_gpg_key.rb +250 -0
- data/lib/cloudsmith-api/models/repository_privilege_input.rb +192 -0
- data/lib/cloudsmith-api/models/repository_privilege_input_privileges.rb +205 -0
- data/lib/cloudsmith-api/models/repository_rsa_key.rb +235 -0
- data/lib/cloudsmith-api/models/repository_token.rb +46 -0
- data/lib/cloudsmith-api/models/repository_token_refresh.rb +46 -0
- data/lib/cloudsmith-api/models/vagrant_package_upload.rb +55 -1
- data/lib/cloudsmith-api/models/vulnerability_scan_results.rb +34 -0
- data/lib/cloudsmith-api/models/vulnerability_scan_results_list.rb +34 -0
- data/lib/cloudsmith-api/version.rb +1 -1
- data/lib/cloudsmith-api.rb +23 -0
- data/spec/api/audit_log_api_spec.rb +66 -0
- data/spec/api/files_api_spec.rb +4 -2
- data/spec/api/orgs_api_spec.rb +218 -3
- data/spec/api/repos_api_spec.rb +123 -0
- data/spec/models/alpine_package_upload_spec.rb +16 -0
- data/spec/models/conan_package_upload_spec.rb +16 -0
- data/spec/models/entitlements_create_spec.rb +8 -0
- data/spec/models/entitlements_partial_update_spec.rb +8 -0
- data/spec/models/entitlements_refresh_spec.rb +8 -0
- data/spec/models/files_abort_spec.rb +4 -0
- data/spec/models/files_complete_spec.rb +4 -0
- data/spec/models/files_create_spec.rb +4 -0
- data/spec/models/files_validate_spec.rb +4 -0
- data/spec/models/maven_package_upload_spec.rb +16 -0
- data/spec/models/namespace_audit_log_spec.rb +131 -0
- data/spec/models/organization_group_sync_spec.rb +65 -0
- data/spec/models/organization_invite_spec.rb +93 -0
- data/spec/models/organization_membership_spec.rb +8 -0
- data/spec/models/organization_team_members_members_spec.rb +47 -0
- data/spec/models/organization_team_members_spec.rb +41 -0
- data/spec/models/organization_team_spec.rb +69 -0
- data/spec/models/orgs_invites_create_spec.rb +69 -0
- data/spec/models/orgs_invites_extend_spec.rb +63 -0
- data/spec/models/orgs_samlgroupsync_create_spec.rb +65 -0
- data/spec/models/orgs_teams_create_spec.rb +63 -0
- data/spec/models/orgs_teams_members_create_spec.rb +41 -0
- data/spec/models/orgs_teams_members_update_spec.rb +41 -0
- data/spec/models/orgs_teams_partial_update_spec.rb +63 -0
- data/spec/models/package_copy_spec.rb +16 -0
- data/spec/models/package_move_spec.rb +16 -0
- data/spec/models/package_spec.rb +16 -0
- data/spec/models/packages_tag_spec.rb +4 -0
- data/spec/models/raw_package_upload_spec.rb +16 -0
- data/spec/models/repos_create_spec.rb +216 -0
- data/spec/models/repos_gpg_create_spec.rb +47 -0
- data/spec/models/repos_partial_update_spec.rb +220 -0
- data/spec/models/repos_privileges_partial_update_spec.rb +41 -0
- data/spec/models/repos_privileges_update_spec.rb +41 -0
- data/spec/models/repos_rsa_create_spec.rb +47 -0
- data/spec/models/repository_audit_log_spec.rb +113 -0
- data/spec/models/repository_create_spec.rb +216 -0
- data/spec/models/repository_gpg_key_spec.rb +77 -0
- data/spec/models/repository_privilege_input_privileges_spec.rb +53 -0
- data/spec/models/repository_privilege_input_spec.rb +41 -0
- data/spec/models/repository_rsa_key_spec.rb +71 -0
- data/spec/models/repository_spec.rb +220 -0
- data/spec/models/repository_token_refresh_spec.rb +8 -0
- data/spec/models/repository_token_spec.rb +8 -0
- data/spec/models/vagrant_package_upload_spec.rb +16 -0
- data/spec/models/vulnerability_scan_results_list_spec.rb +4 -0
- data/spec/models/vulnerability_scan_results_spec.rb +4 -0
- data/vendor/bundle/ruby/2.6.0/bin/htmldiff +3 -3
- data/vendor/bundle/ruby/2.6.0/bin/ldiff +3 -3
- data/vendor/bundle/ruby/2.6.0/bin/multigem +3 -3
- data/vendor/bundle/ruby/2.6.0/bin/multiruby +3 -3
- data/vendor/bundle/ruby/2.6.0/bin/rake +2 -0
- data/vendor/bundle/ruby/2.6.0/bin/rspec +2 -0
- data/vendor/bundle/ruby/2.6.0/bin/unit_diff +3 -3
- data/vendor/bundle/ruby/2.6.0/bin/zentest +3 -3
- data/vendor/bundle/ruby/2.6.0/cache/addressable-2.8.1.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/public_suffix-5.0.0.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/rspec-expectations-3.11.1.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/rspec-support-3.11.1.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/autotest-fsevent-0.2.19/gem_make.out +4 -4
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.15.5/ffi_c.so +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.15.5/gem_make.out +5 -5
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.15.5/mkmf.log +9 -9
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.6.2/gem_make.out +4 -4
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.6.2/json/ext/generator.so +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.6.2/json/ext/parser.so +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.6.2/mkmf.log +7 -7
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/CHANGELOG.md +16 -0
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/Gemfile +4 -2
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/LICENSE.txt +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/README.md +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/Rakefile +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/data/unicode.data +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/lib/addressable/idna/native.rb +0 -1
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/lib/addressable/idna/pure.rb +0 -1
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/lib/addressable/idna.rb +0 -1
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/lib/addressable/template.rb +3 -4
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/lib/addressable/uri.rb +57 -53
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/lib/addressable/version.rb +1 -2
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/lib/addressable.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/spec/addressable/idna_spec.rb +0 -1
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/spec/addressable/net_http_compat_spec.rb +0 -1
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/spec/addressable/security_spec.rb +0 -1
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/spec/addressable/template_spec.rb +9 -1
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/spec/addressable/uri_spec.rb +81 -1
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/spec/spec_helper.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/tasks/clobber.rake +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/tasks/gem.rake +5 -2
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/tasks/git.rake +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/tasks/metrics.rake +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/tasks/profile.rake +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/tasks/rspec.rake +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{addressable-2.8.0 → addressable-2.8.1}/tasks/yard.rake +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/AbstractMemory.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/ArrayType.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/Buffer.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/Call.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/ClosurePool.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/DynamicLibrary.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/Function.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/FunctionInfo.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/LastError.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/LongDouble.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/Makefile +3 -3
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/MappedType.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/MemoryPointer.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/MethodHandle.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/Platform.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/Pointer.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/Struct.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/StructByValue.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/StructLayout.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/Thread.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/Type.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/Types.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/Variadic.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/ffi.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/ffi_c.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/lib/ffi_c.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.6.2/ext/json/Makefile +3 -3
- data/vendor/bundle/ruby/2.6.0/gems/json-2.6.2/ext/json/ext/generator/Makefile +3 -3
- data/vendor/bundle/ruby/2.6.0/gems/json-2.6.2/ext/json/ext/generator/generator.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.6.2/ext/json/ext/generator/generator.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.6.2/ext/json/ext/parser/Makefile +3 -3
- data/vendor/bundle/ruby/2.6.0/gems/json-2.6.2/ext/json/ext/parser/parser.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.6.2/ext/json/ext/parser/parser.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.6.2/lib/json/ext/generator.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.6.2/lib/json/ext/parser.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/.github/FUNDING.yml +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/.github/dependabot.yml +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/public_suffix-5.0.0/.github/workflows/psl-update.yml +38 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/.github/workflows/release.yml +4 -2
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/.github/workflows/tests.yml +8 -7
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/.gitignore +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/.rubocop.yml +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/.rubocop_opinionated.yml +0 -28
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/.yardopts +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/2.0-Upgrade.md +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/CHANGELOG.md +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/Gemfile +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/LICENSE.txt +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/README.md +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/Rakefile +3 -3
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/SECURITY.md +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/bin/console +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/data/list.txt +52 -21
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/lib/public_suffix/domain.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/lib/public_suffix/errors.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/lib/public_suffix/list.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/lib/public_suffix/rule.rb +5 -5
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/lib/public_suffix/version.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/lib/public_suffix.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/public_suffix.gemspec +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/.empty +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/acceptance_test.rb +4 -4
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/benchmarks/bm_find.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/benchmarks/bm_find_all.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/benchmarks/bm_names.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/benchmarks/bm_select.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/benchmarks/bm_select_incremental.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/benchmarks/bm_valid.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/profilers/domain_profiler.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/profilers/find_profiler.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/profilers/find_profiler_jp.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/profilers/initialization_profiler.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/profilers/list_profsize.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/profilers/object_binsize.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/psl_test.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/test_helper.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/tests.txt +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/unit/domain_test.rb +3 -3
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/unit/errors_test.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/unit/list_test.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/unit/public_suffix_test.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.7 → public_suffix-5.0.0}/test/unit/rule_test.rb +15 -15
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/.document +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/.yardopts +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/Changelog.md +11 -1
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/LICENSE.md +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/README.md +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/expectations/block_snippet_extractor.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/expectations/configuration.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/expectations/expectation_target.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/expectations/fail_with.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/expectations/failure_aggregator.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/expectations/handler.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/expectations/minitest_integration.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/expectations/syntax.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/expectations/version.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/expectations.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/aliased_matcher.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/all.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/base_matcher.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/be.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/be_between.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/be_instance_of.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/be_kind_of.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/be_within.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/change.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/compound.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/contain_exactly.rb +10 -2
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/count_expectation.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/cover.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/eq.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/eql.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/equal.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/exist.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/has.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/have_attributes.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/include.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/match.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/operators.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/output.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/raise_error.rb +6 -6
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/respond_to.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/satisfy.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/start_or_end_with.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/throw_symbol.rb +4 -4
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in/yield.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/built_in.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/composable.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/dsl.rb +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/english_phrasing.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/expecteds_for_multiple_diffs.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/fail_matchers.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/generated_descriptions.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/matcher_delegator.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers/matcher_protocol.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.11.1}/lib/rspec/matchers.rb +3 -3
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/Changelog.md +8 -1
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/LICENSE.md +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/README.md +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/caller_filter.rb +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/comparable_version.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/differ.rb +4 -4
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/directory_maker.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/encoded_string.rb +3 -3
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/fuzzy_matcher.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/hunk_generator.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/matcher_definition.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/method_signature_verifier.rb +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/mutex.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/object_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/recursive_const_methods.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/reentrant_mutex.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/ruby_features.rb +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/source/location.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/source/node.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/source/token.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/source.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/spec/deprecation_helpers.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/spec/diff_helpers.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/spec/formatting_support.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/spec/in_sub_process.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/spec/library_wide_checks.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/spec/shell_out.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/spec/stderr_splitter.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/spec/string_matcher.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/spec/with_isolated_directory.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/spec/with_isolated_stderr.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/spec.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/version.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/warnings.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support/with_keywords_when_needed.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.11.0 → rspec-support-3.11.1}/lib/rspec/support.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/specifications/ZenTest-4.12.1.gemspec +6 -9
- data/vendor/bundle/ruby/2.6.0/specifications/{addressable-2.8.0.gemspec → addressable-2.8.1.gemspec} +12 -14
- data/vendor/bundle/ruby/2.6.0/specifications/autotest-4.4.6.gemspec +8 -13
- data/vendor/bundle/ruby/2.6.0/specifications/autotest-fsevent-0.2.19.gemspec +8 -13
- data/vendor/bundle/ruby/2.6.0/specifications/autotest-growl-0.2.16.gemspec +7 -11
- data/vendor/bundle/ruby/2.6.0/specifications/autotest-rails-pure-4.1.2.gemspec +2 -2
- data/vendor/bundle/ruby/2.6.0/specifications/crack-0.4.5.gemspec +5 -7
- data/vendor/bundle/ruby/2.6.0/specifications/diff-lcs-1.5.0.gemspec +12 -21
- data/vendor/bundle/ruby/2.6.0/specifications/ethon-0.15.0.gemspec +5 -7
- data/vendor/bundle/ruby/2.6.0/specifications/ffi-1.15.5.gemspec +8 -13
- data/vendor/bundle/ruby/2.6.0/specifications/hashdiff-1.0.1.gemspec +9 -15
- data/vendor/bundle/ruby/2.6.0/specifications/json-2.6.2.gemspec +0 -0
- data/vendor/bundle/ruby/2.6.0/specifications/{public_suffix-4.0.7.gemspec → public_suffix-5.0.0.gemspec} +7 -7
- data/vendor/bundle/ruby/2.6.0/specifications/rake-12.3.3.gemspec +9 -15
- data/vendor/bundle/ruby/2.6.0/specifications/rexml-3.2.5.gemspec +7 -11
- data/vendor/bundle/ruby/2.6.0/specifications/rspec-3.11.0.gemspec +7 -11
- data/vendor/bundle/ruby/2.6.0/specifications/rspec-core-3.11.0.gemspec +13 -23
- data/vendor/bundle/ruby/2.6.0/specifications/{rspec-expectations-3.11.0.gemspec → rspec-expectations-3.11.1.gemspec} +15 -22
- data/vendor/bundle/ruby/2.6.0/specifications/rspec-mocks-3.11.1.gemspec +10 -17
- data/vendor/bundle/ruby/2.6.0/specifications/{rspec-support-3.11.0.gemspec → rspec-support-3.11.1.gemspec} +11 -14
- data/vendor/bundle/ruby/2.6.0/specifications/sys-uname-1.2.2.gemspec +7 -11
- data/vendor/bundle/ruby/2.6.0/specifications/typhoeus-1.4.0.gemspec +5 -7
- data/vendor/bundle/ruby/2.6.0/specifications/vcr-3.0.3.gemspec +26 -49
- data/vendor/bundle/ruby/2.6.0/specifications/webmock-1.24.6.gemspec +19 -35
- metadata +284 -192
- data/vendor/bundle/ruby/2.6.0/cache/addressable-2.8.0.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/public_suffix-4.0.7.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/rspec-expectations-3.11.0.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/rspec-support-3.11.0.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/addressable-2.8.0/addressable.gemspec +0 -37
|
@@ -19,6 +19,231 @@ module CloudsmithApi
|
|
|
19
19
|
def initialize(api_client = ApiClient.default)
|
|
20
20
|
@api_client = api_client
|
|
21
21
|
end
|
|
22
|
+
# Create an organization invite for a specific user
|
|
23
|
+
# Create an organization invite for a specific user
|
|
24
|
+
# @param org
|
|
25
|
+
# @param [Hash] opts the optional parameters
|
|
26
|
+
# @option opts [OrgsInvitesCreate] :data
|
|
27
|
+
# @return [OrganizationInvite]
|
|
28
|
+
def orgs_invites_create(org, opts = {})
|
|
29
|
+
data, _status_code, _headers = orgs_invites_create_with_http_info(org, opts)
|
|
30
|
+
data
|
|
31
|
+
end
|
|
32
|
+
|
|
33
|
+
# Create an organization invite for a specific user
|
|
34
|
+
# Create an organization invite for a specific user
|
|
35
|
+
# @param org
|
|
36
|
+
# @param [Hash] opts the optional parameters
|
|
37
|
+
# @option opts [OrgsInvitesCreate] :data
|
|
38
|
+
# @return [Array<(OrganizationInvite, Fixnum, Hash)>] OrganizationInvite data, response status code and response headers
|
|
39
|
+
def orgs_invites_create_with_http_info(org, opts = {})
|
|
40
|
+
if @api_client.config.debugging
|
|
41
|
+
@api_client.config.logger.debug 'Calling API: OrgsApi.orgs_invites_create ...'
|
|
42
|
+
end
|
|
43
|
+
# verify the required parameter 'org' is set
|
|
44
|
+
if @api_client.config.client_side_validation && org.nil?
|
|
45
|
+
fail ArgumentError, "Missing the required parameter 'org' when calling OrgsApi.orgs_invites_create"
|
|
46
|
+
end
|
|
47
|
+
# resource path
|
|
48
|
+
local_var_path = '/orgs/{org}/invites/'.sub('{' + 'org' + '}', org.to_s)
|
|
49
|
+
|
|
50
|
+
# query parameters
|
|
51
|
+
query_params = {}
|
|
52
|
+
|
|
53
|
+
# header parameters
|
|
54
|
+
header_params = {}
|
|
55
|
+
# HTTP header 'Content-Type'
|
|
56
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
57
|
+
|
|
58
|
+
# form parameters
|
|
59
|
+
form_params = {}
|
|
60
|
+
|
|
61
|
+
# http body (model)
|
|
62
|
+
post_body = @api_client.object_to_http_body(opts[:'data'])
|
|
63
|
+
auth_names = ['apikey']
|
|
64
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
65
|
+
:header_params => header_params,
|
|
66
|
+
:query_params => query_params,
|
|
67
|
+
:form_params => form_params,
|
|
68
|
+
:body => post_body,
|
|
69
|
+
:auth_names => auth_names,
|
|
70
|
+
:return_type => 'OrganizationInvite')
|
|
71
|
+
if @api_client.config.debugging
|
|
72
|
+
@api_client.config.logger.debug "API called: OrgsApi#orgs_invites_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
73
|
+
end
|
|
74
|
+
return data, status_code, headers
|
|
75
|
+
end
|
|
76
|
+
# Delete a specific organization invite
|
|
77
|
+
# Delete a specific organization invite
|
|
78
|
+
# @param org
|
|
79
|
+
# @param slug_perm
|
|
80
|
+
# @param [Hash] opts the optional parameters
|
|
81
|
+
# @return [nil]
|
|
82
|
+
def orgs_invites_delete(org, slug_perm, opts = {})
|
|
83
|
+
orgs_invites_delete_with_http_info(org, slug_perm, opts)
|
|
84
|
+
nil
|
|
85
|
+
end
|
|
86
|
+
|
|
87
|
+
# Delete a specific organization invite
|
|
88
|
+
# Delete a specific organization invite
|
|
89
|
+
# @param org
|
|
90
|
+
# @param slug_perm
|
|
91
|
+
# @param [Hash] opts the optional parameters
|
|
92
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
93
|
+
def orgs_invites_delete_with_http_info(org, slug_perm, opts = {})
|
|
94
|
+
if @api_client.config.debugging
|
|
95
|
+
@api_client.config.logger.debug 'Calling API: OrgsApi.orgs_invites_delete ...'
|
|
96
|
+
end
|
|
97
|
+
# verify the required parameter 'org' is set
|
|
98
|
+
if @api_client.config.client_side_validation && org.nil?
|
|
99
|
+
fail ArgumentError, "Missing the required parameter 'org' when calling OrgsApi.orgs_invites_delete"
|
|
100
|
+
end
|
|
101
|
+
# verify the required parameter 'slug_perm' is set
|
|
102
|
+
if @api_client.config.client_side_validation && slug_perm.nil?
|
|
103
|
+
fail ArgumentError, "Missing the required parameter 'slug_perm' when calling OrgsApi.orgs_invites_delete"
|
|
104
|
+
end
|
|
105
|
+
# resource path
|
|
106
|
+
local_var_path = '/orgs/{org}/invites/{slug_perm}/'.sub('{' + 'org' + '}', org.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
|
|
107
|
+
|
|
108
|
+
# query parameters
|
|
109
|
+
query_params = {}
|
|
110
|
+
|
|
111
|
+
# header parameters
|
|
112
|
+
header_params = {}
|
|
113
|
+
|
|
114
|
+
# form parameters
|
|
115
|
+
form_params = {}
|
|
116
|
+
|
|
117
|
+
# http body (model)
|
|
118
|
+
post_body = nil
|
|
119
|
+
auth_names = ['apikey']
|
|
120
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
|
121
|
+
:header_params => header_params,
|
|
122
|
+
:query_params => query_params,
|
|
123
|
+
:form_params => form_params,
|
|
124
|
+
:body => post_body,
|
|
125
|
+
:auth_names => auth_names)
|
|
126
|
+
if @api_client.config.debugging
|
|
127
|
+
@api_client.config.logger.debug "API called: OrgsApi#orgs_invites_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
128
|
+
end
|
|
129
|
+
return data, status_code, headers
|
|
130
|
+
end
|
|
131
|
+
# Extend an organization invite.
|
|
132
|
+
# Extend an organization invite.
|
|
133
|
+
# @param org
|
|
134
|
+
# @param slug_perm
|
|
135
|
+
# @param [Hash] opts the optional parameters
|
|
136
|
+
# @option opts [OrgsInvitesExtend] :data
|
|
137
|
+
# @return [OrganizationInvite]
|
|
138
|
+
def orgs_invites_extend(org, slug_perm, opts = {})
|
|
139
|
+
data, _status_code, _headers = orgs_invites_extend_with_http_info(org, slug_perm, opts)
|
|
140
|
+
data
|
|
141
|
+
end
|
|
142
|
+
|
|
143
|
+
# Extend an organization invite.
|
|
144
|
+
# Extend an organization invite.
|
|
145
|
+
# @param org
|
|
146
|
+
# @param slug_perm
|
|
147
|
+
# @param [Hash] opts the optional parameters
|
|
148
|
+
# @option opts [OrgsInvitesExtend] :data
|
|
149
|
+
# @return [Array<(OrganizationInvite, Fixnum, Hash)>] OrganizationInvite data, response status code and response headers
|
|
150
|
+
def orgs_invites_extend_with_http_info(org, slug_perm, opts = {})
|
|
151
|
+
if @api_client.config.debugging
|
|
152
|
+
@api_client.config.logger.debug 'Calling API: OrgsApi.orgs_invites_extend ...'
|
|
153
|
+
end
|
|
154
|
+
# verify the required parameter 'org' is set
|
|
155
|
+
if @api_client.config.client_side_validation && org.nil?
|
|
156
|
+
fail ArgumentError, "Missing the required parameter 'org' when calling OrgsApi.orgs_invites_extend"
|
|
157
|
+
end
|
|
158
|
+
# verify the required parameter 'slug_perm' is set
|
|
159
|
+
if @api_client.config.client_side_validation && slug_perm.nil?
|
|
160
|
+
fail ArgumentError, "Missing the required parameter 'slug_perm' when calling OrgsApi.orgs_invites_extend"
|
|
161
|
+
end
|
|
162
|
+
# resource path
|
|
163
|
+
local_var_path = '/orgs/{org}/invites/{slug_perm}/extend/'.sub('{' + 'org' + '}', org.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
|
|
164
|
+
|
|
165
|
+
# query parameters
|
|
166
|
+
query_params = {}
|
|
167
|
+
|
|
168
|
+
# header parameters
|
|
169
|
+
header_params = {}
|
|
170
|
+
# HTTP header 'Content-Type'
|
|
171
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
172
|
+
|
|
173
|
+
# form parameters
|
|
174
|
+
form_params = {}
|
|
175
|
+
|
|
176
|
+
# http body (model)
|
|
177
|
+
post_body = @api_client.object_to_http_body(opts[:'data'])
|
|
178
|
+
auth_names = ['apikey']
|
|
179
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
180
|
+
:header_params => header_params,
|
|
181
|
+
:query_params => query_params,
|
|
182
|
+
:form_params => form_params,
|
|
183
|
+
:body => post_body,
|
|
184
|
+
:auth_names => auth_names,
|
|
185
|
+
:return_type => 'OrganizationInvite')
|
|
186
|
+
if @api_client.config.debugging
|
|
187
|
+
@api_client.config.logger.debug "API called: OrgsApi#orgs_invites_extend\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
188
|
+
end
|
|
189
|
+
return data, status_code, headers
|
|
190
|
+
end
|
|
191
|
+
# Get a list of all invites for an organization.
|
|
192
|
+
# Get a list of all invites for an organization.
|
|
193
|
+
# @param org
|
|
194
|
+
# @param [Hash] opts the optional parameters
|
|
195
|
+
# @option opts [Integer] :page A page number within the paginated result set.
|
|
196
|
+
# @option opts [Integer] :page_size Number of results to return per page.
|
|
197
|
+
# @return [Array<OrganizationInvite>]
|
|
198
|
+
def orgs_invites_list(org, opts = {})
|
|
199
|
+
data, _status_code, _headers = orgs_invites_list_with_http_info(org, opts)
|
|
200
|
+
data
|
|
201
|
+
end
|
|
202
|
+
|
|
203
|
+
# Get a list of all invites for an organization.
|
|
204
|
+
# Get a list of all invites for an organization.
|
|
205
|
+
# @param org
|
|
206
|
+
# @param [Hash] opts the optional parameters
|
|
207
|
+
# @option opts [Integer] :page A page number within the paginated result set.
|
|
208
|
+
# @option opts [Integer] :page_size Number of results to return per page.
|
|
209
|
+
# @return [Array<(Array<OrganizationInvite>, Fixnum, Hash)>] Array<OrganizationInvite> data, response status code and response headers
|
|
210
|
+
def orgs_invites_list_with_http_info(org, opts = {})
|
|
211
|
+
if @api_client.config.debugging
|
|
212
|
+
@api_client.config.logger.debug 'Calling API: OrgsApi.orgs_invites_list ...'
|
|
213
|
+
end
|
|
214
|
+
# verify the required parameter 'org' is set
|
|
215
|
+
if @api_client.config.client_side_validation && org.nil?
|
|
216
|
+
fail ArgumentError, "Missing the required parameter 'org' when calling OrgsApi.orgs_invites_list"
|
|
217
|
+
end
|
|
218
|
+
# resource path
|
|
219
|
+
local_var_path = '/orgs/{org}/invites/'.sub('{' + 'org' + '}', org.to_s)
|
|
220
|
+
|
|
221
|
+
# query parameters
|
|
222
|
+
query_params = {}
|
|
223
|
+
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
|
224
|
+
query_params[:'page_size'] = opts[:'page_size'] if !opts[:'page_size'].nil?
|
|
225
|
+
|
|
226
|
+
# header parameters
|
|
227
|
+
header_params = {}
|
|
228
|
+
|
|
229
|
+
# form parameters
|
|
230
|
+
form_params = {}
|
|
231
|
+
|
|
232
|
+
# http body (model)
|
|
233
|
+
post_body = nil
|
|
234
|
+
auth_names = ['apikey']
|
|
235
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
236
|
+
:header_params => header_params,
|
|
237
|
+
:query_params => query_params,
|
|
238
|
+
:form_params => form_params,
|
|
239
|
+
:body => post_body,
|
|
240
|
+
:auth_names => auth_names,
|
|
241
|
+
:return_type => 'Array<OrganizationInvite>')
|
|
242
|
+
if @api_client.config.debugging
|
|
243
|
+
@api_client.config.logger.debug "API called: OrgsApi#orgs_invites_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
244
|
+
end
|
|
245
|
+
return data, status_code, headers
|
|
246
|
+
end
|
|
22
247
|
# Get a list of all the organizations you are associated with.
|
|
23
248
|
# Get a list of all the organizations you are associated with.
|
|
24
249
|
# @param [Hash] opts the optional parameters
|
|
@@ -69,6 +294,61 @@ module CloudsmithApi
|
|
|
69
294
|
end
|
|
70
295
|
return data, status_code, headers
|
|
71
296
|
end
|
|
297
|
+
# Removes a member from the organization.
|
|
298
|
+
# Removes a member from the organization.
|
|
299
|
+
# @param org
|
|
300
|
+
# @param member
|
|
301
|
+
# @param [Hash] opts the optional parameters
|
|
302
|
+
# @return [nil]
|
|
303
|
+
def orgs_members_delete(org, member, opts = {})
|
|
304
|
+
orgs_members_delete_with_http_info(org, member, opts)
|
|
305
|
+
nil
|
|
306
|
+
end
|
|
307
|
+
|
|
308
|
+
# Removes a member from the organization.
|
|
309
|
+
# Removes a member from the organization.
|
|
310
|
+
# @param org
|
|
311
|
+
# @param member
|
|
312
|
+
# @param [Hash] opts the optional parameters
|
|
313
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
314
|
+
def orgs_members_delete_with_http_info(org, member, opts = {})
|
|
315
|
+
if @api_client.config.debugging
|
|
316
|
+
@api_client.config.logger.debug 'Calling API: OrgsApi.orgs_members_delete ...'
|
|
317
|
+
end
|
|
318
|
+
# verify the required parameter 'org' is set
|
|
319
|
+
if @api_client.config.client_side_validation && org.nil?
|
|
320
|
+
fail ArgumentError, "Missing the required parameter 'org' when calling OrgsApi.orgs_members_delete"
|
|
321
|
+
end
|
|
322
|
+
# verify the required parameter 'member' is set
|
|
323
|
+
if @api_client.config.client_side_validation && member.nil?
|
|
324
|
+
fail ArgumentError, "Missing the required parameter 'member' when calling OrgsApi.orgs_members_delete"
|
|
325
|
+
end
|
|
326
|
+
# resource path
|
|
327
|
+
local_var_path = '/orgs/{org}/members/{member}/'.sub('{' + 'org' + '}', org.to_s).sub('{' + 'member' + '}', member.to_s)
|
|
328
|
+
|
|
329
|
+
# query parameters
|
|
330
|
+
query_params = {}
|
|
331
|
+
|
|
332
|
+
# header parameters
|
|
333
|
+
header_params = {}
|
|
334
|
+
|
|
335
|
+
# form parameters
|
|
336
|
+
form_params = {}
|
|
337
|
+
|
|
338
|
+
# http body (model)
|
|
339
|
+
post_body = nil
|
|
340
|
+
auth_names = ['apikey']
|
|
341
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
|
342
|
+
:header_params => header_params,
|
|
343
|
+
:query_params => query_params,
|
|
344
|
+
:form_params => form_params,
|
|
345
|
+
:body => post_body,
|
|
346
|
+
:auth_names => auth_names)
|
|
347
|
+
if @api_client.config.debugging
|
|
348
|
+
@api_client.config.logger.debug "API called: OrgsApi#orgs_members_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
349
|
+
end
|
|
350
|
+
return data, status_code, headers
|
|
351
|
+
end
|
|
72
352
|
# Get the details for all organization members.
|
|
73
353
|
# Get the details for all organization members.
|
|
74
354
|
# @param org
|
|
@@ -181,23 +461,23 @@ module CloudsmithApi
|
|
|
181
461
|
end
|
|
182
462
|
return data, status_code, headers
|
|
183
463
|
end
|
|
184
|
-
# Removes a member from the organization.
|
|
185
|
-
# Removes a member from the organization.
|
|
464
|
+
# Removes a member from the organization (deprecated, use DELETE instead).
|
|
465
|
+
# Removes a member from the organization (deprecated, use DELETE instead).
|
|
186
466
|
# @param org
|
|
187
467
|
# @param member
|
|
188
468
|
# @param [Hash] opts the optional parameters
|
|
189
|
-
# @return [
|
|
469
|
+
# @return [nil]
|
|
190
470
|
def orgs_members_remove(org, member, opts = {})
|
|
191
|
-
|
|
192
|
-
|
|
471
|
+
orgs_members_remove_with_http_info(org, member, opts)
|
|
472
|
+
nil
|
|
193
473
|
end
|
|
194
474
|
|
|
195
|
-
# Removes a member from the organization.
|
|
196
|
-
# Removes a member from the organization.
|
|
475
|
+
# Removes a member from the organization (deprecated, use DELETE instead).
|
|
476
|
+
# Removes a member from the organization (deprecated, use DELETE instead).
|
|
197
477
|
# @param org
|
|
198
478
|
# @param member
|
|
199
479
|
# @param [Hash] opts the optional parameters
|
|
200
|
-
# @return [Array<(
|
|
480
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
201
481
|
def orgs_members_remove_with_http_info(org, member, opts = {})
|
|
202
482
|
if @api_client.config.debugging
|
|
203
483
|
@api_client.config.logger.debug 'Calling API: OrgsApi.orgs_members_remove ...'
|
|
@@ -230,8 +510,7 @@ module CloudsmithApi
|
|
|
230
510
|
:query_params => query_params,
|
|
231
511
|
:form_params => form_params,
|
|
232
512
|
:body => post_body,
|
|
233
|
-
:auth_names => auth_names
|
|
234
|
-
:return_type => 'OrganizationMembership')
|
|
513
|
+
:auth_names => auth_names)
|
|
235
514
|
if @api_client.config.debugging
|
|
236
515
|
@api_client.config.logger.debug "API called: OrgsApi#orgs_members_remove\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
237
516
|
end
|
|
@@ -287,5 +566,626 @@ module CloudsmithApi
|
|
|
287
566
|
end
|
|
288
567
|
return data, status_code, headers
|
|
289
568
|
end
|
|
569
|
+
# Create a new SAML Group Sync mapping within an organization.
|
|
570
|
+
# Create a new SAML Group Sync mapping within an organization.
|
|
571
|
+
# @param org
|
|
572
|
+
# @param [Hash] opts the optional parameters
|
|
573
|
+
# @option opts [OrgsSamlgroupsyncCreate] :data
|
|
574
|
+
# @return [OrganizationGroupSync]
|
|
575
|
+
def orgs_saml_group_sync_create(org, opts = {})
|
|
576
|
+
data, _status_code, _headers = orgs_saml_group_sync_create_with_http_info(org, opts)
|
|
577
|
+
data
|
|
578
|
+
end
|
|
579
|
+
|
|
580
|
+
# Create a new SAML Group Sync mapping within an organization.
|
|
581
|
+
# Create a new SAML Group Sync mapping within an organization.
|
|
582
|
+
# @param org
|
|
583
|
+
# @param [Hash] opts the optional parameters
|
|
584
|
+
# @option opts [OrgsSamlgroupsyncCreate] :data
|
|
585
|
+
# @return [Array<(OrganizationGroupSync, Fixnum, Hash)>] OrganizationGroupSync data, response status code and response headers
|
|
586
|
+
def orgs_saml_group_sync_create_with_http_info(org, opts = {})
|
|
587
|
+
if @api_client.config.debugging
|
|
588
|
+
@api_client.config.logger.debug 'Calling API: OrgsApi.orgs_saml_group_sync_create ...'
|
|
589
|
+
end
|
|
590
|
+
# verify the required parameter 'org' is set
|
|
591
|
+
if @api_client.config.client_side_validation && org.nil?
|
|
592
|
+
fail ArgumentError, "Missing the required parameter 'org' when calling OrgsApi.orgs_saml_group_sync_create"
|
|
593
|
+
end
|
|
594
|
+
# resource path
|
|
595
|
+
local_var_path = '/orgs/{org}/saml-group-sync/'.sub('{' + 'org' + '}', org.to_s)
|
|
596
|
+
|
|
597
|
+
# query parameters
|
|
598
|
+
query_params = {}
|
|
599
|
+
|
|
600
|
+
# header parameters
|
|
601
|
+
header_params = {}
|
|
602
|
+
# HTTP header 'Content-Type'
|
|
603
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
604
|
+
|
|
605
|
+
# form parameters
|
|
606
|
+
form_params = {}
|
|
607
|
+
|
|
608
|
+
# http body (model)
|
|
609
|
+
post_body = @api_client.object_to_http_body(opts[:'data'])
|
|
610
|
+
auth_names = ['apikey']
|
|
611
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
612
|
+
:header_params => header_params,
|
|
613
|
+
:query_params => query_params,
|
|
614
|
+
:form_params => form_params,
|
|
615
|
+
:body => post_body,
|
|
616
|
+
:auth_names => auth_names,
|
|
617
|
+
:return_type => 'OrganizationGroupSync')
|
|
618
|
+
if @api_client.config.debugging
|
|
619
|
+
@api_client.config.logger.debug "API called: OrgsApi#orgs_saml_group_sync_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
620
|
+
end
|
|
621
|
+
return data, status_code, headers
|
|
622
|
+
end
|
|
623
|
+
# Delete a SAML Group Sync mapping from an organization.
|
|
624
|
+
# Delete a SAML Group Sync mapping from an organization.
|
|
625
|
+
# @param org
|
|
626
|
+
# @param slug_perm
|
|
627
|
+
# @param [Hash] opts the optional parameters
|
|
628
|
+
# @return [nil]
|
|
629
|
+
def orgs_saml_group_sync_delete(org, slug_perm, opts = {})
|
|
630
|
+
orgs_saml_group_sync_delete_with_http_info(org, slug_perm, opts)
|
|
631
|
+
nil
|
|
632
|
+
end
|
|
633
|
+
|
|
634
|
+
# Delete a SAML Group Sync mapping from an organization.
|
|
635
|
+
# Delete a SAML Group Sync mapping from an organization.
|
|
636
|
+
# @param org
|
|
637
|
+
# @param slug_perm
|
|
638
|
+
# @param [Hash] opts the optional parameters
|
|
639
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
640
|
+
def orgs_saml_group_sync_delete_with_http_info(org, slug_perm, opts = {})
|
|
641
|
+
if @api_client.config.debugging
|
|
642
|
+
@api_client.config.logger.debug 'Calling API: OrgsApi.orgs_saml_group_sync_delete ...'
|
|
643
|
+
end
|
|
644
|
+
# verify the required parameter 'org' is set
|
|
645
|
+
if @api_client.config.client_side_validation && org.nil?
|
|
646
|
+
fail ArgumentError, "Missing the required parameter 'org' when calling OrgsApi.orgs_saml_group_sync_delete"
|
|
647
|
+
end
|
|
648
|
+
# verify the required parameter 'slug_perm' is set
|
|
649
|
+
if @api_client.config.client_side_validation && slug_perm.nil?
|
|
650
|
+
fail ArgumentError, "Missing the required parameter 'slug_perm' when calling OrgsApi.orgs_saml_group_sync_delete"
|
|
651
|
+
end
|
|
652
|
+
# resource path
|
|
653
|
+
local_var_path = '/orgs/{org}/saml-group-sync/{slug_perm}/'.sub('{' + 'org' + '}', org.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
|
|
654
|
+
|
|
655
|
+
# query parameters
|
|
656
|
+
query_params = {}
|
|
657
|
+
|
|
658
|
+
# header parameters
|
|
659
|
+
header_params = {}
|
|
660
|
+
|
|
661
|
+
# form parameters
|
|
662
|
+
form_params = {}
|
|
663
|
+
|
|
664
|
+
# http body (model)
|
|
665
|
+
post_body = nil
|
|
666
|
+
auth_names = ['apikey']
|
|
667
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
|
668
|
+
:header_params => header_params,
|
|
669
|
+
:query_params => query_params,
|
|
670
|
+
:form_params => form_params,
|
|
671
|
+
:body => post_body,
|
|
672
|
+
:auth_names => auth_names)
|
|
673
|
+
if @api_client.config.debugging
|
|
674
|
+
@api_client.config.logger.debug "API called: OrgsApi#orgs_saml_group_sync_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
675
|
+
end
|
|
676
|
+
return data, status_code, headers
|
|
677
|
+
end
|
|
678
|
+
# Get the details of all SAML Group Sync mapping within an organization.
|
|
679
|
+
# Get the details of all SAML Group Sync mapping within an organization.
|
|
680
|
+
# @param org
|
|
681
|
+
# @param [Hash] opts the optional parameters
|
|
682
|
+
# @option opts [Integer] :page A page number within the paginated result set.
|
|
683
|
+
# @option opts [Integer] :page_size Number of results to return per page.
|
|
684
|
+
# @return [Array<OrganizationGroupSync>]
|
|
685
|
+
def orgs_saml_group_sync_list(org, opts = {})
|
|
686
|
+
data, _status_code, _headers = orgs_saml_group_sync_list_with_http_info(org, opts)
|
|
687
|
+
data
|
|
688
|
+
end
|
|
689
|
+
|
|
690
|
+
# Get the details of all SAML Group Sync mapping within an organization.
|
|
691
|
+
# Get the details of all SAML Group Sync mapping within an organization.
|
|
692
|
+
# @param org
|
|
693
|
+
# @param [Hash] opts the optional parameters
|
|
694
|
+
# @option opts [Integer] :page A page number within the paginated result set.
|
|
695
|
+
# @option opts [Integer] :page_size Number of results to return per page.
|
|
696
|
+
# @return [Array<(Array<OrganizationGroupSync>, Fixnum, Hash)>] Array<OrganizationGroupSync> data, response status code and response headers
|
|
697
|
+
def orgs_saml_group_sync_list_with_http_info(org, opts = {})
|
|
698
|
+
if @api_client.config.debugging
|
|
699
|
+
@api_client.config.logger.debug 'Calling API: OrgsApi.orgs_saml_group_sync_list ...'
|
|
700
|
+
end
|
|
701
|
+
# verify the required parameter 'org' is set
|
|
702
|
+
if @api_client.config.client_side_validation && org.nil?
|
|
703
|
+
fail ArgumentError, "Missing the required parameter 'org' when calling OrgsApi.orgs_saml_group_sync_list"
|
|
704
|
+
end
|
|
705
|
+
# resource path
|
|
706
|
+
local_var_path = '/orgs/{org}/saml-group-sync/'.sub('{' + 'org' + '}', org.to_s)
|
|
707
|
+
|
|
708
|
+
# query parameters
|
|
709
|
+
query_params = {}
|
|
710
|
+
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
|
711
|
+
query_params[:'page_size'] = opts[:'page_size'] if !opts[:'page_size'].nil?
|
|
712
|
+
|
|
713
|
+
# header parameters
|
|
714
|
+
header_params = {}
|
|
715
|
+
|
|
716
|
+
# form parameters
|
|
717
|
+
form_params = {}
|
|
718
|
+
|
|
719
|
+
# http body (model)
|
|
720
|
+
post_body = nil
|
|
721
|
+
auth_names = ['apikey']
|
|
722
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
723
|
+
:header_params => header_params,
|
|
724
|
+
:query_params => query_params,
|
|
725
|
+
:form_params => form_params,
|
|
726
|
+
:body => post_body,
|
|
727
|
+
:auth_names => auth_names,
|
|
728
|
+
:return_type => 'Array<OrganizationGroupSync>')
|
|
729
|
+
if @api_client.config.debugging
|
|
730
|
+
@api_client.config.logger.debug "API called: OrgsApi#orgs_saml_group_sync_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
731
|
+
end
|
|
732
|
+
return data, status_code, headers
|
|
733
|
+
end
|
|
734
|
+
# Create a team for this organization.
|
|
735
|
+
# Create a team for this organization.
|
|
736
|
+
# @param org
|
|
737
|
+
# @param [Hash] opts the optional parameters
|
|
738
|
+
# @option opts [OrgsTeamsCreate] :data
|
|
739
|
+
# @return [OrganizationTeam]
|
|
740
|
+
def orgs_teams_create(org, opts = {})
|
|
741
|
+
data, _status_code, _headers = orgs_teams_create_with_http_info(org, opts)
|
|
742
|
+
data
|
|
743
|
+
end
|
|
744
|
+
|
|
745
|
+
# Create a team for this organization.
|
|
746
|
+
# Create a team for this organization.
|
|
747
|
+
# @param org
|
|
748
|
+
# @param [Hash] opts the optional parameters
|
|
749
|
+
# @option opts [OrgsTeamsCreate] :data
|
|
750
|
+
# @return [Array<(OrganizationTeam, Fixnum, Hash)>] OrganizationTeam data, response status code and response headers
|
|
751
|
+
def orgs_teams_create_with_http_info(org, opts = {})
|
|
752
|
+
if @api_client.config.debugging
|
|
753
|
+
@api_client.config.logger.debug 'Calling API: OrgsApi.orgs_teams_create ...'
|
|
754
|
+
end
|
|
755
|
+
# verify the required parameter 'org' is set
|
|
756
|
+
if @api_client.config.client_side_validation && org.nil?
|
|
757
|
+
fail ArgumentError, "Missing the required parameter 'org' when calling OrgsApi.orgs_teams_create"
|
|
758
|
+
end
|
|
759
|
+
# resource path
|
|
760
|
+
local_var_path = '/orgs/{org}/teams/'.sub('{' + 'org' + '}', org.to_s)
|
|
761
|
+
|
|
762
|
+
# query parameters
|
|
763
|
+
query_params = {}
|
|
764
|
+
|
|
765
|
+
# header parameters
|
|
766
|
+
header_params = {}
|
|
767
|
+
# HTTP header 'Content-Type'
|
|
768
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
769
|
+
|
|
770
|
+
# form parameters
|
|
771
|
+
form_params = {}
|
|
772
|
+
|
|
773
|
+
# http body (model)
|
|
774
|
+
post_body = @api_client.object_to_http_body(opts[:'data'])
|
|
775
|
+
auth_names = ['apikey']
|
|
776
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
777
|
+
:header_params => header_params,
|
|
778
|
+
:query_params => query_params,
|
|
779
|
+
:form_params => form_params,
|
|
780
|
+
:body => post_body,
|
|
781
|
+
:auth_names => auth_names,
|
|
782
|
+
:return_type => 'OrganizationTeam')
|
|
783
|
+
if @api_client.config.debugging
|
|
784
|
+
@api_client.config.logger.debug "API called: OrgsApi#orgs_teams_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
785
|
+
end
|
|
786
|
+
return data, status_code, headers
|
|
787
|
+
end
|
|
788
|
+
# Delete a specific team in a organization.
|
|
789
|
+
# Delete a specific team in a organization.
|
|
790
|
+
# @param org
|
|
791
|
+
# @param team
|
|
792
|
+
# @param [Hash] opts the optional parameters
|
|
793
|
+
# @return [nil]
|
|
794
|
+
def orgs_teams_delete(org, team, opts = {})
|
|
795
|
+
orgs_teams_delete_with_http_info(org, team, opts)
|
|
796
|
+
nil
|
|
797
|
+
end
|
|
798
|
+
|
|
799
|
+
# Delete a specific team in a organization.
|
|
800
|
+
# Delete a specific team in a organization.
|
|
801
|
+
# @param org
|
|
802
|
+
# @param team
|
|
803
|
+
# @param [Hash] opts the optional parameters
|
|
804
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
805
|
+
def orgs_teams_delete_with_http_info(org, team, opts = {})
|
|
806
|
+
if @api_client.config.debugging
|
|
807
|
+
@api_client.config.logger.debug 'Calling API: OrgsApi.orgs_teams_delete ...'
|
|
808
|
+
end
|
|
809
|
+
# verify the required parameter 'org' is set
|
|
810
|
+
if @api_client.config.client_side_validation && org.nil?
|
|
811
|
+
fail ArgumentError, "Missing the required parameter 'org' when calling OrgsApi.orgs_teams_delete"
|
|
812
|
+
end
|
|
813
|
+
# verify the required parameter 'team' is set
|
|
814
|
+
if @api_client.config.client_side_validation && team.nil?
|
|
815
|
+
fail ArgumentError, "Missing the required parameter 'team' when calling OrgsApi.orgs_teams_delete"
|
|
816
|
+
end
|
|
817
|
+
# resource path
|
|
818
|
+
local_var_path = '/orgs/{org}/teams/{team}/'.sub('{' + 'org' + '}', org.to_s).sub('{' + 'team' + '}', team.to_s)
|
|
819
|
+
|
|
820
|
+
# query parameters
|
|
821
|
+
query_params = {}
|
|
822
|
+
|
|
823
|
+
# header parameters
|
|
824
|
+
header_params = {}
|
|
825
|
+
|
|
826
|
+
# form parameters
|
|
827
|
+
form_params = {}
|
|
828
|
+
|
|
829
|
+
# http body (model)
|
|
830
|
+
post_body = nil
|
|
831
|
+
auth_names = ['apikey']
|
|
832
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
|
833
|
+
:header_params => header_params,
|
|
834
|
+
:query_params => query_params,
|
|
835
|
+
:form_params => form_params,
|
|
836
|
+
:body => post_body,
|
|
837
|
+
:auth_names => auth_names)
|
|
838
|
+
if @api_client.config.debugging
|
|
839
|
+
@api_client.config.logger.debug "API called: OrgsApi#orgs_teams_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
840
|
+
end
|
|
841
|
+
return data, status_code, headers
|
|
842
|
+
end
|
|
843
|
+
# Get the details of all teams within an organization.
|
|
844
|
+
# Get the details of all teams within an organization.
|
|
845
|
+
# @param org
|
|
846
|
+
# @param [Hash] opts the optional parameters
|
|
847
|
+
# @option opts [Integer] :page A page number within the paginated result set.
|
|
848
|
+
# @option opts [Integer] :page_size Number of results to return per page.
|
|
849
|
+
# @return [Array<OrganizationTeam>]
|
|
850
|
+
def orgs_teams_list(org, opts = {})
|
|
851
|
+
data, _status_code, _headers = orgs_teams_list_with_http_info(org, opts)
|
|
852
|
+
data
|
|
853
|
+
end
|
|
854
|
+
|
|
855
|
+
# Get the details of all teams within an organization.
|
|
856
|
+
# Get the details of all teams within an organization.
|
|
857
|
+
# @param org
|
|
858
|
+
# @param [Hash] opts the optional parameters
|
|
859
|
+
# @option opts [Integer] :page A page number within the paginated result set.
|
|
860
|
+
# @option opts [Integer] :page_size Number of results to return per page.
|
|
861
|
+
# @return [Array<(Array<OrganizationTeam>, Fixnum, Hash)>] Array<OrganizationTeam> data, response status code and response headers
|
|
862
|
+
def orgs_teams_list_with_http_info(org, opts = {})
|
|
863
|
+
if @api_client.config.debugging
|
|
864
|
+
@api_client.config.logger.debug 'Calling API: OrgsApi.orgs_teams_list ...'
|
|
865
|
+
end
|
|
866
|
+
# verify the required parameter 'org' is set
|
|
867
|
+
if @api_client.config.client_side_validation && org.nil?
|
|
868
|
+
fail ArgumentError, "Missing the required parameter 'org' when calling OrgsApi.orgs_teams_list"
|
|
869
|
+
end
|
|
870
|
+
# resource path
|
|
871
|
+
local_var_path = '/orgs/{org}/teams/'.sub('{' + 'org' + '}', org.to_s)
|
|
872
|
+
|
|
873
|
+
# query parameters
|
|
874
|
+
query_params = {}
|
|
875
|
+
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
|
876
|
+
query_params[:'page_size'] = opts[:'page_size'] if !opts[:'page_size'].nil?
|
|
877
|
+
|
|
878
|
+
# header parameters
|
|
879
|
+
header_params = {}
|
|
880
|
+
|
|
881
|
+
# form parameters
|
|
882
|
+
form_params = {}
|
|
883
|
+
|
|
884
|
+
# http body (model)
|
|
885
|
+
post_body = nil
|
|
886
|
+
auth_names = ['apikey']
|
|
887
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
888
|
+
:header_params => header_params,
|
|
889
|
+
:query_params => query_params,
|
|
890
|
+
:form_params => form_params,
|
|
891
|
+
:body => post_body,
|
|
892
|
+
:auth_names => auth_names,
|
|
893
|
+
:return_type => 'Array<OrganizationTeam>')
|
|
894
|
+
if @api_client.config.debugging
|
|
895
|
+
@api_client.config.logger.debug "API called: OrgsApi#orgs_teams_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
896
|
+
end
|
|
897
|
+
return data, status_code, headers
|
|
898
|
+
end
|
|
899
|
+
# Add users to a team.
|
|
900
|
+
# Add users to a team.
|
|
901
|
+
# @param org
|
|
902
|
+
# @param team
|
|
903
|
+
# @param [Hash] opts the optional parameters
|
|
904
|
+
# @option opts [OrgsTeamsMembersCreate] :data
|
|
905
|
+
# @return [OrganizationTeamMembers]
|
|
906
|
+
def orgs_teams_members_create(org, team, opts = {})
|
|
907
|
+
data, _status_code, _headers = orgs_teams_members_create_with_http_info(org, team, opts)
|
|
908
|
+
data
|
|
909
|
+
end
|
|
910
|
+
|
|
911
|
+
# Add users to a team.
|
|
912
|
+
# Add users to a team.
|
|
913
|
+
# @param org
|
|
914
|
+
# @param team
|
|
915
|
+
# @param [Hash] opts the optional parameters
|
|
916
|
+
# @option opts [OrgsTeamsMembersCreate] :data
|
|
917
|
+
# @return [Array<(OrganizationTeamMembers, Fixnum, Hash)>] OrganizationTeamMembers data, response status code and response headers
|
|
918
|
+
def orgs_teams_members_create_with_http_info(org, team, opts = {})
|
|
919
|
+
if @api_client.config.debugging
|
|
920
|
+
@api_client.config.logger.debug 'Calling API: OrgsApi.orgs_teams_members_create ...'
|
|
921
|
+
end
|
|
922
|
+
# verify the required parameter 'org' is set
|
|
923
|
+
if @api_client.config.client_side_validation && org.nil?
|
|
924
|
+
fail ArgumentError, "Missing the required parameter 'org' when calling OrgsApi.orgs_teams_members_create"
|
|
925
|
+
end
|
|
926
|
+
# verify the required parameter 'team' is set
|
|
927
|
+
if @api_client.config.client_side_validation && team.nil?
|
|
928
|
+
fail ArgumentError, "Missing the required parameter 'team' when calling OrgsApi.orgs_teams_members_create"
|
|
929
|
+
end
|
|
930
|
+
# resource path
|
|
931
|
+
local_var_path = '/orgs/{org}/teams/{team}/members'.sub('{' + 'org' + '}', org.to_s).sub('{' + 'team' + '}', team.to_s)
|
|
932
|
+
|
|
933
|
+
# query parameters
|
|
934
|
+
query_params = {}
|
|
935
|
+
|
|
936
|
+
# header parameters
|
|
937
|
+
header_params = {}
|
|
938
|
+
# HTTP header 'Content-Type'
|
|
939
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
940
|
+
|
|
941
|
+
# form parameters
|
|
942
|
+
form_params = {}
|
|
943
|
+
|
|
944
|
+
# http body (model)
|
|
945
|
+
post_body = @api_client.object_to_http_body(opts[:'data'])
|
|
946
|
+
auth_names = ['apikey']
|
|
947
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
948
|
+
:header_params => header_params,
|
|
949
|
+
:query_params => query_params,
|
|
950
|
+
:form_params => form_params,
|
|
951
|
+
:body => post_body,
|
|
952
|
+
:auth_names => auth_names,
|
|
953
|
+
:return_type => 'OrganizationTeamMembers')
|
|
954
|
+
if @api_client.config.debugging
|
|
955
|
+
@api_client.config.logger.debug "API called: OrgsApi#orgs_teams_members_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
956
|
+
end
|
|
957
|
+
return data, status_code, headers
|
|
958
|
+
end
|
|
959
|
+
# List all members for the team.
|
|
960
|
+
# List all members for the team.
|
|
961
|
+
# @param org
|
|
962
|
+
# @param team
|
|
963
|
+
# @param [Hash] opts the optional parameters
|
|
964
|
+
# @return [OrganizationTeamMembers]
|
|
965
|
+
def orgs_teams_members_list(org, team, opts = {})
|
|
966
|
+
data, _status_code, _headers = orgs_teams_members_list_with_http_info(org, team, opts)
|
|
967
|
+
data
|
|
968
|
+
end
|
|
969
|
+
|
|
970
|
+
# List all members for the team.
|
|
971
|
+
# List all members for the team.
|
|
972
|
+
# @param org
|
|
973
|
+
# @param team
|
|
974
|
+
# @param [Hash] opts the optional parameters
|
|
975
|
+
# @return [Array<(OrganizationTeamMembers, Fixnum, Hash)>] OrganizationTeamMembers data, response status code and response headers
|
|
976
|
+
def orgs_teams_members_list_with_http_info(org, team, opts = {})
|
|
977
|
+
if @api_client.config.debugging
|
|
978
|
+
@api_client.config.logger.debug 'Calling API: OrgsApi.orgs_teams_members_list ...'
|
|
979
|
+
end
|
|
980
|
+
# verify the required parameter 'org' is set
|
|
981
|
+
if @api_client.config.client_side_validation && org.nil?
|
|
982
|
+
fail ArgumentError, "Missing the required parameter 'org' when calling OrgsApi.orgs_teams_members_list"
|
|
983
|
+
end
|
|
984
|
+
# verify the required parameter 'team' is set
|
|
985
|
+
if @api_client.config.client_side_validation && team.nil?
|
|
986
|
+
fail ArgumentError, "Missing the required parameter 'team' when calling OrgsApi.orgs_teams_members_list"
|
|
987
|
+
end
|
|
988
|
+
# resource path
|
|
989
|
+
local_var_path = '/orgs/{org}/teams/{team}/members'.sub('{' + 'org' + '}', org.to_s).sub('{' + 'team' + '}', team.to_s)
|
|
990
|
+
|
|
991
|
+
# query parameters
|
|
992
|
+
query_params = {}
|
|
993
|
+
|
|
994
|
+
# header parameters
|
|
995
|
+
header_params = {}
|
|
996
|
+
|
|
997
|
+
# form parameters
|
|
998
|
+
form_params = {}
|
|
999
|
+
|
|
1000
|
+
# http body (model)
|
|
1001
|
+
post_body = nil
|
|
1002
|
+
auth_names = ['apikey']
|
|
1003
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
1004
|
+
:header_params => header_params,
|
|
1005
|
+
:query_params => query_params,
|
|
1006
|
+
:form_params => form_params,
|
|
1007
|
+
:body => post_body,
|
|
1008
|
+
:auth_names => auth_names,
|
|
1009
|
+
:return_type => 'OrganizationTeamMembers')
|
|
1010
|
+
if @api_client.config.debugging
|
|
1011
|
+
@api_client.config.logger.debug "API called: OrgsApi#orgs_teams_members_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1012
|
+
end
|
|
1013
|
+
return data, status_code, headers
|
|
1014
|
+
end
|
|
1015
|
+
# Replace all team members.
|
|
1016
|
+
# Replace all team members.
|
|
1017
|
+
# @param org
|
|
1018
|
+
# @param team
|
|
1019
|
+
# @param [Hash] opts the optional parameters
|
|
1020
|
+
# @option opts [OrgsTeamsMembersUpdate] :data
|
|
1021
|
+
# @return [nil]
|
|
1022
|
+
def orgs_teams_members_update(org, team, opts = {})
|
|
1023
|
+
orgs_teams_members_update_with_http_info(org, team, opts)
|
|
1024
|
+
nil
|
|
1025
|
+
end
|
|
1026
|
+
|
|
1027
|
+
# Replace all team members.
|
|
1028
|
+
# Replace all team members.
|
|
1029
|
+
# @param org
|
|
1030
|
+
# @param team
|
|
1031
|
+
# @param [Hash] opts the optional parameters
|
|
1032
|
+
# @option opts [OrgsTeamsMembersUpdate] :data
|
|
1033
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
1034
|
+
def orgs_teams_members_update_with_http_info(org, team, opts = {})
|
|
1035
|
+
if @api_client.config.debugging
|
|
1036
|
+
@api_client.config.logger.debug 'Calling API: OrgsApi.orgs_teams_members_update ...'
|
|
1037
|
+
end
|
|
1038
|
+
# verify the required parameter 'org' is set
|
|
1039
|
+
if @api_client.config.client_side_validation && org.nil?
|
|
1040
|
+
fail ArgumentError, "Missing the required parameter 'org' when calling OrgsApi.orgs_teams_members_update"
|
|
1041
|
+
end
|
|
1042
|
+
# verify the required parameter 'team' is set
|
|
1043
|
+
if @api_client.config.client_side_validation && team.nil?
|
|
1044
|
+
fail ArgumentError, "Missing the required parameter 'team' when calling OrgsApi.orgs_teams_members_update"
|
|
1045
|
+
end
|
|
1046
|
+
# resource path
|
|
1047
|
+
local_var_path = '/orgs/{org}/teams/{team}/members'.sub('{' + 'org' + '}', org.to_s).sub('{' + 'team' + '}', team.to_s)
|
|
1048
|
+
|
|
1049
|
+
# query parameters
|
|
1050
|
+
query_params = {}
|
|
1051
|
+
|
|
1052
|
+
# header parameters
|
|
1053
|
+
header_params = {}
|
|
1054
|
+
# HTTP header 'Content-Type'
|
|
1055
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
1056
|
+
|
|
1057
|
+
# form parameters
|
|
1058
|
+
form_params = {}
|
|
1059
|
+
|
|
1060
|
+
# http body (model)
|
|
1061
|
+
post_body = @api_client.object_to_http_body(opts[:'data'])
|
|
1062
|
+
auth_names = ['apikey']
|
|
1063
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
|
1064
|
+
:header_params => header_params,
|
|
1065
|
+
:query_params => query_params,
|
|
1066
|
+
:form_params => form_params,
|
|
1067
|
+
:body => post_body,
|
|
1068
|
+
:auth_names => auth_names)
|
|
1069
|
+
if @api_client.config.debugging
|
|
1070
|
+
@api_client.config.logger.debug "API called: OrgsApi#orgs_teams_members_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1071
|
+
end
|
|
1072
|
+
return data, status_code, headers
|
|
1073
|
+
end
|
|
1074
|
+
# Update a specific team in a organization.
|
|
1075
|
+
# Update a specific team in a organization.
|
|
1076
|
+
# @param org
|
|
1077
|
+
# @param team
|
|
1078
|
+
# @param [Hash] opts the optional parameters
|
|
1079
|
+
# @option opts [OrgsTeamsPartialUpdate] :data
|
|
1080
|
+
# @return [OrganizationTeam]
|
|
1081
|
+
def orgs_teams_partial_update(org, team, opts = {})
|
|
1082
|
+
data, _status_code, _headers = orgs_teams_partial_update_with_http_info(org, team, opts)
|
|
1083
|
+
data
|
|
1084
|
+
end
|
|
1085
|
+
|
|
1086
|
+
# Update a specific team in a organization.
|
|
1087
|
+
# Update a specific team in a organization.
|
|
1088
|
+
# @param org
|
|
1089
|
+
# @param team
|
|
1090
|
+
# @param [Hash] opts the optional parameters
|
|
1091
|
+
# @option opts [OrgsTeamsPartialUpdate] :data
|
|
1092
|
+
# @return [Array<(OrganizationTeam, Fixnum, Hash)>] OrganizationTeam data, response status code and response headers
|
|
1093
|
+
def orgs_teams_partial_update_with_http_info(org, team, opts = {})
|
|
1094
|
+
if @api_client.config.debugging
|
|
1095
|
+
@api_client.config.logger.debug 'Calling API: OrgsApi.orgs_teams_partial_update ...'
|
|
1096
|
+
end
|
|
1097
|
+
# verify the required parameter 'org' is set
|
|
1098
|
+
if @api_client.config.client_side_validation && org.nil?
|
|
1099
|
+
fail ArgumentError, "Missing the required parameter 'org' when calling OrgsApi.orgs_teams_partial_update"
|
|
1100
|
+
end
|
|
1101
|
+
# verify the required parameter 'team' is set
|
|
1102
|
+
if @api_client.config.client_side_validation && team.nil?
|
|
1103
|
+
fail ArgumentError, "Missing the required parameter 'team' when calling OrgsApi.orgs_teams_partial_update"
|
|
1104
|
+
end
|
|
1105
|
+
# resource path
|
|
1106
|
+
local_var_path = '/orgs/{org}/teams/{team}/'.sub('{' + 'org' + '}', org.to_s).sub('{' + 'team' + '}', team.to_s)
|
|
1107
|
+
|
|
1108
|
+
# query parameters
|
|
1109
|
+
query_params = {}
|
|
1110
|
+
|
|
1111
|
+
# header parameters
|
|
1112
|
+
header_params = {}
|
|
1113
|
+
# HTTP header 'Content-Type'
|
|
1114
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
1115
|
+
|
|
1116
|
+
# form parameters
|
|
1117
|
+
form_params = {}
|
|
1118
|
+
|
|
1119
|
+
# http body (model)
|
|
1120
|
+
post_body = @api_client.object_to_http_body(opts[:'data'])
|
|
1121
|
+
auth_names = ['apikey']
|
|
1122
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
|
1123
|
+
:header_params => header_params,
|
|
1124
|
+
:query_params => query_params,
|
|
1125
|
+
:form_params => form_params,
|
|
1126
|
+
:body => post_body,
|
|
1127
|
+
:auth_names => auth_names,
|
|
1128
|
+
:return_type => 'OrganizationTeam')
|
|
1129
|
+
if @api_client.config.debugging
|
|
1130
|
+
@api_client.config.logger.debug "API called: OrgsApi#orgs_teams_partial_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1131
|
+
end
|
|
1132
|
+
return data, status_code, headers
|
|
1133
|
+
end
|
|
1134
|
+
# Get the details for the specific team.
|
|
1135
|
+
# Get the details for the specific team.
|
|
1136
|
+
# @param org
|
|
1137
|
+
# @param team
|
|
1138
|
+
# @param [Hash] opts the optional parameters
|
|
1139
|
+
# @return [OrganizationTeam]
|
|
1140
|
+
def orgs_teams_read(org, team, opts = {})
|
|
1141
|
+
data, _status_code, _headers = orgs_teams_read_with_http_info(org, team, opts)
|
|
1142
|
+
data
|
|
1143
|
+
end
|
|
1144
|
+
|
|
1145
|
+
# Get the details for the specific team.
|
|
1146
|
+
# Get the details for the specific team.
|
|
1147
|
+
# @param org
|
|
1148
|
+
# @param team
|
|
1149
|
+
# @param [Hash] opts the optional parameters
|
|
1150
|
+
# @return [Array<(OrganizationTeam, Fixnum, Hash)>] OrganizationTeam data, response status code and response headers
|
|
1151
|
+
def orgs_teams_read_with_http_info(org, team, opts = {})
|
|
1152
|
+
if @api_client.config.debugging
|
|
1153
|
+
@api_client.config.logger.debug 'Calling API: OrgsApi.orgs_teams_read ...'
|
|
1154
|
+
end
|
|
1155
|
+
# verify the required parameter 'org' is set
|
|
1156
|
+
if @api_client.config.client_side_validation && org.nil?
|
|
1157
|
+
fail ArgumentError, "Missing the required parameter 'org' when calling OrgsApi.orgs_teams_read"
|
|
1158
|
+
end
|
|
1159
|
+
# verify the required parameter 'team' is set
|
|
1160
|
+
if @api_client.config.client_side_validation && team.nil?
|
|
1161
|
+
fail ArgumentError, "Missing the required parameter 'team' when calling OrgsApi.orgs_teams_read"
|
|
1162
|
+
end
|
|
1163
|
+
# resource path
|
|
1164
|
+
local_var_path = '/orgs/{org}/teams/{team}/'.sub('{' + 'org' + '}', org.to_s).sub('{' + 'team' + '}', team.to_s)
|
|
1165
|
+
|
|
1166
|
+
# query parameters
|
|
1167
|
+
query_params = {}
|
|
1168
|
+
|
|
1169
|
+
# header parameters
|
|
1170
|
+
header_params = {}
|
|
1171
|
+
|
|
1172
|
+
# form parameters
|
|
1173
|
+
form_params = {}
|
|
1174
|
+
|
|
1175
|
+
# http body (model)
|
|
1176
|
+
post_body = nil
|
|
1177
|
+
auth_names = ['apikey']
|
|
1178
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
1179
|
+
:header_params => header_params,
|
|
1180
|
+
:query_params => query_params,
|
|
1181
|
+
:form_params => form_params,
|
|
1182
|
+
:body => post_body,
|
|
1183
|
+
:auth_names => auth_names,
|
|
1184
|
+
:return_type => 'OrganizationTeam')
|
|
1185
|
+
if @api_client.config.debugging
|
|
1186
|
+
@api_client.config.logger.debug "API called: OrgsApi#orgs_teams_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1187
|
+
end
|
|
1188
|
+
return data, status_code, headers
|
|
1189
|
+
end
|
|
290
1190
|
end
|
|
291
1191
|
end
|