diff --git a/.generated_files b/.generated_files new file mode 100644 index 00000000000..38d2314db76 --- /dev/null +++ b/.generated_files @@ -0,0 +1,2 @@ +docs/v[1-9][0-9]*/ +lib/datadog_api_client/v[1-9][0-9]*/ diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 00000000000..9073e808f77 --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1,12 @@ +# See https://help.github.com/articles/about-codeowners/ for syntax +# Rules are matched bottom-to-top, so one team can own subdirectories +# and another team can own the rest of the directory. + +# All your base +* @DataDog/integrations-tools-and-libraries + +# Documentation +*.md @DataDog/baklava @DataDog/integrations-tools-and-libraries +LICENSE @DataDog/baklava @DataDog/integrations-tools-and-libraries +NOTICE @DataDog/baklava @DataDog/integrations-tools-and-libraries +LICENSE-3rdparty.csv @DataDog/baklava @DataDog/integrations-tools-and-libraries diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 00000000000..45b196d9194 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,36 @@ +--- +name: Bug report +about: Create a report to help us improve +title: '' +labels: 'kind/bug' +assignees: '' + +--- + +**Describe the bug** +A clear and concise description of what the bug is. + +Label the issue properly. +- Add `severity/` label. +- Add `documentation` label if this issue is related to documentation changes. + +**To Reproduce** +Steps to reproduce the behavior: +1. Go to '...' +2. Click on '....' +3. Scroll down to '....' +4. See error + +**Expected behavior** +A clear and concise description of what you expected to happen. + +**Screenshots** +If applicable, add screenshots to help explain your problem. + +**Environment and Versions (please complete the following information):** +A clear and precise description of your setup: + - version for this project in use. + - services, libraries, languages and tools list and versions. + +**Additional context** +Add any other context about the problem here. diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 00000000000..81f2f513d3d --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,8 @@ +blank_issues_enabled: false +contact_links: + - name: Datadog Support + url: https://www.datadoghq.com/support/ + about: Our friendly, knowledgeable support engineers are here to help. + - name: Datadog Security + url: https://www.datadoghq.com/security/ + about: We care about security. If you have any questions, or encounter any issues, please contact us. diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md new file mode 100644 index 00000000000..febe6d595b0 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -0,0 +1,23 @@ +--- +name: Feature request +about: Suggest an idea for this project +title: '' +labels: 'kind/feature-request' +assignees: '' + +--- + +**Note:** +If you have a feature request, you should [contact support](https://docs.datadoghq.com/help/) so the request can be properly tracked. + +**Is your feature request related to a problem? Please describe.** +A clear and concise description of what the problem is. + +**Describe the solution you'd like** +A clear and concise description of what you want to happen. + +**Describe alternatives you've considered** +A clear and concise description of any alternative solutions or features you've considered. + +**Additional context** +Add any other context or screenshots about the feature request here. diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 00000000000..7222f20a826 --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,39 @@ + + +### What does this PR do? + + + +### Additional Notes + + + +### Review checklist +Please check relevant items below: +- [ ] This PR includes all [newly recorded cassettes](/DEVELOPMENT.md) for any modified tests. + + +- [ ] This PR does not rely on API client schema changes. + - [ ] The CI should be fully passing. +- [ ] Or, this PR relies on API schema changes and this is a Draft PR to include tests for that new functionality. + - Note: CI shouldn't be run on this Draft PR, as its expected to fail without the corresponding schema changes. diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 00000000000..ee007fd5768 --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,3 @@ +# Configuration for labeler - https://github.com/actions/labeler + +documentation: "**/*.md" diff --git a/.github/workflows/changelog.yaml b/.github/workflows/changelog.yaml new file mode 100644 index 00000000000..97bb96d77a6 --- /dev/null +++ b/.github/workflows/changelog.yaml @@ -0,0 +1,21 @@ +name: "Ensure labels" +on: # yamllint disable-line rule:truthy + pull_request: + types: + - labeled + - unlabeled + - opened + - synchronize + - reopened + +jobs: + changelog: + runs-on: ubuntu-latest + steps: + - name: Check changelog labels + if: false == contains(join(github.event.pull_request.labels.*.name, ','), 'changelog/') + run: |- + echo "::error Add 'changelog/*' label"; + exit 1; + - name: OK + run: echo "Thank you!" diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml new file mode 100644 index 00000000000..0bd3565acb4 --- /dev/null +++ b/.github/workflows/labeler.yml @@ -0,0 +1,11 @@ +name: "Pull Request Labeler" +on: +- pull_request + +jobs: + triage: + runs-on: ubuntu-latest + steps: + - uses: DataDog/labeler@glob-all + with: + repo-token: "${{ secrets.GITHUB_TOKEN }}" diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml new file mode 100644 index 00000000000..ada4a71f5da --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,39 @@ +# Configuration for https://github.com/actions/stale + +name: "Stale issues and pull requests" +on: + schedule: + - cron: "0 0 * * *" + +jobs: + stale: + runs-on: ubuntu-latest + steps: + - uses: actions/stale@v1 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + stale-issue-message: >- + Thanks for your contribution! + + + This issue has been automatically marked as stale because it has not had + activity in the last 30 days. Note that the issue will not be automatically + closed, but this notification will remind us to investigate why there's + been inactivity. Thank you for participating in the Datadog open source community. + + + If you would like this issue to remain open: + + 1. Verify that you can still reproduce the issue in the latest version of this project. + + 1. Comment that the issue is still reproducible and include updated details requested in the issue template. + days-before-stale: 30 + days-before-close: 99999 + stale-issue-label: 'stale' + exempt-issue-label: 'stale/exempt' + stale-pr-message: >- + This issue has been automatically marked as stale because it has not had activity in the last 30 days. + + Note that the issue will not be automatically closed, but this notification will remind us to investigate why there's been inactivity. + stale-pr-label: 'stale' + exempt-pr-label: 'stale/exempt' diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 00000000000..86425c5c1a5 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,53 @@ +name: Run Tests + +on: + pull_request: + branches: + - master + +jobs: + pre-commit: + runs-on: ubuntu-latest + if: false == startsWith(github.event.pull_request.head.ref, 'datadog-api-spec/generated/') && !contains(github.event.pull_request.labels.*.name, 'ci/skip/pre-commit') + steps: + - uses: actions/checkout@v1 + - uses: actions/setup-python@v1 + - name: Install pre-commit + run: python -m pip install pre-commit + - name: set PY + run: echo "::set-env name=PY::$(python -c 'import hashlib, sys;print(hashlib.sha256(sys.version.encode()+sys.executable.encode()).hexdigest())')" + - uses: actions/cache@v1 + with: + path: ~/.cache/pre-commit + key: pre-commit|${{ env.PY }}|${{ hashFiles('.pre-commit-config.yaml') }} + - name: Run pre-commit + run: pre-commit run --all-files --source ${{ github.event.pull_request.base.sha }} --origin ${{ github.event.pull_request.head.sha }} --show-diff-on-failure --color=always + + test: + strategy: + matrix: + ruby-version: ['2.5', '2.6', '2.7'] + platform: [ubuntu-latest, macos-latest, windows-latest] + # test only latest version on macos and windows + exclude: + - platform: macos-latest + ruby-version: '2.5' + - platform: macos-latest + ruby-version: '2.6' + - platform: windows-latest + ruby-version: '2.5' + - platform: windows-latest + ruby-version: '2.6' + runs-on: ${{ matrix.platform }} + if: github.event.pull_request.draft == false && !contains(github.event.pull_request.labels.*.name, 'ci/skip') && !contains(github.event.pull_request.head.ref, 'datadog-api-spec/test/') + steps: + - uses: actions/checkout@v2 + - name: Set up Ruby ${{ matrix.ruby-version }} + uses: actions/setup-ruby@v1 + with: + ruby-version: ${{ matrix.ruby-version }} + - name: Install + run: bundle install + - name: Test + run: ./run-tests.sh + shell: bash diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000000..35ca8aba5f2 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +.bundle +Gemfile.lock +rerun.txt diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 00000000000..597ffe48fa1 --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,15 @@ +repos: +- repo: local + hooks: + - id: generated + name: Do not commit generated files + language: fail + entry: Unstage generated files with 'git reset --' command + files: '^lib/datadog_api_client/v[1-9].*' + verbose: true + - id: generated-features + name: Do not commit generated feature files + language: fail + entry: Unstage generated files with 'git reset --' command + files: '^features/v[1-9][0-9]*/.*.feature$' + verbose: true diff --git a/DEVELOPMENT.md b/DEVELOPMENT.md new file mode 100644 index 00000000000..d170f3f2961 --- /dev/null +++ b/DEVELOPMENT.md @@ -0,0 +1,38 @@ +# Development + +This repository contains code that is autogenerated via the +[openapi-generator](https://github.com/OpenAPITools/openapi-generator/tree/master/modules/openapi-generator/src/main/resources/ruby) project. + +As such, this repository should only contain development for adding or fixing tests, for improving development tooling and documentation + +## Testing + +### Prerequisite + +Export the following environment variables: +* `DD_TEST_CLIENT_API_KEY`: The Datadog API key to run integration tests against +* `DD_TEST_CLIENT_APP_KEY`: The Datadog Application key to run integration tests against + +**IMPORTANT**: Do not use production keys. + + + +### Commands + +This project contains BDD tests. +__Never__ run the test suite against an organization with production data. + +Tests can be executed via [`cucumber`](https://cucumber.io/docs/guides/). +You can optionally add `features/v/.feature:` to filter individual tests. + +By default integration tests use recorded API responses stored in cassettes. To record new API responses run the tests with `RECORD=true`. To run integration tests against API without recording cassettes, run the tests with `RECORD=none`. + +**IMPORTANT**: +When creating a PR that adds or updates a test, __never__ commit +generated code, only commit test files being updated and any updated cassettes. diff --git a/Dockerfile.test b/Dockerfile.test index a522f9cc295..19abc50f38f 100644 --- a/Dockerfile.test +++ b/Dockerfile.test @@ -9,4 +9,4 @@ RUN bundle install && \ gem install ./datadog_api_client.gem -CMD ["./run-tests.sh"] +CMD ["/datadog-api-client-ruby/run-tests.sh"] diff --git a/Gemfile b/Gemfile index cdf16202f2b..e637e70a9cd 100644 --- a/Gemfile +++ b/Gemfile @@ -14,4 +14,6 @@ group :development, :test do gem 'reek' gem 'rspec-expectations' gem 'solargraph' + gem 'timecop' + gem 'webmock' end diff --git a/Rakefile b/Rakefile index f5ec6e858a8..b7aa5d766e2 100644 --- a/Rakefile +++ b/Rakefile @@ -2,6 +2,4 @@ require 'rubygems' require 'cucumber' require 'cucumber/rake/task' -Cucumber::Rake::Task.new(:features) do |t| - t.cucumber_opts = "--format pretty --tags \"not @smoke and not @skip\"" # Any valid command line option can go here. -end +Cucumber::Rake::Task.new(:features) diff --git a/cassettes/features/v2/roles/Add-a-user-to-a-role-returns-OK-response.yml b/cassettes/features/v2/roles/Add-a-user-to-a-role-returns-OK-response.yml new file mode 100644 index 00000000000..924d8af21c3 --- /dev/null +++ b/cassettes/features/v2/roles/Add-a-user-to-a-role-returns-OK-response.yml @@ -0,0 +1,182 @@ +--- +http_interactions: +- request: + method: post + uri: https://api.datadoghq.com/api/v2/roles + body: + encoding: UTF-8 + string: '{"data":{"attributes":{"name":"ruby-Add-a-user-to-a-role-returns-OK-response-1599759329"},"type":"roles"}}' + headers: + User-Agent: + - OpenAPI-Generator/0.1.0/ruby + Content-Type: + - application/json + Accept: + - application/json + Expect: + - '' + response: + status: + code: 200 + message: OK + headers: + Date: + - Thu, 10 Sep 2020 17:35:30 GMT + Content-Type: + - application/json + Content-Length: + - '424' + Connection: + - keep-alive + Vary: + - Accept-Encoding + Pragma: + - no-cache + Cache-Control: + - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 17-Sep-2020 17:35:29 GMT; + secure; HttpOnly + X-Dd-Version: + - '35.3014711' + X-Ratelimit-Limit: + - '500' + X-Ratelimit-Period: + - '60' + X-Ratelimit-Reset: + - '31' + X-Ratelimit-Remaining: + - '476' + X-Dd-Debug: + - WmMtMFngDL31sZYuYCiUaMFRtAs90zyIJHnMIoB4iHZztA/Ona9SnOav516bWmh7 + Dd-Pool: + - dogweb + Content-Security-Policy: + - frame-ancestors 'self'; report-uri https://api.datadoghq.com/csp-report + X-Frame-Options: + - SAMEORIGIN + X-Content-Type-Options: + - nosniff + Strict-Transport-Security: + - max-age=15724800; + body: + encoding: UTF-8 + string: '{"data":{"type":"roles","id":"056a82d8-f38c-11ea-ac35-c3fe378e05a1","attributes":{"name":"ruby-Add-a-user-to-a-role-returns-OK-response-1599759329","created_at":"2020-09-10T17:35:30.005078+00:00","modified_at":"2020-09-10T17:35:30.005078+00:00"},"relationships":{"permissions":{"data":[{"type":"permissions","id":"d90f6830-d3d8-11e9-a77a-b3404e5e9ee2"},{"type":"permissions","id":"4441648c-d8b1-11e9-a77a-1b899a04b304"}]}}}}' + recorded_at: Thu, 10 Sep 2020 17:35:29 GMT +- request: + method: post + uri: https://api.datadoghq.com/api/v2/users + body: + encoding: UTF-8 + string: '{"data":{"attributes":{"email":"ruby-Add-a-user-to-a-role-returns-OK-response-1599759329@datadoghq.com"},"type":"users"}}' + headers: + User-Agent: + - OpenAPI-Generator/0.1.0/ruby + Content-Type: + - application/json + Accept: + - application/json + Expect: + - '' + response: + status: + code: 201 + message: Created + headers: + Date: + - Thu, 10 Sep 2020 17:35:30 GMT + Content-Type: + - application/json + Content-Length: + - '603' + Connection: + - keep-alive + Pragma: + - no-cache + Cache-Control: + - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 17-Sep-2020 17:35:30 GMT; + secure; HttpOnly + X-Dd-Version: + - '35.3014711' + X-Dd-Debug: + - jQnCQ800IM9+AhjSbgOLP1olAAN0Zx3e3JL4dG9omKhKnkmdw7EJe7yfXnjuT+74 + Dd-Pool: + - dogweb + Content-Security-Policy: + - frame-ancestors 'self'; report-uri https://api.datadoghq.com/csp-report + X-Frame-Options: + - SAMEORIGIN + X-Content-Type-Options: + - nosniff + Strict-Transport-Security: + - max-age=15724800; + body: + encoding: UTF-8 + string: '{"data":{"type":"users","id":"059144f4-f38c-11ea-ac35-13168d5cd656","attributes":{"name":null,"handle":"ruby-add-a-user-to-a-role-returns-ok-response-1599759329@datadoghq.com","created_at":"2020-09-10T17:35:30.258389+00:00","email":"ruby-add-a-user-to-a-role-returns-ok-response-1599759329@datadoghq.com","icon":"https://secure.gravatar.com/avatar/bbf21b796ff481fbcad740dfe2a5c862?s=48&d=retro","title":null,"verified":false,"disabled":false,"allowed_login_methods":[],"status":"Pending"},"relationships":{"roles":{"data":[]},"org":{"data":{"type":"orgs","id":"4dee724d-00cc-11ea-a77b-570c9d03c6c5"}}}}}' + recorded_at: Thu, 10 Sep 2020 17:35:29 GMT +- request: + method: post + uri: https://api.datadoghq.com/api/v2/roles/056a82d8-f38c-11ea-ac35-c3fe378e05a1/users + body: + encoding: UTF-8 + string: '{"data":{"id":"059144f4-f38c-11ea-ac35-13168d5cd656","type":"users"}}' + headers: + User-Agent: + - OpenAPI-Generator/0.1.0/ruby + Content-Type: + - application/json + Accept: + - application/json + Expect: + - '' + response: + status: + code: 200 + message: OK + headers: + Date: + - Thu, 10 Sep 2020 17:35:30 GMT + Content-Type: + - application/json + Content-Length: + - '699' + Connection: + - keep-alive + Vary: + - Accept-Encoding + Pragma: + - no-cache + Cache-Control: + - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 17-Sep-2020 17:35:30 GMT; + secure; HttpOnly + X-Dd-Version: + - '35.3014711' + X-Ratelimit-Limit: + - '500' + X-Ratelimit-Period: + - '60' + X-Ratelimit-Reset: + - '30' + X-Ratelimit-Remaining: + - '475' + X-Dd-Debug: + - cTGY5ulPxaRmdZr4S1APOMLAfMePPA3fkzzqqKyRFf/m5ql3XuUZsd87RDo7B7RR + Dd-Pool: + - dogweb + Content-Security-Policy: + - frame-ancestors 'self'; report-uri https://api.datadoghq.com/csp-report + X-Frame-Options: + - SAMEORIGIN + X-Content-Type-Options: + - nosniff + Strict-Transport-Security: + - max-age=15724800; + body: + encoding: UTF-8 + string: '{"meta":{"page":{"total_count":1}},"data":[{"type":"users","id":"059144f4-f38c-11ea-ac35-13168d5cd656","attributes":{"name":null,"handle":"ruby-add-a-user-to-a-role-returns-ok-response-1599759329@datadoghq.com","created_at":"2020-09-10T17:35:30.258389+00:00","email":"ruby-add-a-user-to-a-role-returns-ok-response-1599759329@datadoghq.com","icon":"https://secure.gravatar.com/avatar/bbf21b796ff481fbcad740dfe2a5c862?s=48&d=retro","title":null,"verified":false,"disabled":false,"allowed_login_methods":[],"status":"Pending"},"relationships":{"roles":{"data":[{"type":"roles","id":"056a82d8-f38c-11ea-ac35-c3fe378e05a1"}]},"org":{"data":{"type":"orgs","id":"4dee724d-00cc-11ea-a77b-570c9d03c6c5"}}}}]}' + recorded_at: Thu, 10 Sep 2020 17:35:29 GMT +recorded_with: VCR 6.0.0 diff --git a/cassettes/features/v2/roles/Create-role-returns-OK-response.yml b/cassettes/features/v2/roles/Create-role-returns-OK-response.yml new file mode 100644 index 00000000000..537f1485c6d --- /dev/null +++ b/cassettes/features/v2/roles/Create-role-returns-OK-response.yml @@ -0,0 +1,66 @@ +--- +http_interactions: +- request: + method: post + uri: https://api.datadoghq.com/api/v2/roles + body: + encoding: UTF-8 + string: '{"data":{"type":"roles","attributes":{"name":"ruby-Create-role-returns-OK-response-1599759323"}}}' + headers: + User-Agent: + - OpenAPI-Generator/0.1.0/ruby + Content-Type: + - application/json + Accept: + - application/json + Expect: + - '' + response: + status: + code: 200 + message: OK + headers: + Date: + - Thu, 10 Sep 2020 17:35:24 GMT + Content-Type: + - application/json + Content-Length: + - '415' + Connection: + - keep-alive + Vary: + - Accept-Encoding + Pragma: + - no-cache + Cache-Control: + - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 17-Sep-2020 17:35:23 GMT; + secure; HttpOnly + X-Dd-Version: + - '35.3014711' + X-Ratelimit-Limit: + - '500' + X-Ratelimit-Period: + - '60' + X-Ratelimit-Reset: + - '37' + X-Ratelimit-Remaining: + - '497' + X-Dd-Debug: + - d31ebXSBBNIfMRbwTUSeNjY3IxejCQxGK8GB7MdTMNs7w40n94in+BXmkLo5BsFJ + Dd-Pool: + - dogweb + Content-Security-Policy: + - frame-ancestors 'self'; report-uri https://api.datadoghq.com/csp-report + X-Frame-Options: + - SAMEORIGIN + X-Content-Type-Options: + - nosniff + Strict-Transport-Security: + - max-age=15724800; + body: + encoding: UTF-8 + string: '{"data":{"type":"roles","id":"01d5f4ea-f38c-11ea-ac35-ab3cdc044eea","attributes":{"name":"ruby-Create-role-returns-OK-response-1599759323","created_at":"2020-09-10T17:35:23.998431+00:00","modified_at":"2020-09-10T17:35:23.998431+00:00"},"relationships":{"permissions":{"data":[{"type":"permissions","id":"d90f6830-d3d8-11e9-a77a-b3404e5e9ee2"},{"type":"permissions","id":"4441648c-d8b1-11e9-a77a-1b899a04b304"}]}}}}' + recorded_at: Thu, 10 Sep 2020 17:35:23 GMT +recorded_with: VCR 6.0.0 diff --git a/cassettes/features/v2/roles/Delete-role-returns-OK-response.yml b/cassettes/features/v2/roles/Delete-role-returns-OK-response.yml new file mode 100644 index 00000000000..0a804d90793 --- /dev/null +++ b/cassettes/features/v2/roles/Delete-role-returns-OK-response.yml @@ -0,0 +1,127 @@ +--- +http_interactions: +- request: + method: post + uri: https://api.datadoghq.com/api/v2/roles + body: + encoding: UTF-8 + string: '{"data":{"attributes":{"name":"ruby-Delete-role-returns-OK-response-1599759324"},"type":"roles"}}' + headers: + User-Agent: + - OpenAPI-Generator/0.1.0/ruby + Content-Type: + - application/json + Accept: + - application/json + Expect: + - '' + response: + status: + code: 200 + message: OK + headers: + Date: + - Thu, 10 Sep 2020 17:35:24 GMT + Content-Type: + - application/json + Content-Length: + - '415' + Connection: + - keep-alive + Vary: + - Accept-Encoding + Pragma: + - no-cache + Cache-Control: + - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 17-Sep-2020 17:35:24 GMT; + secure; HttpOnly + X-Dd-Version: + - '35.3014711' + X-Ratelimit-Limit: + - '500' + X-Ratelimit-Period: + - '60' + X-Ratelimit-Reset: + - '36' + X-Ratelimit-Remaining: + - '496' + X-Dd-Debug: + - Lz3XQmS/aMrD2s8dTb68gJQbMlDQb/2odnJX/DHsjHnv1C9na1q4YNvmnKcr4AfX + Dd-Pool: + - dogweb + Content-Security-Policy: + - frame-ancestors 'self'; report-uri https://api.datadoghq.com/csp-report + X-Frame-Options: + - SAMEORIGIN + X-Content-Type-Options: + - nosniff + Strict-Transport-Security: + - max-age=15724800; + body: + encoding: UTF-8 + string: '{"data":{"type":"roles","id":"01f80a76-f38c-11ea-ac35-6be5354949a7","attributes":{"name":"ruby-Delete-role-returns-OK-response-1599759324","created_at":"2020-09-10T17:35:24.221792+00:00","modified_at":"2020-09-10T17:35:24.221792+00:00"},"relationships":{"permissions":{"data":[{"type":"permissions","id":"d90f6830-d3d8-11e9-a77a-b3404e5e9ee2"},{"type":"permissions","id":"4441648c-d8b1-11e9-a77a-1b899a04b304"}]}}}}' + recorded_at: Thu, 10 Sep 2020 17:35:24 GMT +- request: + method: delete + uri: https://api.datadoghq.com/api/v2/roles/01f80a76-f38c-11ea-ac35-6be5354949a7 + body: + encoding: US-ASCII + string: '' + headers: + User-Agent: + - OpenAPI-Generator/0.1.0/ruby + Content-Type: + - application/json + Accept: + - application/json + Expect: + - '' + response: + status: + code: 204 + message: No Content + headers: + Date: + - Thu, 10 Sep 2020 17:35:24 GMT + Content-Type: + - application/json + Content-Length: + - '0' + Connection: + - keep-alive + Pragma: + - no-cache + Cache-Control: + - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 17-Sep-2020 17:35:24 GMT; + secure; HttpOnly + X-Dd-Version: + - '35.3014711' + X-Ratelimit-Limit: + - '500' + X-Ratelimit-Period: + - '60' + X-Ratelimit-Reset: + - '36' + X-Ratelimit-Remaining: + - '495' + X-Dd-Debug: + - GzqFsJiHmsMG2ZkgPZxP4KU7BbP1543ieTDBlTOcSv7mMVZ5sYoywme9ykeCrzfU + Dd-Pool: + - dogweb + Content-Security-Policy: + - frame-ancestors 'self'; report-uri https://api.datadoghq.com/csp-report + X-Frame-Options: + - SAMEORIGIN + X-Content-Type-Options: + - nosniff + Strict-Transport-Security: + - max-age=15724800; + body: + encoding: UTF-8 + string: '' + recorded_at: Thu, 10 Sep 2020 17:35:24 GMT +recorded_with: VCR 6.0.0 diff --git a/cassettes/features/v2/roles/Get-a-role-returns-OK-response.yml b/cassettes/features/v2/roles/Get-a-role-returns-OK-response.yml new file mode 100644 index 00000000000..17932ca6b06 --- /dev/null +++ b/cassettes/features/v2/roles/Get-a-role-returns-OK-response.yml @@ -0,0 +1,129 @@ +--- +http_interactions: +- request: + method: post + uri: https://api.datadoghq.com/api/v2/roles + body: + encoding: UTF-8 + string: '{"data":{"attributes":{"name":"ruby-Get-a-role-returns-OK-response-1599759324"},"type":"roles"}}' + headers: + User-Agent: + - OpenAPI-Generator/0.1.0/ruby + Content-Type: + - application/json + Accept: + - application/json + Expect: + - '' + response: + status: + code: 200 + message: OK + headers: + Date: + - Thu, 10 Sep 2020 17:35:24 GMT + Content-Type: + - application/json + Content-Length: + - '414' + Connection: + - keep-alive + Vary: + - Accept-Encoding + Pragma: + - no-cache + Cache-Control: + - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 17-Sep-2020 17:35:24 GMT; + secure; HttpOnly + X-Dd-Version: + - '35.3014711' + X-Ratelimit-Limit: + - '500' + X-Ratelimit-Period: + - '60' + X-Ratelimit-Reset: + - '36' + X-Ratelimit-Remaining: + - '494' + X-Dd-Debug: + - CUBCyaoXY2JdeHi5oQm4sg9onCJMsjgVJ5jLk2ugM2iR7uz4Q+lvjzDdvtcYDFC3 + Dd-Pool: + - dogweb + Content-Security-Policy: + - frame-ancestors 'self'; report-uri https://api.datadoghq.com/csp-report + X-Frame-Options: + - SAMEORIGIN + X-Content-Type-Options: + - nosniff + Strict-Transport-Security: + - max-age=15724800; + body: + encoding: UTF-8 + string: '{"data":{"type":"roles","id":"024072ac-f38c-11ea-ac35-2fbe3cbe477a","attributes":{"name":"ruby-Get-a-role-returns-OK-response-1599759324","created_at":"2020-09-10T17:35:24.695800+00:00","modified_at":"2020-09-10T17:35:24.695800+00:00"},"relationships":{"permissions":{"data":[{"type":"permissions","id":"d90f6830-d3d8-11e9-a77a-b3404e5e9ee2"},{"type":"permissions","id":"4441648c-d8b1-11e9-a77a-1b899a04b304"}]}}}}' + recorded_at: Thu, 10 Sep 2020 17:35:24 GMT +- request: + method: get + uri: https://api.datadoghq.com/api/v2/roles/024072ac-f38c-11ea-ac35-2fbe3cbe477a + body: + encoding: US-ASCII + string: '' + headers: + User-Agent: + - OpenAPI-Generator/0.1.0/ruby + Content-Type: + - application/json + Accept: + - application/json + Expect: + - '' + response: + status: + code: 200 + message: OK + headers: + Date: + - Thu, 10 Sep 2020 17:35:24 GMT + Content-Type: + - application/json + Content-Length: + - '429' + Connection: + - keep-alive + Vary: + - Accept-Encoding + Pragma: + - no-cache + Cache-Control: + - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 17-Sep-2020 17:35:24 GMT; + secure; HttpOnly + X-Dd-Version: + - '35.3014711' + X-Ratelimit-Limit: + - '500' + X-Ratelimit-Period: + - '60' + X-Ratelimit-Reset: + - '36' + X-Ratelimit-Remaining: + - '493' + X-Dd-Debug: + - 92/tpeRQ0by9nn7WsSPyVyXsoLNu8gimYih2BuL6sJV2amfIFPaN8R5eGATyWG3E + Dd-Pool: + - dogweb + Content-Security-Policy: + - frame-ancestors 'self'; report-uri https://api.datadoghq.com/csp-report + X-Frame-Options: + - SAMEORIGIN + X-Content-Type-Options: + - nosniff + Strict-Transport-Security: + - max-age=15724800; + body: + encoding: UTF-8 + string: '{"data":{"type":"roles","id":"024072ac-f38c-11ea-ac35-2fbe3cbe477a","attributes":{"name":"ruby-Get-a-role-returns-OK-response-1599759324","created_at":"2020-09-10T17:35:24.695800+00:00","modified_at":"2020-09-10T17:35:24.695800+00:00","user_count":0},"relationships":{"permissions":{"data":[{"type":"permissions","id":"d90f6830-d3d8-11e9-a77a-b3404e5e9ee2"},{"type":"permissions","id":"4441648c-d8b1-11e9-a77a-1b899a04b304"}]}}}}' + recorded_at: Thu, 10 Sep 2020 17:35:24 GMT +recorded_with: VCR 6.0.0 diff --git a/cassettes/features/v2/roles/Get-all-users-of-a-role-returns-OK-response.yml b/cassettes/features/v2/roles/Get-all-users-of-a-role-returns-OK-response.yml new file mode 100644 index 00000000000..506aab4d7fb --- /dev/null +++ b/cassettes/features/v2/roles/Get-all-users-of-a-role-returns-OK-response.yml @@ -0,0 +1,303 @@ +--- +http_interactions: +- request: + method: post + uri: https://api.datadoghq.com/api/v2/roles + body: + encoding: UTF-8 + string: '{"data":{"attributes":{"name":"ruby-Get-all-users-of-a-role-returns-OK-response-1599759328"},"type":"roles"}}' + headers: + User-Agent: + - OpenAPI-Generator/0.1.0/ruby + Content-Type: + - application/json + Accept: + - application/json + Expect: + - '' + response: + status: + code: 200 + message: OK + headers: + Date: + - Thu, 10 Sep 2020 17:35:29 GMT + Content-Type: + - application/json + Content-Length: + - '427' + Connection: + - keep-alive + Vary: + - Accept-Encoding + Pragma: + - no-cache + Cache-Control: + - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 17-Sep-2020 17:35:29 GMT; + secure; HttpOnly + X-Dd-Version: + - '35.3014711' + X-Ratelimit-Limit: + - '500' + X-Ratelimit-Period: + - '60' + X-Ratelimit-Reset: + - '31' + X-Ratelimit-Remaining: + - '479' + X-Dd-Debug: + - cdvpcwnkjuISrw6rfWS7apTmBr9FZehyT0DDN5M25OjQvVqdwR/v3ItBF4P2Rbv7 + Dd-Pool: + - dogweb + Content-Security-Policy: + - frame-ancestors 'self'; report-uri https://api.datadoghq.com/csp-report + X-Frame-Options: + - SAMEORIGIN + X-Content-Type-Options: + - nosniff + Strict-Transport-Security: + - max-age=15724800; + body: + encoding: UTF-8 + string: '{"data":{"type":"roles","id":"04d76c1e-f38c-11ea-ac35-abc55a55e992","attributes":{"name":"ruby-Get-all-users-of-a-role-returns-OK-response-1599759328","created_at":"2020-09-10T17:35:29.040767+00:00","modified_at":"2020-09-10T17:35:29.040767+00:00"},"relationships":{"permissions":{"data":[{"type":"permissions","id":"d90f6830-d3d8-11e9-a77a-b3404e5e9ee2"},{"type":"permissions","id":"4441648c-d8b1-11e9-a77a-1b899a04b304"}]}}}}' + recorded_at: Thu, 10 Sep 2020 17:35:28 GMT +- request: + method: post + uri: https://api.datadoghq.com/api/v2/users + body: + encoding: UTF-8 + string: '{"data":{"attributes":{"email":"ruby-Get-all-users-of-a-role-returns-OK-response-1599759328@datadoghq.com"},"type":"users"}}' + headers: + User-Agent: + - OpenAPI-Generator/0.1.0/ruby + Content-Type: + - application/json + Accept: + - application/json + Expect: + - '' + response: + status: + code: 201 + message: Created + headers: + Date: + - Thu, 10 Sep 2020 17:35:29 GMT + Content-Type: + - application/json + Content-Length: + - '609' + Connection: + - keep-alive + Pragma: + - no-cache + Cache-Control: + - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 17-Sep-2020 17:35:29 GMT; + secure; HttpOnly + X-Dd-Version: + - '35.3014711' + X-Dd-Debug: + - ylBElmyGwKGD9U7vyDU/qHCi6QpDzALB8kY9TyVsQmpRCm4VjPYEdilo336ix6wj + Dd-Pool: + - dogweb + Content-Security-Policy: + - frame-ancestors 'self'; report-uri https://api.datadoghq.com/csp-report + X-Frame-Options: + - SAMEORIGIN + X-Content-Type-Options: + - nosniff + Strict-Transport-Security: + - max-age=15724800; + body: + encoding: UTF-8 + string: '{"data":{"type":"users","id":"04f7e304-f38c-11ea-ac35-ebcec44e95a5","attributes":{"name":null,"handle":"ruby-get-all-users-of-a-role-returns-ok-response-1599759328@datadoghq.com","created_at":"2020-09-10T17:35:29.252935+00:00","email":"ruby-get-all-users-of-a-role-returns-ok-response-1599759328@datadoghq.com","icon":"https://secure.gravatar.com/avatar/dc0e989a334f9944034f610acc2ea13b?s=48&d=retro","title":null,"verified":false,"disabled":false,"allowed_login_methods":[],"status":"Pending"},"relationships":{"roles":{"data":[]},"org":{"data":{"type":"orgs","id":"4dee724d-00cc-11ea-a77b-570c9d03c6c5"}}}}}' + recorded_at: Thu, 10 Sep 2020 17:35:28 GMT +- request: + method: post + uri: https://api.datadoghq.com/api/v2/roles/04d76c1e-f38c-11ea-ac35-abc55a55e992/users + body: + encoding: UTF-8 + string: '{"data":{"id":"04f7e304-f38c-11ea-ac35-ebcec44e95a5","type":"users"}}' + headers: + User-Agent: + - OpenAPI-Generator/0.1.0/ruby + Content-Type: + - application/json + Accept: + - application/json + Expect: + - '' + response: + status: + code: 200 + message: OK + headers: + Date: + - Thu, 10 Sep 2020 17:35:29 GMT + Content-Type: + - application/json + Content-Length: + - '705' + Connection: + - keep-alive + Vary: + - Accept-Encoding + Pragma: + - no-cache + Cache-Control: + - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 17-Sep-2020 17:35:29 GMT; + secure; HttpOnly + X-Dd-Version: + - '35.3014711' + X-Ratelimit-Limit: + - '500' + X-Ratelimit-Period: + - '60' + X-Ratelimit-Reset: + - '31' + X-Ratelimit-Remaining: + - '478' + X-Dd-Debug: + - t3HUEZc5ir8lXNnqzkff2uqNehUi1czGcghjOPRgwaz4xZmG6O4HwEI6mdtgJV0i + Dd-Pool: + - dogweb + Content-Security-Policy: + - frame-ancestors 'self'; report-uri https://api.datadoghq.com/csp-report + X-Frame-Options: + - SAMEORIGIN + X-Content-Type-Options: + - nosniff + Strict-Transport-Security: + - max-age=15724800; + body: + encoding: UTF-8 + string: '{"meta":{"page":{"total_count":1}},"data":[{"type":"users","id":"04f7e304-f38c-11ea-ac35-ebcec44e95a5","attributes":{"name":null,"handle":"ruby-get-all-users-of-a-role-returns-ok-response-1599759328@datadoghq.com","created_at":"2020-09-10T17:35:29.252935+00:00","email":"ruby-get-all-users-of-a-role-returns-ok-response-1599759328@datadoghq.com","icon":"https://secure.gravatar.com/avatar/dc0e989a334f9944034f610acc2ea13b?s=48&d=retro","title":null,"verified":false,"disabled":false,"allowed_login_methods":[],"status":"Pending"},"relationships":{"roles":{"data":[{"type":"roles","id":"04d76c1e-f38c-11ea-ac35-abc55a55e992"}]},"org":{"data":{"type":"orgs","id":"4dee724d-00cc-11ea-a77b-570c9d03c6c5"}}}}]}' + recorded_at: Thu, 10 Sep 2020 17:35:28 GMT +- request: + method: get + uri: https://api.datadoghq.com/api/v2/roles/04d76c1e-f38c-11ea-ac35-abc55a55e992/users + body: + encoding: US-ASCII + string: '' + headers: + User-Agent: + - OpenAPI-Generator/0.1.0/ruby + Content-Type: + - application/json + Accept: + - application/json + Expect: + - '' + response: + status: + code: 200 + message: OK + headers: + Date: + - Thu, 10 Sep 2020 17:35:29 GMT + Content-Type: + - application/json + Content-Length: + - '10517' + Connection: + - keep-alive + Vary: + - Accept-Encoding + Pragma: + - no-cache + Cache-Control: + - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 17-Sep-2020 17:35:29 GMT; + secure; HttpOnly + X-Dd-Version: + - '35.3014711' + X-Ratelimit-Limit: + - '500' + X-Ratelimit-Period: + - '60' + X-Ratelimit-Reset: + - '31' + X-Ratelimit-Remaining: + - '477' + X-Dd-Debug: + - tdTmMoV7+JDwW/bGwbEbuDbCx6X5ibRoYri9oHX2lv21D7sMnra9kH9myxv1lNT4 + Dd-Pool: + - dogweb + Content-Security-Policy: + - frame-ancestors 'self'; report-uri https://api.datadoghq.com/csp-report + X-Frame-Options: + - SAMEORIGIN + X-Content-Type-Options: + - nosniff + Strict-Transport-Security: + - max-age=15724800; + body: + encoding: UTF-8 + string: '{"included":[{"type":"permissions","id":"7d7c98ac-dd12-11e8-9e56-93700598622d","attributes":{"name":"logs_write_exclusion_filters","display_name":"Logs + Write Exclusion Filters","description":"The ability to add and change exclusion + filters for all or some log indexes. Can be granted in a limited capacity + per index to specific roles via the Logs interface or API. If granted from + the Roles interface or API, the permission has global scope.","created":"2018-10-31T13:40:11.926613+00:00","group_name":"Logs","display_type":"write","restricted":false}},{"type":"permissions","id":"d90f6832-d3d8-11e9-a77a-bf8a2607f864","attributes":{"name":"dashboards_public_share","display_name":"Dashboards + Share","description":"The ability to share dashboards externally.","created":"2019-09-10T14:39:51.967094+00:00","group_name":"Dashboards","display_type":"other","restricted":false}},{"type":"permissions","id":"d90f6831-d3d8-11e9-a77a-4fd230ddbc6a","attributes":{"name":"dashboards_write","display_name":"Dashboards","description":"The + ability to create and change dashboards.","created":"2019-09-10T14:39:51.962944+00:00","group_name":"Dashboards","display_type":"write","restricted":false}},{"type":"permissions","id":"6f66600e-dd12-11e8-9e55-7f30fbb45e73","attributes":{"name":"logs_live_tail","display_name":"Logs + Live Tail Access","description":"The ability to view the live tail feed for + all log indexes, even if otherwise specifically restricted.","created":"2018-10-31T13:39:48.292879+00:00","group_name":"Logs","display_type":"read","restricted":false}},{"type":"permissions","id":"984d2f00-d3b4-11e8-a200-bb47109e9987","attributes":{"name":"standard","display_name":"Standard + Access","description":"This permission gives you the ability to view and edit + components in your Datadog organization that do not have explicitly defined + permissions. This includes APM, Events, and other non-Account Management functionality.","created":"2018-10-19T15:35:23.756736+00:00","group_name":"General","display_type":"other","restricted":false}},{"type":"permissions","id":"62cc036c-dd12-11e8-9e54-db9995643092","attributes":{"name":"logs_modify_indexes","display_name":"Logs + Modify Indexes","description":"The ability to read and modify all indexes + in your account. This includes the ability to grant the Logs Read Index Data + and Logs Write Exclusion Filter permission to other roles, for some or all + indexes. This permission also grants global Log Index Read and Log Exclusion + Filter Write implicitly.","created":"2018-10-31T13:39:27.148615+00:00","group_name":"Logs","display_type":"other","restricted":false}},{"type":"permissions","id":"87b00304-dd12-11e8-9e59-cbeb5f71f72f","attributes":{"name":"logs_write_archives","display_name":"Logs + Archives","description":"The ability to add and edit log archive locations.","created":"2018-10-31T13:40:29.040786+00:00","group_name":"Logs","display_type":"write","restricted":false}},{"type":"permissions","id":"984a2bd4-d3b4-11e8-a1ff-a7f660d43029","attributes":{"name":"admin","display_name":"Privileged + Access","description":"This permission gives you the ability to view and edit + everything in your Datadog organization that does not have an explicitly defined + permission. This includes billing and usage, user, key, and organization management. + This permission is inclusive of all Standard access permissions.","created":"2018-10-19T15:35:23.734317+00:00","group_name":"General","display_type":"other","restricted":false}},{"type":"permissions","id":"7314eb20-aa58-11ea-95e2-6fb6e4a451d5","attributes":{"name":"security_monitoring_rules_read","display_name":"Detection + Rules","description":"The ability to read Detection rules.","created":"2020-06-09T13:52:25.279909+00:00","group_name":"Security + Monitoring","display_type":"read","restricted":false}},{"type":"permissions","id":"4d87d5f8-d8b1-11e9-a77a-eb9c8350d04f","attributes":{"name":"monitors_downtime","display_name":"Monitors + Manage Downtimes","description":"The ability to set downtimes for your organization. + A user with this permission can suppress alerts from any monitor using a downtime, + even if they do not have permission to edit those monitors explicitly.","created":"2019-09-16T18:39:23.306702+00:00","group_name":"Monitors","display_type":"other","restricted":false}},{"type":"permissions","id":"5e605652-dd12-11e8-9e53-375565b8970e","attributes":{"name":"logs_read_index_data","display_name":"Logs + Read Index Data","description":"The ability to read all or some log indexes. + Can be granted in a limited capacity per index from the Logs interface or + APIs. If granted via the Roles interface or API the permission has global + scope.","created":"2018-10-31T13:39:19.727450+00:00","group_name":"Logs","display_type":"read","restricted":false}},{"type":"permissions","id":"9ac1d8cc-e707-11ea-aa2d-73d37e989a9d","attributes":{"name":"user_access_invite","display_name":"Invite + User","description":"Allows users to invite other users to your organization.","created":"2020-08-25T19:17:23.539701+00:00","group_name":"User + Access","display_type":"other","restricted":false}},{"type":"permissions","id":"d90f6830-d3d8-11e9-a77a-b3404e5e9ee2","attributes":{"name":"dashboards_read","display_name":"Dashboards","description":"The + ability to view dashboards.","created":"2019-09-10T14:39:51.955175+00:00","group_name":"Dashboards","display_type":"read","restricted":true}},{"type":"permissions","id":"9de604d8-e707-11ea-aa2d-93f1a783b3a3","attributes":{"name":"user_access_manage","display_name":"Access + Management","description":"Grants the permission to disable users, manage + user roles and SAML-to-role mappings.","created":"2020-08-25T19:17:28.810412+00:00","group_name":"User + Access","display_type":"other","restricted":false}},{"type":"permissions","id":"4441648c-d8b1-11e9-a77a-1b899a04b304","attributes":{"name":"monitors_read","display_name":"Monitors","description":"The + ability to view monitors.","created":"2019-09-16T18:39:07.744297+00:00","group_name":"Monitors","display_type":"read","restricted":true}},{"type":"permissions","id":"811ac4ca-dd12-11e8-9e57-676a7f0beef9","attributes":{"name":"logs_write_pipelines","display_name":"Logs + Write Pipelines","description":"The ability to add and change log pipeline + configurations, including the ability to grant the Logs Write Processors permission + to other roles, for some or all pipelines. This permission also grants global + Log Processor Write implicitly.","created":"2018-10-31T13:40:17.996379+00:00","group_name":"Logs","display_type":"other","restricted":false}},{"type":"permissions","id":"b382b982-8535-11ea-93de-2bf1bdf20798","attributes":{"name":"logs_read_archives","display_name":"Logs + Archives","description":"The ability to read logs archives location and use + it for rehydration.","created":"2020-04-23T07:40:27.966133+00:00","group_name":"Logs","display_type":"read","restricted":false}},{"type":"roles","id":"04d76c1e-f38c-11ea-ac35-abc55a55e992","attributes":{"name":"ruby-Get-all-users-of-a-role-returns-OK-response-1599759328","created_at":"2020-09-10T17:35:29.040767+00:00","modified_at":"2020-09-10T17:35:29.040767+00:00"},"relationships":{"permissions":{"data":[{"type":"permissions","id":"d90f6830-d3d8-11e9-a77a-b3404e5e9ee2"},{"type":"permissions","id":"4441648c-d8b1-11e9-a77a-1b899a04b304"}]}}},{"type":"permissions","id":"1a92ede2-6cb2-11e9-99c6-2b3a4a0cdf0a","attributes":{"name":"logs_public_config_api","display_name":"Logs + Public Config API","description":"The ability to access and edit logs configurations + via the API.","created":"2019-05-02T08:13:01.731092+00:00","group_name":"Logs","display_type":"other","restricted":false}},{"type":"permissions","id":"7b516476-aa58-11ea-95e2-93718cd56369","attributes":{"name":"security_monitoring_rules_write","display_name":"Detection + Rules","description":"The ability to create and edit Detection rules.","created":"2020-06-09T13:52:39.099413+00:00","group_name":"Security + Monitoring","display_type":"write","restricted":false}},{"type":"permissions","id":"84aa3ae4-dd12-11e8-9e58-a373a514ccd0","attributes":{"name":"logs_write_processors","display_name":"Log + Write Processors","description":"The ability to add and change some or all + log processor configurations. Can be granted in a limited capacity per pipeline + to specific roles via the Logs interface or API. If granted via the Roles + interface or API the permission has global scope.","created":"2018-10-31T13:40:23.969725+00:00","group_name":"Logs","display_type":"write","restricted":false}},{"type":"permissions","id":"80de1ec0-aa58-11ea-95e2-aff381626d5d","attributes":{"name":"security_monitoring_signals_read","display_name":"Security + Signals","description":"The ability to view Security signals.","created":"2020-06-09T13:52:48.410398+00:00","group_name":"Security + Monitoring","display_type":"read","restricted":false}},{"type":"permissions","id":"979df720-aed7-11e9-99c6-a7eb8373165a","attributes":{"name":"logs_generate_metrics","display_name":"Log + Generate Metrics","description":"The ability to create custom metrics from + logs.","created":"2019-07-25T12:27:39.640758+00:00","group_name":"Logs","display_type":"other","restricted":false}},{"type":"permissions","id":"1af86ce4-7823-11ea-93dc-d7cad1b1c6cb","attributes":{"name":"logs_read_data","display_name":"Logs + Read Data","description":"The ability to read log data. Can be restricted + with restriction queries.","created":"2020-04-06T16:24:35.989108+00:00","group_name":"Logs","display_type":"read","restricted":false}},{"type":"permissions","id":"48ef71ea-d8b1-11e9-a77a-93f408470ad0","attributes":{"name":"monitors_write","display_name":"Monitors","description":"The + ability to change, mute, and delete individual monitors.","created":"2019-09-16T18:39:15.597109+00:00","group_name":"Monitors","display_type":"write","restricted":false}}],"meta":{"page":{"total_filtered_count":1,"total_count":1}},"data":[{"type":"users","id":"04f7e304-f38c-11ea-ac35-ebcec44e95a5","attributes":{"name":null,"handle":"ruby-get-all-users-of-a-role-returns-ok-response-1599759328@datadoghq.com","created_at":"2020-09-10T17:35:29.252935+00:00","email":"ruby-get-all-users-of-a-role-returns-ok-response-1599759328@datadoghq.com","icon":"https://secure.gravatar.com/avatar/dc0e989a334f9944034f610acc2ea13b?s=48&d=retro","title":null,"verified":false,"disabled":false,"allowed_login_methods":[],"status":"Pending"},"relationships":{"roles":{"data":[{"type":"roles","id":"04d76c1e-f38c-11ea-ac35-abc55a55e992"}]},"org":{"data":{"type":"orgs","id":"4dee724d-00cc-11ea-a77b-570c9d03c6c5"}}}}]}' + recorded_at: Thu, 10 Sep 2020 17:35:28 GMT +recorded_with: VCR 6.0.0 diff --git a/cassettes/features/v2/roles/Grant-permission-to-a-role-returns-OK-response.yml b/cassettes/features/v2/roles/Grant-permission-to-a-role-returns-OK-response.yml new file mode 100644 index 00000000000..728836f6138 --- /dev/null +++ b/cassettes/features/v2/roles/Grant-permission-to-a-role-returns-OK-response.yml @@ -0,0 +1,243 @@ +--- +http_interactions: +- request: + method: post + uri: https://api.datadoghq.com/api/v2/roles + body: + encoding: UTF-8 + string: '{"data":{"attributes":{"name":"ruby-Grant-permission-to-a-role-returns-OK-response-1599759327"},"type":"roles"}}' + headers: + User-Agent: + - OpenAPI-Generator/0.1.0/ruby + Content-Type: + - application/json + Accept: + - application/json + Expect: + - '' + response: + status: + code: 200 + message: OK + headers: + Date: + - Thu, 10 Sep 2020 17:35:27 GMT + Content-Type: + - application/json + Content-Length: + - '430' + Connection: + - keep-alive + Vary: + - Accept-Encoding + Pragma: + - no-cache + Cache-Control: + - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 17-Sep-2020 17:35:27 GMT; + secure; HttpOnly + X-Dd-Version: + - '35.3014711' + X-Ratelimit-Limit: + - '500' + X-Ratelimit-Period: + - '60' + X-Ratelimit-Reset: + - '33' + X-Ratelimit-Remaining: + - '484' + X-Dd-Debug: + - lqMB0JFM99VhRtxXIpWUr9JgjDFKxnlkUv1nxFsIcQfFO0NMuI7D2Hh8tiSgYzCo + Dd-Pool: + - dogweb + Content-Security-Policy: + - frame-ancestors 'self'; report-uri https://api.datadoghq.com/csp-report + X-Frame-Options: + - SAMEORIGIN + X-Content-Type-Options: + - nosniff + Strict-Transport-Security: + - max-age=15724800; + body: + encoding: UTF-8 + string: '{"data":{"type":"roles","id":"03ba35b4-f38c-11ea-ac35-5f64f8fb30c1","attributes":{"name":"ruby-Grant-permission-to-a-role-returns-OK-response-1599759327","created_at":"2020-09-10T17:35:27.171843+00:00","modified_at":"2020-09-10T17:35:27.171843+00:00"},"relationships":{"permissions":{"data":[{"type":"permissions","id":"d90f6830-d3d8-11e9-a77a-b3404e5e9ee2"},{"type":"permissions","id":"4441648c-d8b1-11e9-a77a-1b899a04b304"}]}}}}' + recorded_at: Thu, 10 Sep 2020 17:35:27 GMT +- request: + method: get + uri: https://api.datadoghq.com/api/v2/permissions + body: + encoding: US-ASCII + string: '' + headers: + User-Agent: + - OpenAPI-Generator/0.1.0/ruby + Content-Type: + - application/json + Accept: + - application/json + Expect: + - '' + response: + status: + code: 200 + message: OK + headers: + Date: + - Thu, 10 Sep 2020 17:35:27 GMT + Content-Type: + - application/json + Content-Length: + - '8679' + Connection: + - keep-alive + Vary: + - Accept-Encoding + Pragma: + - no-cache + Cache-Control: + - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 17-Sep-2020 17:35:27 GMT; + secure; HttpOnly + X-Dd-Version: + - '35.3014711' + X-Dd-Debug: + - WyPl7Uohyy2nhJ7RWrq85UM5TEMaIEIfRwQveR0xpNBygzZEP8S/qWubDM7SoNjW + Dd-Pool: + - dogweb + Content-Security-Policy: + - frame-ancestors 'self'; report-uri https://api.datadoghq.com/csp-report + X-Frame-Options: + - SAMEORIGIN + X-Content-Type-Options: + - nosniff + Strict-Transport-Security: + - max-age=15724800; + body: + encoding: UTF-8 + string: '{"data":[{"type":"permissions","id":"984a2bd4-d3b4-11e8-a1ff-a7f660d43029","attributes":{"name":"admin","display_name":"Privileged + Access","description":"This permission gives you the ability to view and edit + everything in your Datadog organization that does not have an explicitly defined + permission. This includes billing and usage, user, key, and organization management. + This permission is inclusive of all Standard access permissions.","created":"2018-10-19T15:35:23.734317+00:00","group_name":"General","display_type":"other","restricted":false}},{"type":"permissions","id":"984d2f00-d3b4-11e8-a200-bb47109e9987","attributes":{"name":"standard","display_name":"Standard + Access","description":"This permission gives you the ability to view and edit + components in your Datadog organization that do not have explicitly defined + permissions. This includes APM, Events, and other non-Account Management functionality.","created":"2018-10-19T15:35:23.756736+00:00","group_name":"General","display_type":"other","restricted":false}},{"type":"permissions","id":"5e605652-dd12-11e8-9e53-375565b8970e","attributes":{"name":"logs_read_index_data","display_name":"Logs + Read Index Data","description":"The ability to read all or some log indexes. + Can be granted in a limited capacity per index from the Logs interface or + APIs. If granted via the Roles interface or API the permission has global + scope.","created":"2018-10-31T13:39:19.727450+00:00","group_name":"Logs","display_type":"read","restricted":false}},{"type":"permissions","id":"62cc036c-dd12-11e8-9e54-db9995643092","attributes":{"name":"logs_modify_indexes","display_name":"Logs + Modify Indexes","description":"The ability to read and modify all indexes + in your account. This includes the ability to grant the Logs Read Index Data + and Logs Write Exclusion Filter permission to other roles, for some or all + indexes. This permission also grants global Log Index Read and Log Exclusion + Filter Write implicitly.","created":"2018-10-31T13:39:27.148615+00:00","group_name":"Logs","display_type":"other","restricted":false}},{"type":"permissions","id":"6f66600e-dd12-11e8-9e55-7f30fbb45e73","attributes":{"name":"logs_live_tail","display_name":"Logs + Live Tail Access","description":"The ability to view the live tail feed for + all log indexes, even if otherwise specifically restricted.","created":"2018-10-31T13:39:48.292879+00:00","group_name":"Logs","display_type":"read","restricted":false}},{"type":"permissions","id":"7d7c98ac-dd12-11e8-9e56-93700598622d","attributes":{"name":"logs_write_exclusion_filters","display_name":"Logs + Write Exclusion Filters","description":"The ability to add and change exclusion + filters for all or some log indexes. Can be granted in a limited capacity + per index to specific roles via the Logs interface or API. If granted from + the Roles interface or API, the permission has global scope.","created":"2018-10-31T13:40:11.926613+00:00","group_name":"Logs","display_type":"write","restricted":false}},{"type":"permissions","id":"811ac4ca-dd12-11e8-9e57-676a7f0beef9","attributes":{"name":"logs_write_pipelines","display_name":"Logs + Write Pipelines","description":"The ability to add and change log pipeline + configurations, including the ability to grant the Logs Write Processors permission + to other roles, for some or all pipelines. This permission also grants global + Log Processor Write implicitly.","created":"2018-10-31T13:40:17.996379+00:00","group_name":"Logs","display_type":"other","restricted":false}},{"type":"permissions","id":"84aa3ae4-dd12-11e8-9e58-a373a514ccd0","attributes":{"name":"logs_write_processors","display_name":"Log + Write Processors","description":"The ability to add and change some or all + log processor configurations. Can be granted in a limited capacity per pipeline + to specific roles via the Logs interface or API. If granted via the Roles + interface or API the permission has global scope.","created":"2018-10-31T13:40:23.969725+00:00","group_name":"Logs","display_type":"write","restricted":false}},{"type":"permissions","id":"87b00304-dd12-11e8-9e59-cbeb5f71f72f","attributes":{"name":"logs_write_archives","display_name":"Logs + Archives","description":"The ability to add and edit log archive locations.","created":"2018-10-31T13:40:29.040786+00:00","group_name":"Logs","display_type":"write","restricted":false}},{"type":"permissions","id":"1a92ede2-6cb2-11e9-99c6-2b3a4a0cdf0a","attributes":{"name":"logs_public_config_api","display_name":"Logs + Public Config API","description":"The ability to access and edit logs configurations + via the API.","created":"2019-05-02T08:13:01.731092+00:00","group_name":"Logs","display_type":"other","restricted":false}},{"type":"permissions","id":"979df720-aed7-11e9-99c6-a7eb8373165a","attributes":{"name":"logs_generate_metrics","display_name":"Log + Generate Metrics","description":"The ability to create custom metrics from + logs.","created":"2019-07-25T12:27:39.640758+00:00","group_name":"Logs","display_type":"other","restricted":false}},{"type":"permissions","id":"d90f6830-d3d8-11e9-a77a-b3404e5e9ee2","attributes":{"name":"dashboards_read","display_name":"Dashboards","description":"The + ability to view dashboards.","created":"2019-09-10T14:39:51.955175+00:00","group_name":"Dashboards","display_type":"read","restricted":true}},{"type":"permissions","id":"d90f6831-d3d8-11e9-a77a-4fd230ddbc6a","attributes":{"name":"dashboards_write","display_name":"Dashboards","description":"The + ability to create and change dashboards.","created":"2019-09-10T14:39:51.962944+00:00","group_name":"Dashboards","display_type":"write","restricted":false}},{"type":"permissions","id":"d90f6832-d3d8-11e9-a77a-bf8a2607f864","attributes":{"name":"dashboards_public_share","display_name":"Dashboards + Share","description":"The ability to share dashboards externally.","created":"2019-09-10T14:39:51.967094+00:00","group_name":"Dashboards","display_type":"other","restricted":false}},{"type":"permissions","id":"4441648c-d8b1-11e9-a77a-1b899a04b304","attributes":{"name":"monitors_read","display_name":"Monitors","description":"The + ability to view monitors.","created":"2019-09-16T18:39:07.744297+00:00","group_name":"Monitors","display_type":"read","restricted":true}},{"type":"permissions","id":"48ef71ea-d8b1-11e9-a77a-93f408470ad0","attributes":{"name":"monitors_write","display_name":"Monitors","description":"The + ability to change, mute, and delete individual monitors.","created":"2019-09-16T18:39:15.597109+00:00","group_name":"Monitors","display_type":"write","restricted":false}},{"type":"permissions","id":"4d87d5f8-d8b1-11e9-a77a-eb9c8350d04f","attributes":{"name":"monitors_downtime","display_name":"Monitors + Manage Downtimes","description":"The ability to set downtimes for your organization. + A user with this permission can suppress alerts from any monitor using a downtime, + even if they do not have permission to edit those monitors explicitly.","created":"2019-09-16T18:39:23.306702+00:00","group_name":"Monitors","display_type":"other","restricted":false}},{"type":"permissions","id":"1af86ce4-7823-11ea-93dc-d7cad1b1c6cb","attributes":{"name":"logs_read_data","display_name":"Logs + Read Data","description":"The ability to read log data. Can be restricted + with restriction queries.","created":"2020-04-06T16:24:35.989108+00:00","group_name":"Logs","display_type":"read","restricted":false}},{"type":"permissions","id":"b382b982-8535-11ea-93de-2bf1bdf20798","attributes":{"name":"logs_read_archives","display_name":"Logs + Archives","description":"The ability to read logs archives location and use + it for rehydration.","created":"2020-04-23T07:40:27.966133+00:00","group_name":"Logs","display_type":"read","restricted":false}},{"type":"permissions","id":"7314eb20-aa58-11ea-95e2-6fb6e4a451d5","attributes":{"name":"security_monitoring_rules_read","display_name":"Detection + Rules","description":"The ability to read Detection rules.","created":"2020-06-09T13:52:25.279909+00:00","group_name":"Security + Monitoring","display_type":"read","restricted":false}},{"type":"permissions","id":"7b516476-aa58-11ea-95e2-93718cd56369","attributes":{"name":"security_monitoring_rules_write","display_name":"Detection + Rules","description":"The ability to create and edit Detection rules.","created":"2020-06-09T13:52:39.099413+00:00","group_name":"Security + Monitoring","display_type":"write","restricted":false}},{"type":"permissions","id":"80de1ec0-aa58-11ea-95e2-aff381626d5d","attributes":{"name":"security_monitoring_signals_read","display_name":"Security + Signals","description":"The ability to view Security signals.","created":"2020-06-09T13:52:48.410398+00:00","group_name":"Security + Monitoring","display_type":"read","restricted":false}}]}' + recorded_at: Thu, 10 Sep 2020 17:35:27 GMT +- request: + method: post + uri: https://api.datadoghq.com/api/v2/roles/03ba35b4-f38c-11ea-ac35-5f64f8fb30c1/permissions + body: + encoding: UTF-8 + string: '{"data":{"id":"984a2bd4-d3b4-11e8-a1ff-a7f660d43029","type":"permissions"}}' + headers: + User-Agent: + - OpenAPI-Generator/0.1.0/ruby + Content-Type: + - application/json + Accept: + - application/json + Expect: + - '' + response: + status: + code: 200 + message: OK + headers: + Date: + - Thu, 10 Sep 2020 17:35:27 GMT + Content-Type: + - application/json + Content-Length: + - '1134' + Connection: + - keep-alive + Vary: + - Accept-Encoding + Pragma: + - no-cache + Cache-Control: + - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 17-Sep-2020 17:35:27 GMT; + secure; HttpOnly + X-Dd-Version: + - '35.3014711' + X-Ratelimit-Limit: + - '500' + X-Ratelimit-Period: + - '60' + X-Ratelimit-Reset: + - '33' + X-Ratelimit-Remaining: + - '483' + X-Dd-Debug: + - kU8oLj3zrGL/NsMXNRXUrvjc5SX7m5Zi20YpnuFt2mcszekWqSDwHwhFasJc2aus + Dd-Pool: + - dogweb + Content-Security-Policy: + - frame-ancestors 'self'; report-uri https://api.datadoghq.com/csp-report + X-Frame-Options: + - SAMEORIGIN + X-Content-Type-Options: + - nosniff + Strict-Transport-Security: + - max-age=15724800; + body: + encoding: UTF-8 + string: '{"data":[{"type":"permissions","id":"984a2bd4-d3b4-11e8-a1ff-a7f660d43029","attributes":{"name":"admin","display_name":"Privileged + Access","description":"This permission gives you the ability to view and edit + everything in your Datadog organization that does not have an explicitly defined + permission. This includes billing and usage, user, key, and organization management. + This permission is inclusive of all Standard access permissions.","created":"2018-10-19T15:35:23.734317+00:00","group_name":"General","display_type":"other","restricted":false}},{"type":"permissions","id":"d90f6830-d3d8-11e9-a77a-b3404e5e9ee2","attributes":{"name":"dashboards_read","display_name":"Dashboards","description":"The + ability to view dashboards.","created":"2019-09-10T14:39:51.955175+00:00","group_name":"Dashboards","display_type":"read","restricted":true}},{"type":"permissions","id":"4441648c-d8b1-11e9-a77a-1b899a04b304","attributes":{"name":"monitors_read","display_name":"Monitors","description":"The + ability to view monitors.","created":"2019-09-16T18:39:07.744297+00:00","group_name":"Monitors","display_type":"read","restricted":true}}]}' + recorded_at: Thu, 10 Sep 2020 17:35:27 GMT +recorded_with: VCR 6.0.0 diff --git a/cassettes/features/v2/roles/List-permissions-for-a-role-returns-OK-response.yml b/cassettes/features/v2/roles/List-permissions-for-a-role-returns-OK-response.yml new file mode 100644 index 00000000000..a483b86dba9 --- /dev/null +++ b/cassettes/features/v2/roles/List-permissions-for-a-role-returns-OK-response.yml @@ -0,0 +1,312 @@ +--- +http_interactions: +- request: + method: post + uri: https://api.datadoghq.com/api/v2/roles + body: + encoding: UTF-8 + string: '{"data":{"attributes":{"name":"ruby-List-permissions-for-a-role-returns-OK-response-1599759326"},"type":"roles"}}' + headers: + User-Agent: + - OpenAPI-Generator/0.1.0/ruby + Content-Type: + - application/json + Accept: + - application/json + Expect: + - '' + response: + status: + code: 200 + message: OK + headers: + Date: + - Thu, 10 Sep 2020 17:35:26 GMT + Content-Type: + - application/json + Content-Length: + - '431' + Connection: + - keep-alive + Vary: + - Accept-Encoding + Pragma: + - no-cache + Cache-Control: + - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 17-Sep-2020 17:35:26 GMT; + secure; HttpOnly + X-Dd-Version: + - '35.3014711' + X-Ratelimit-Limit: + - '500' + X-Ratelimit-Period: + - '60' + X-Ratelimit-Reset: + - '34' + X-Ratelimit-Remaining: + - '487' + X-Dd-Debug: + - R1+MRQNzRD0HfjBgLVIjclr4gto/LBUvaJZAn2oF8rsW7iHushLxjdvt+30jZQLP + Dd-Pool: + - dogweb + Content-Security-Policy: + - frame-ancestors 'self'; report-uri https://api.datadoghq.com/csp-report + X-Frame-Options: + - SAMEORIGIN + X-Content-Type-Options: + - nosniff + Strict-Transport-Security: + - max-age=15724800; + body: + encoding: UTF-8 + string: '{"data":{"type":"roles","id":"03486614-f38c-11ea-ac35-4bc74e9a25fb","attributes":{"name":"ruby-List-permissions-for-a-role-returns-OK-response-1599759326","created_at":"2020-09-10T17:35:26.426085+00:00","modified_at":"2020-09-10T17:35:26.426085+00:00"},"relationships":{"permissions":{"data":[{"type":"permissions","id":"d90f6830-d3d8-11e9-a77a-b3404e5e9ee2"},{"type":"permissions","id":"4441648c-d8b1-11e9-a77a-1b899a04b304"}]}}}}' + recorded_at: Thu, 10 Sep 2020 17:35:26 GMT +- request: + method: get + uri: https://api.datadoghq.com/api/v2/permissions + body: + encoding: US-ASCII + string: '' + headers: + User-Agent: + - OpenAPI-Generator/0.1.0/ruby + Content-Type: + - application/json + Accept: + - application/json + Expect: + - '' + response: + status: + code: 200 + message: OK + headers: + Date: + - Thu, 10 Sep 2020 17:35:26 GMT + Content-Type: + - application/json + Content-Length: + - '8679' + Connection: + - keep-alive + Vary: + - Accept-Encoding + Pragma: + - no-cache + Cache-Control: + - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 17-Sep-2020 17:35:26 GMT; + secure; HttpOnly + X-Dd-Version: + - '35.3014711' + X-Dd-Debug: + - 1KMr27QHAQHDfYPOMxdkaV+JBh/1ku8yD6KIlLr2d217iUuzksir9gh+Nfb7tVhq + Dd-Pool: + - dogweb + Content-Security-Policy: + - frame-ancestors 'self'; report-uri https://api.datadoghq.com/csp-report + X-Frame-Options: + - SAMEORIGIN + X-Content-Type-Options: + - nosniff + Strict-Transport-Security: + - max-age=15724800; + body: + encoding: UTF-8 + string: '{"data":[{"type":"permissions","id":"984a2bd4-d3b4-11e8-a1ff-a7f660d43029","attributes":{"name":"admin","display_name":"Privileged + Access","description":"This permission gives you the ability to view and edit + everything in your Datadog organization that does not have an explicitly defined + permission. This includes billing and usage, user, key, and organization management. + This permission is inclusive of all Standard access permissions.","created":"2018-10-19T15:35:23.734317+00:00","group_name":"General","display_type":"other","restricted":false}},{"type":"permissions","id":"984d2f00-d3b4-11e8-a200-bb47109e9987","attributes":{"name":"standard","display_name":"Standard + Access","description":"This permission gives you the ability to view and edit + components in your Datadog organization that do not have explicitly defined + permissions. This includes APM, Events, and other non-Account Management functionality.","created":"2018-10-19T15:35:23.756736+00:00","group_name":"General","display_type":"other","restricted":false}},{"type":"permissions","id":"5e605652-dd12-11e8-9e53-375565b8970e","attributes":{"name":"logs_read_index_data","display_name":"Logs + Read Index Data","description":"The ability to read all or some log indexes. + Can be granted in a limited capacity per index from the Logs interface or + APIs. If granted via the Roles interface or API the permission has global + scope.","created":"2018-10-31T13:39:19.727450+00:00","group_name":"Logs","display_type":"read","restricted":false}},{"type":"permissions","id":"62cc036c-dd12-11e8-9e54-db9995643092","attributes":{"name":"logs_modify_indexes","display_name":"Logs + Modify Indexes","description":"The ability to read and modify all indexes + in your account. This includes the ability to grant the Logs Read Index Data + and Logs Write Exclusion Filter permission to other roles, for some or all + indexes. This permission also grants global Log Index Read and Log Exclusion + Filter Write implicitly.","created":"2018-10-31T13:39:27.148615+00:00","group_name":"Logs","display_type":"other","restricted":false}},{"type":"permissions","id":"6f66600e-dd12-11e8-9e55-7f30fbb45e73","attributes":{"name":"logs_live_tail","display_name":"Logs + Live Tail Access","description":"The ability to view the live tail feed for + all log indexes, even if otherwise specifically restricted.","created":"2018-10-31T13:39:48.292879+00:00","group_name":"Logs","display_type":"read","restricted":false}},{"type":"permissions","id":"7d7c98ac-dd12-11e8-9e56-93700598622d","attributes":{"name":"logs_write_exclusion_filters","display_name":"Logs + Write Exclusion Filters","description":"The ability to add and change exclusion + filters for all or some log indexes. Can be granted in a limited capacity + per index to specific roles via the Logs interface or API. If granted from + the Roles interface or API, the permission has global scope.","created":"2018-10-31T13:40:11.926613+00:00","group_name":"Logs","display_type":"write","restricted":false}},{"type":"permissions","id":"811ac4ca-dd12-11e8-9e57-676a7f0beef9","attributes":{"name":"logs_write_pipelines","display_name":"Logs + Write Pipelines","description":"The ability to add and change log pipeline + configurations, including the ability to grant the Logs Write Processors permission + to other roles, for some or all pipelines. This permission also grants global + Log Processor Write implicitly.","created":"2018-10-31T13:40:17.996379+00:00","group_name":"Logs","display_type":"other","restricted":false}},{"type":"permissions","id":"84aa3ae4-dd12-11e8-9e58-a373a514ccd0","attributes":{"name":"logs_write_processors","display_name":"Log + Write Processors","description":"The ability to add and change some or all + log processor configurations. Can be granted in a limited capacity per pipeline + to specific roles via the Logs interface or API. If granted via the Roles + interface or API the permission has global scope.","created":"2018-10-31T13:40:23.969725+00:00","group_name":"Logs","display_type":"write","restricted":false}},{"type":"permissions","id":"87b00304-dd12-11e8-9e59-cbeb5f71f72f","attributes":{"name":"logs_write_archives","display_name":"Logs + Archives","description":"The ability to add and edit log archive locations.","created":"2018-10-31T13:40:29.040786+00:00","group_name":"Logs","display_type":"write","restricted":false}},{"type":"permissions","id":"1a92ede2-6cb2-11e9-99c6-2b3a4a0cdf0a","attributes":{"name":"logs_public_config_api","display_name":"Logs + Public Config API","description":"The ability to access and edit logs configurations + via the API.","created":"2019-05-02T08:13:01.731092+00:00","group_name":"Logs","display_type":"other","restricted":false}},{"type":"permissions","id":"979df720-aed7-11e9-99c6-a7eb8373165a","attributes":{"name":"logs_generate_metrics","display_name":"Log + Generate Metrics","description":"The ability to create custom metrics from + logs.","created":"2019-07-25T12:27:39.640758+00:00","group_name":"Logs","display_type":"other","restricted":false}},{"type":"permissions","id":"d90f6830-d3d8-11e9-a77a-b3404e5e9ee2","attributes":{"name":"dashboards_read","display_name":"Dashboards","description":"The + ability to view dashboards.","created":"2019-09-10T14:39:51.955175+00:00","group_name":"Dashboards","display_type":"read","restricted":true}},{"type":"permissions","id":"d90f6831-d3d8-11e9-a77a-4fd230ddbc6a","attributes":{"name":"dashboards_write","display_name":"Dashboards","description":"The + ability to create and change dashboards.","created":"2019-09-10T14:39:51.962944+00:00","group_name":"Dashboards","display_type":"write","restricted":false}},{"type":"permissions","id":"d90f6832-d3d8-11e9-a77a-bf8a2607f864","attributes":{"name":"dashboards_public_share","display_name":"Dashboards + Share","description":"The ability to share dashboards externally.","created":"2019-09-10T14:39:51.967094+00:00","group_name":"Dashboards","display_type":"other","restricted":false}},{"type":"permissions","id":"4441648c-d8b1-11e9-a77a-1b899a04b304","attributes":{"name":"monitors_read","display_name":"Monitors","description":"The + ability to view monitors.","created":"2019-09-16T18:39:07.744297+00:00","group_name":"Monitors","display_type":"read","restricted":true}},{"type":"permissions","id":"48ef71ea-d8b1-11e9-a77a-93f408470ad0","attributes":{"name":"monitors_write","display_name":"Monitors","description":"The + ability to change, mute, and delete individual monitors.","created":"2019-09-16T18:39:15.597109+00:00","group_name":"Monitors","display_type":"write","restricted":false}},{"type":"permissions","id":"4d87d5f8-d8b1-11e9-a77a-eb9c8350d04f","attributes":{"name":"monitors_downtime","display_name":"Monitors + Manage Downtimes","description":"The ability to set downtimes for your organization. + A user with this permission can suppress alerts from any monitor using a downtime, + even if they do not have permission to edit those monitors explicitly.","created":"2019-09-16T18:39:23.306702+00:00","group_name":"Monitors","display_type":"other","restricted":false}},{"type":"permissions","id":"1af86ce4-7823-11ea-93dc-d7cad1b1c6cb","attributes":{"name":"logs_read_data","display_name":"Logs + Read Data","description":"The ability to read log data. Can be restricted + with restriction queries.","created":"2020-04-06T16:24:35.989108+00:00","group_name":"Logs","display_type":"read","restricted":false}},{"type":"permissions","id":"b382b982-8535-11ea-93de-2bf1bdf20798","attributes":{"name":"logs_read_archives","display_name":"Logs + Archives","description":"The ability to read logs archives location and use + it for rehydration.","created":"2020-04-23T07:40:27.966133+00:00","group_name":"Logs","display_type":"read","restricted":false}},{"type":"permissions","id":"7314eb20-aa58-11ea-95e2-6fb6e4a451d5","attributes":{"name":"security_monitoring_rules_read","display_name":"Detection + Rules","description":"The ability to read Detection rules.","created":"2020-06-09T13:52:25.279909+00:00","group_name":"Security + Monitoring","display_type":"read","restricted":false}},{"type":"permissions","id":"7b516476-aa58-11ea-95e2-93718cd56369","attributes":{"name":"security_monitoring_rules_write","display_name":"Detection + Rules","description":"The ability to create and edit Detection rules.","created":"2020-06-09T13:52:39.099413+00:00","group_name":"Security + Monitoring","display_type":"write","restricted":false}},{"type":"permissions","id":"80de1ec0-aa58-11ea-95e2-aff381626d5d","attributes":{"name":"security_monitoring_signals_read","display_name":"Security + Signals","description":"The ability to view Security signals.","created":"2020-06-09T13:52:48.410398+00:00","group_name":"Security + Monitoring","display_type":"read","restricted":false}}]}' + recorded_at: Thu, 10 Sep 2020 17:35:26 GMT +- request: + method: post + uri: https://api.datadoghq.com/api/v2/roles/03486614-f38c-11ea-ac35-4bc74e9a25fb/permissions + body: + encoding: UTF-8 + string: '{"data":{"id":"984a2bd4-d3b4-11e8-a1ff-a7f660d43029","type":"permissions"}}' + headers: + User-Agent: + - OpenAPI-Generator/0.1.0/ruby + Content-Type: + - application/json + Accept: + - application/json + Expect: + - '' + response: + status: + code: 200 + message: OK + headers: + Date: + - Thu, 10 Sep 2020 17:35:26 GMT + Content-Type: + - application/json + Content-Length: + - '1134' + Connection: + - keep-alive + Vary: + - Accept-Encoding + Pragma: + - no-cache + Cache-Control: + - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 17-Sep-2020 17:35:26 GMT; + secure; HttpOnly + X-Dd-Version: + - '35.3014711' + X-Ratelimit-Limit: + - '500' + X-Ratelimit-Period: + - '60' + X-Ratelimit-Reset: + - '34' + X-Ratelimit-Remaining: + - '486' + X-Dd-Debug: + - QgQu/iPnCQXRgWPQKBm0M4xipFcbwl50MnRHSjKNayyZv/6KjuJNpOhY5+udaeL8 + Dd-Pool: + - dogweb + Content-Security-Policy: + - frame-ancestors 'self'; report-uri https://api.datadoghq.com/csp-report + X-Frame-Options: + - SAMEORIGIN + X-Content-Type-Options: + - nosniff + Strict-Transport-Security: + - max-age=15724800; + body: + encoding: UTF-8 + string: '{"data":[{"type":"permissions","id":"984a2bd4-d3b4-11e8-a1ff-a7f660d43029","attributes":{"name":"admin","display_name":"Privileged + Access","description":"This permission gives you the ability to view and edit + everything in your Datadog organization that does not have an explicitly defined + permission. This includes billing and usage, user, key, and organization management. + This permission is inclusive of all Standard access permissions.","created":"2018-10-19T15:35:23.734317+00:00","group_name":"General","display_type":"other","restricted":false}},{"type":"permissions","id":"d90f6830-d3d8-11e9-a77a-b3404e5e9ee2","attributes":{"name":"dashboards_read","display_name":"Dashboards","description":"The + ability to view dashboards.","created":"2019-09-10T14:39:51.955175+00:00","group_name":"Dashboards","display_type":"read","restricted":true}},{"type":"permissions","id":"4441648c-d8b1-11e9-a77a-1b899a04b304","attributes":{"name":"monitors_read","display_name":"Monitors","description":"The + ability to view monitors.","created":"2019-09-16T18:39:07.744297+00:00","group_name":"Monitors","display_type":"read","restricted":true}}]}' + recorded_at: Thu, 10 Sep 2020 17:35:26 GMT +- request: + method: get + uri: https://api.datadoghq.com/api/v2/roles/03486614-f38c-11ea-ac35-4bc74e9a25fb/permissions + body: + encoding: US-ASCII + string: '' + headers: + User-Agent: + - OpenAPI-Generator/0.1.0/ruby + Content-Type: + - application/json + Accept: + - application/json + Expect: + - '' + response: + status: + code: 200 + message: OK + headers: + Date: + - Thu, 10 Sep 2020 17:35:26 GMT + Content-Type: + - application/json + Content-Length: + - '1134' + Connection: + - keep-alive + Vary: + - Accept-Encoding + Pragma: + - no-cache + Cache-Control: + - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 17-Sep-2020 17:35:26 GMT; + secure; HttpOnly + X-Dd-Version: + - '35.3014790' + X-Ratelimit-Limit: + - '500' + X-Ratelimit-Period: + - '60' + X-Ratelimit-Reset: + - '34' + X-Ratelimit-Remaining: + - '485' + X-Dd-Debug: + - ylBElmyGwKGD9U7vyDU/qHCi6QpDzALB8kY9TyVsQmpRCm4VjPYEdilo336ix6wj + Dd-Pool: + - dogweb + Content-Security-Policy: + - frame-ancestors 'self'; report-uri https://api.datadoghq.com/csp-report + X-Frame-Options: + - SAMEORIGIN + X-Content-Type-Options: + - nosniff + Strict-Transport-Security: + - max-age=15724800; + body: + encoding: UTF-8 + string: '{"data":[{"type":"permissions","id":"984a2bd4-d3b4-11e8-a1ff-a7f660d43029","attributes":{"name":"admin","display_name":"Privileged + Access","description":"This permission gives you the ability to view and edit + everything in your Datadog organization that does not have an explicitly defined + permission. This includes billing and usage, user, key, and organization management. + This permission is inclusive of all Standard access permissions.","created":"2018-10-19T15:35:23.734317+00:00","group_name":"General","display_type":"other","restricted":false}},{"type":"permissions","id":"d90f6830-d3d8-11e9-a77a-b3404e5e9ee2","attributes":{"name":"dashboards_read","display_name":"Dashboards","description":"The + ability to view dashboards.","created":"2019-09-10T14:39:51.955175+00:00","group_name":"Dashboards","display_type":"read","restricted":true}},{"type":"permissions","id":"4441648c-d8b1-11e9-a77a-1b899a04b304","attributes":{"name":"monitors_read","display_name":"Monitors","description":"The + ability to view monitors.","created":"2019-09-16T18:39:07.744297+00:00","group_name":"Monitors","display_type":"read","restricted":true}}]}' + recorded_at: Thu, 10 Sep 2020 17:35:26 GMT +recorded_with: VCR 6.0.0 diff --git a/cassettes/features/v2/roles/List-permissions-returns-OK-response.yml b/cassettes/features/v2/roles/List-permissions-returns-OK-response.yml new file mode 100644 index 00000000000..4731173a297 --- /dev/null +++ b/cassettes/features/v2/roles/List-permissions-returns-OK-response.yml @@ -0,0 +1,111 @@ +--- +http_interactions: +- request: + method: get + uri: https://api.datadoghq.com/api/v2/permissions + body: + encoding: US-ASCII + string: '' + headers: + User-Agent: + - OpenAPI-Generator/0.1.0/ruby + Content-Type: + - application/json + Accept: + - application/json + Expect: + - '' + response: + status: + code: 200 + message: OK + headers: + Date: + - Thu, 10 Sep 2020 17:35:23 GMT + Content-Type: + - application/json + Content-Length: + - '8679' + Connection: + - keep-alive + Vary: + - Accept-Encoding + Pragma: + - no-cache + Cache-Control: + - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 17-Sep-2020 17:35:23 GMT; + secure; HttpOnly + X-Dd-Version: + - '35.3014711' + X-Dd-Debug: + - JNqosVnYZSQ7BJz2SdUzgd0lZoe324+6qjMfnw6n7k+AAaHedGqZwTn3q/znaPwm + Dd-Pool: + - dogweb + Content-Security-Policy: + - frame-ancestors 'self'; report-uri https://api.datadoghq.com/csp-report + X-Frame-Options: + - SAMEORIGIN + X-Content-Type-Options: + - nosniff + Strict-Transport-Security: + - max-age=15724800; + body: + encoding: UTF-8 + string: '{"data":[{"type":"permissions","id":"984a2bd4-d3b4-11e8-a1ff-a7f660d43029","attributes":{"name":"admin","display_name":"Privileged + Access","description":"This permission gives you the ability to view and edit + everything in your Datadog organization that does not have an explicitly defined + permission. This includes billing and usage, user, key, and organization management. + This permission is inclusive of all Standard access permissions.","created":"2018-10-19T15:35:23.734317+00:00","group_name":"General","display_type":"other","restricted":false}},{"type":"permissions","id":"984d2f00-d3b4-11e8-a200-bb47109e9987","attributes":{"name":"standard","display_name":"Standard + Access","description":"This permission gives you the ability to view and edit + components in your Datadog organization that do not have explicitly defined + permissions. This includes APM, Events, and other non-Account Management functionality.","created":"2018-10-19T15:35:23.756736+00:00","group_name":"General","display_type":"other","restricted":false}},{"type":"permissions","id":"5e605652-dd12-11e8-9e53-375565b8970e","attributes":{"name":"logs_read_index_data","display_name":"Logs + Read Index Data","description":"The ability to read all or some log indexes. + Can be granted in a limited capacity per index from the Logs interface or + APIs. If granted via the Roles interface or API the permission has global + scope.","created":"2018-10-31T13:39:19.727450+00:00","group_name":"Logs","display_type":"read","restricted":false}},{"type":"permissions","id":"62cc036c-dd12-11e8-9e54-db9995643092","attributes":{"name":"logs_modify_indexes","display_name":"Logs + Modify Indexes","description":"The ability to read and modify all indexes + in your account. This includes the ability to grant the Logs Read Index Data + and Logs Write Exclusion Filter permission to other roles, for some or all + indexes. This permission also grants global Log Index Read and Log Exclusion + Filter Write implicitly.","created":"2018-10-31T13:39:27.148615+00:00","group_name":"Logs","display_type":"other","restricted":false}},{"type":"permissions","id":"6f66600e-dd12-11e8-9e55-7f30fbb45e73","attributes":{"name":"logs_live_tail","display_name":"Logs + Live Tail Access","description":"The ability to view the live tail feed for + all log indexes, even if otherwise specifically restricted.","created":"2018-10-31T13:39:48.292879+00:00","group_name":"Logs","display_type":"read","restricted":false}},{"type":"permissions","id":"7d7c98ac-dd12-11e8-9e56-93700598622d","attributes":{"name":"logs_write_exclusion_filters","display_name":"Logs + Write Exclusion Filters","description":"The ability to add and change exclusion + filters for all or some log indexes. Can be granted in a limited capacity + per index to specific roles via the Logs interface or API. If granted from + the Roles interface or API, the permission has global scope.","created":"2018-10-31T13:40:11.926613+00:00","group_name":"Logs","display_type":"write","restricted":false}},{"type":"permissions","id":"811ac4ca-dd12-11e8-9e57-676a7f0beef9","attributes":{"name":"logs_write_pipelines","display_name":"Logs + Write Pipelines","description":"The ability to add and change log pipeline + configurations, including the ability to grant the Logs Write Processors permission + to other roles, for some or all pipelines. This permission also grants global + Log Processor Write implicitly.","created":"2018-10-31T13:40:17.996379+00:00","group_name":"Logs","display_type":"other","restricted":false}},{"type":"permissions","id":"84aa3ae4-dd12-11e8-9e58-a373a514ccd0","attributes":{"name":"logs_write_processors","display_name":"Log + Write Processors","description":"The ability to add and change some or all + log processor configurations. Can be granted in a limited capacity per pipeline + to specific roles via the Logs interface or API. If granted via the Roles + interface or API the permission has global scope.","created":"2018-10-31T13:40:23.969725+00:00","group_name":"Logs","display_type":"write","restricted":false}},{"type":"permissions","id":"87b00304-dd12-11e8-9e59-cbeb5f71f72f","attributes":{"name":"logs_write_archives","display_name":"Logs + Archives","description":"The ability to add and edit log archive locations.","created":"2018-10-31T13:40:29.040786+00:00","group_name":"Logs","display_type":"write","restricted":false}},{"type":"permissions","id":"1a92ede2-6cb2-11e9-99c6-2b3a4a0cdf0a","attributes":{"name":"logs_public_config_api","display_name":"Logs + Public Config API","description":"The ability to access and edit logs configurations + via the API.","created":"2019-05-02T08:13:01.731092+00:00","group_name":"Logs","display_type":"other","restricted":false}},{"type":"permissions","id":"979df720-aed7-11e9-99c6-a7eb8373165a","attributes":{"name":"logs_generate_metrics","display_name":"Log + Generate Metrics","description":"The ability to create custom metrics from + logs.","created":"2019-07-25T12:27:39.640758+00:00","group_name":"Logs","display_type":"other","restricted":false}},{"type":"permissions","id":"d90f6830-d3d8-11e9-a77a-b3404e5e9ee2","attributes":{"name":"dashboards_read","display_name":"Dashboards","description":"The + ability to view dashboards.","created":"2019-09-10T14:39:51.955175+00:00","group_name":"Dashboards","display_type":"read","restricted":true}},{"type":"permissions","id":"d90f6831-d3d8-11e9-a77a-4fd230ddbc6a","attributes":{"name":"dashboards_write","display_name":"Dashboards","description":"The + ability to create and change dashboards.","created":"2019-09-10T14:39:51.962944+00:00","group_name":"Dashboards","display_type":"write","restricted":false}},{"type":"permissions","id":"d90f6832-d3d8-11e9-a77a-bf8a2607f864","attributes":{"name":"dashboards_public_share","display_name":"Dashboards + Share","description":"The ability to share dashboards externally.","created":"2019-09-10T14:39:51.967094+00:00","group_name":"Dashboards","display_type":"other","restricted":false}},{"type":"permissions","id":"4441648c-d8b1-11e9-a77a-1b899a04b304","attributes":{"name":"monitors_read","display_name":"Monitors","description":"The + ability to view monitors.","created":"2019-09-16T18:39:07.744297+00:00","group_name":"Monitors","display_type":"read","restricted":true}},{"type":"permissions","id":"48ef71ea-d8b1-11e9-a77a-93f408470ad0","attributes":{"name":"monitors_write","display_name":"Monitors","description":"The + ability to change, mute, and delete individual monitors.","created":"2019-09-16T18:39:15.597109+00:00","group_name":"Monitors","display_type":"write","restricted":false}},{"type":"permissions","id":"4d87d5f8-d8b1-11e9-a77a-eb9c8350d04f","attributes":{"name":"monitors_downtime","display_name":"Monitors + Manage Downtimes","description":"The ability to set downtimes for your organization. + A user with this permission can suppress alerts from any monitor using a downtime, + even if they do not have permission to edit those monitors explicitly.","created":"2019-09-16T18:39:23.306702+00:00","group_name":"Monitors","display_type":"other","restricted":false}},{"type":"permissions","id":"1af86ce4-7823-11ea-93dc-d7cad1b1c6cb","attributes":{"name":"logs_read_data","display_name":"Logs + Read Data","description":"The ability to read log data. Can be restricted + with restriction queries.","created":"2020-04-06T16:24:35.989108+00:00","group_name":"Logs","display_type":"read","restricted":false}},{"type":"permissions","id":"b382b982-8535-11ea-93de-2bf1bdf20798","attributes":{"name":"logs_read_archives","display_name":"Logs + Archives","description":"The ability to read logs archives location and use + it for rehydration.","created":"2020-04-23T07:40:27.966133+00:00","group_name":"Logs","display_type":"read","restricted":false}},{"type":"permissions","id":"7314eb20-aa58-11ea-95e2-6fb6e4a451d5","attributes":{"name":"security_monitoring_rules_read","display_name":"Detection + Rules","description":"The ability to read Detection rules.","created":"2020-06-09T13:52:25.279909+00:00","group_name":"Security + Monitoring","display_type":"read","restricted":false}},{"type":"permissions","id":"7b516476-aa58-11ea-95e2-93718cd56369","attributes":{"name":"security_monitoring_rules_write","display_name":"Detection + Rules","description":"The ability to create and edit Detection rules.","created":"2020-06-09T13:52:39.099413+00:00","group_name":"Security + Monitoring","display_type":"write","restricted":false}},{"type":"permissions","id":"80de1ec0-aa58-11ea-95e2-aff381626d5d","attributes":{"name":"security_monitoring_signals_read","display_name":"Security + Signals","description":"The ability to view Security signals.","created":"2020-06-09T13:52:48.410398+00:00","group_name":"Security + Monitoring","display_type":"read","restricted":false}}]}' + recorded_at: Thu, 10 Sep 2020 17:35:23 GMT +recorded_with: VCR 6.0.0 diff --git a/cassettes/features/v2/roles/List-roles-returns-OK-response.yml b/cassettes/features/v2/roles/List-roles-returns-OK-response.yml new file mode 100644 index 00000000000..4c12eb546b3 --- /dev/null +++ b/cassettes/features/v2/roles/List-roles-returns-OK-response.yml @@ -0,0 +1,129 @@ +--- +http_interactions: +- request: + method: post + uri: https://api.datadoghq.com/api/v2/roles + body: + encoding: UTF-8 + string: '{"data":{"attributes":{"name":"ruby-List-roles-returns-OK-response-1599759323"},"type":"roles"}}' + headers: + User-Agent: + - OpenAPI-Generator/0.1.0/ruby + Content-Type: + - application/json + Accept: + - application/json + Expect: + - '' + response: + status: + code: 200 + message: OK + headers: + Date: + - Thu, 10 Sep 2020 17:35:23 GMT + Content-Type: + - application/json + Content-Length: + - '414' + Connection: + - keep-alive + Vary: + - Accept-Encoding + Pragma: + - no-cache + Cache-Control: + - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 17-Sep-2020 17:35:23 GMT; + secure; HttpOnly + X-Dd-Version: + - '35.3014711' + X-Ratelimit-Limit: + - '500' + X-Ratelimit-Period: + - '60' + X-Ratelimit-Reset: + - '37' + X-Ratelimit-Remaining: + - '499' + X-Dd-Debug: + - 1G9SOBrnmfyC5G29bCdNvI2JHlJyC7aSDsVB1mrRvQ+HE/loVdx5+fgtIfMtj8Fo + Dd-Pool: + - dogweb + Content-Security-Policy: + - frame-ancestors 'self'; report-uri https://api.datadoghq.com/csp-report + X-Frame-Options: + - SAMEORIGIN + X-Content-Type-Options: + - nosniff + Strict-Transport-Security: + - max-age=15724800; + body: + encoding: UTF-8 + string: '{"data":{"type":"roles","id":"018caa92-f38c-11ea-ac35-4f13c1d85adb","attributes":{"name":"ruby-List-roles-returns-OK-response-1599759323","created_at":"2020-09-10T17:35:23.518112+00:00","modified_at":"2020-09-10T17:35:23.518112+00:00"},"relationships":{"permissions":{"data":[{"type":"permissions","id":"d90f6830-d3d8-11e9-a77a-b3404e5e9ee2"},{"type":"permissions","id":"4441648c-d8b1-11e9-a77a-1b899a04b304"}]}}}}' + recorded_at: Thu, 10 Sep 2020 17:35:23 GMT +- request: + method: get + uri: https://api.datadoghq.com/api/v2/roles?filter=ruby-List-roles-returns-OK-response-1599759323 + body: + encoding: US-ASCII + string: '' + headers: + User-Agent: + - OpenAPI-Generator/0.1.0/ruby + Content-Type: + - application/json + Accept: + - application/json + Expect: + - '' + response: + status: + code: 200 + message: OK + headers: + Date: + - Thu, 10 Sep 2020 17:35:23 GMT + Content-Type: + - application/json + Content-Length: + - '492' + Connection: + - keep-alive + Vary: + - Accept-Encoding + Pragma: + - no-cache + Cache-Control: + - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 17-Sep-2020 17:35:23 GMT; + secure; HttpOnly + X-Dd-Version: + - '35.3014711' + X-Ratelimit-Limit: + - '500' + X-Ratelimit-Period: + - '60' + X-Ratelimit-Reset: + - '37' + X-Ratelimit-Remaining: + - '498' + X-Dd-Debug: + - Rk64tCoF3V07+a4szeABxTtZIJ+mXpZWikk4VsgNuvqwu3MpGXqLHxCVHOt9N39v + Dd-Pool: + - dogweb + Content-Security-Policy: + - frame-ancestors 'self'; report-uri https://api.datadoghq.com/csp-report + X-Frame-Options: + - SAMEORIGIN + X-Content-Type-Options: + - nosniff + Strict-Transport-Security: + - max-age=15724800; + body: + encoding: UTF-8 + string: '{"meta":{"page":{"total_filtered_count":1,"total_count":893}},"data":[{"type":"roles","id":"018caa92-f38c-11ea-ac35-4f13c1d85adb","attributes":{"name":"ruby-List-roles-returns-OK-response-1599759323","created_at":"2020-09-10T17:35:23.518112+00:00","modified_at":"2020-09-10T17:35:23.518112+00:00","user_count":0},"relationships":{"permissions":{"data":[{"type":"permissions","id":"d90f6830-d3d8-11e9-a77a-b3404e5e9ee2"},{"type":"permissions","id":"4441648c-d8b1-11e9-a77a-1b899a04b304"}]}}}]}' + recorded_at: Thu, 10 Sep 2020 17:35:23 GMT +recorded_with: VCR 6.0.0 diff --git a/cassettes/features/v2/roles/Remove-a-user-from-a-role-returns-OK-response.yml b/cassettes/features/v2/roles/Remove-a-user-from-a-role-returns-OK-response.yml new file mode 100644 index 00000000000..5b7b3796cb5 --- /dev/null +++ b/cassettes/features/v2/roles/Remove-a-user-from-a-role-returns-OK-response.yml @@ -0,0 +1,245 @@ +--- +http_interactions: +- request: + method: post + uri: https://api.datadoghq.com/api/v2/roles + body: + encoding: UTF-8 + string: '{"data":{"attributes":{"name":"ruby-Remove-a-user-from-a-role-returns-OK-response-1599759327"},"type":"roles"}}' + headers: + User-Agent: + - OpenAPI-Generator/0.1.0/ruby + Content-Type: + - application/json + Accept: + - application/json + Expect: + - '' + response: + status: + code: 200 + message: OK + headers: + Date: + - Thu, 10 Sep 2020 17:35:28 GMT + Content-Type: + - application/json + Content-Length: + - '429' + Connection: + - keep-alive + Vary: + - Accept-Encoding + Pragma: + - no-cache + Cache-Control: + - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 17-Sep-2020 17:35:27 GMT; + secure; HttpOnly + X-Dd-Version: + - '35.3014711' + X-Ratelimit-Limit: + - '500' + X-Ratelimit-Period: + - '60' + X-Ratelimit-Reset: + - '33' + X-Ratelimit-Remaining: + - '482' + X-Dd-Debug: + - 92/tpeRQ0by9nn7WsSPyVyXsoLNu8gimYih2BuL6sJV2amfIFPaN8R5eGATyWG3E + Dd-Pool: + - dogweb + Content-Security-Policy: + - frame-ancestors 'self'; report-uri https://api.datadoghq.com/csp-report + X-Frame-Options: + - SAMEORIGIN + X-Content-Type-Options: + - nosniff + Strict-Transport-Security: + - max-age=15724800; + body: + encoding: UTF-8 + string: '{"data":{"type":"roles","id":"043b1c06-f38c-11ea-ac35-1394ea1b3bf8","attributes":{"name":"ruby-Remove-a-user-from-a-role-returns-OK-response-1599759327","created_at":"2020-09-10T17:35:28.016339+00:00","modified_at":"2020-09-10T17:35:28.016339+00:00"},"relationships":{"permissions":{"data":[{"type":"permissions","id":"d90f6830-d3d8-11e9-a77a-b3404e5e9ee2"},{"type":"permissions","id":"4441648c-d8b1-11e9-a77a-1b899a04b304"}]}}}}' + recorded_at: Thu, 10 Sep 2020 17:35:27 GMT +- request: + method: post + uri: https://api.datadoghq.com/api/v2/users + body: + encoding: UTF-8 + string: '{"data":{"attributes":{"email":"ruby-Remove-a-user-from-a-role-returns-OK-response-1599759327@datadoghq.com"},"type":"users"}}' + headers: + User-Agent: + - OpenAPI-Generator/0.1.0/ruby + Content-Type: + - application/json + Accept: + - application/json + Expect: + - '' + response: + status: + code: 201 + message: Created + headers: + Date: + - Thu, 10 Sep 2020 17:35:28 GMT + Content-Type: + - application/json + Content-Length: + - '613' + Connection: + - keep-alive + Pragma: + - no-cache + Cache-Control: + - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 17-Sep-2020 17:35:28 GMT; + secure; HttpOnly + X-Dd-Version: + - '35.3014711' + X-Dd-Debug: + - shSARNU4/WQFPOKM8NVdagbh/ZoS+zYzlyviY3k5npVGETiEU89iNTNvqiMXn1f6 + Dd-Pool: + - dogweb + Content-Security-Policy: + - frame-ancestors 'self'; report-uri https://api.datadoghq.com/csp-report + X-Frame-Options: + - SAMEORIGIN + X-Content-Type-Options: + - nosniff + Strict-Transport-Security: + - max-age=15724800; + body: + encoding: UTF-8 + string: '{"data":{"type":"users","id":"0460636c-f38c-11ea-ac35-e311a549cc21","attributes":{"name":null,"handle":"ruby-remove-a-user-from-a-role-returns-ok-response-1599759327@datadoghq.com","created_at":"2020-09-10T17:35:28.259804+00:00","email":"ruby-remove-a-user-from-a-role-returns-ok-response-1599759327@datadoghq.com","icon":"https://secure.gravatar.com/avatar/8935a98b380a9163f976eda6a83e3303?s=48&d=retro","title":null,"verified":false,"disabled":false,"allowed_login_methods":[],"status":"Pending"},"relationships":{"roles":{"data":[]},"org":{"data":{"type":"orgs","id":"4dee724d-00cc-11ea-a77b-570c9d03c6c5"}}}}}' + recorded_at: Thu, 10 Sep 2020 17:35:27 GMT +- request: + method: post + uri: https://api.datadoghq.com/api/v2/roles/043b1c06-f38c-11ea-ac35-1394ea1b3bf8/users + body: + encoding: UTF-8 + string: '{"data":{"id":"0460636c-f38c-11ea-ac35-e311a549cc21","type":"users"}}' + headers: + User-Agent: + - OpenAPI-Generator/0.1.0/ruby + Content-Type: + - application/json + Accept: + - application/json + Expect: + - '' + response: + status: + code: 200 + message: OK + headers: + Date: + - Thu, 10 Sep 2020 17:35:28 GMT + Content-Type: + - application/json + Content-Length: + - '709' + Connection: + - keep-alive + Vary: + - Accept-Encoding + Pragma: + - no-cache + Cache-Control: + - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 17-Sep-2020 17:35:28 GMT; + secure; HttpOnly + X-Dd-Version: + - '35.3014711' + X-Ratelimit-Limit: + - '500' + X-Ratelimit-Period: + - '60' + X-Ratelimit-Reset: + - '32' + X-Ratelimit-Remaining: + - '481' + X-Dd-Debug: + - WmMtMFngDL31sZYuYCiUaMFRtAs90zyIJHnMIoB4iHZztA/Ona9SnOav516bWmh7 + Dd-Pool: + - dogweb + Content-Security-Policy: + - frame-ancestors 'self'; report-uri https://api.datadoghq.com/csp-report + X-Frame-Options: + - SAMEORIGIN + X-Content-Type-Options: + - nosniff + Strict-Transport-Security: + - max-age=15724800; + body: + encoding: UTF-8 + string: '{"meta":{"page":{"total_count":1}},"data":[{"type":"users","id":"0460636c-f38c-11ea-ac35-e311a549cc21","attributes":{"name":null,"handle":"ruby-remove-a-user-from-a-role-returns-ok-response-1599759327@datadoghq.com","created_at":"2020-09-10T17:35:28.259804+00:00","email":"ruby-remove-a-user-from-a-role-returns-ok-response-1599759327@datadoghq.com","icon":"https://secure.gravatar.com/avatar/8935a98b380a9163f976eda6a83e3303?s=48&d=retro","title":null,"verified":false,"disabled":false,"allowed_login_methods":[],"status":"Pending"},"relationships":{"roles":{"data":[{"type":"roles","id":"043b1c06-f38c-11ea-ac35-1394ea1b3bf8"}]},"org":{"data":{"type":"orgs","id":"4dee724d-00cc-11ea-a77b-570c9d03c6c5"}}}}]}' + recorded_at: Thu, 10 Sep 2020 17:35:27 GMT +- request: + method: delete + uri: https://api.datadoghq.com/api/v2/roles/043b1c06-f38c-11ea-ac35-1394ea1b3bf8/users + body: + encoding: UTF-8 + string: '{"data":{"id":"0460636c-f38c-11ea-ac35-e311a549cc21","type":"users"}}' + headers: + User-Agent: + - OpenAPI-Generator/0.1.0/ruby + Content-Type: + - application/json + Accept: + - application/json + Expect: + - '' + response: + status: + code: 200 + message: OK + headers: + Date: + - Thu, 10 Sep 2020 17:35:28 GMT + Content-Type: + - application/json + Content-Length: + - '45' + Connection: + - keep-alive + Vary: + - Accept-Encoding + Pragma: + - no-cache + Cache-Control: + - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 17-Sep-2020 17:35:28 GMT; + secure; HttpOnly + X-Dd-Version: + - '35.3014711' + X-Ratelimit-Limit: + - '500' + X-Ratelimit-Period: + - '60' + X-Ratelimit-Reset: + - '32' + X-Ratelimit-Remaining: + - '480' + X-Dd-Debug: + - HvCCHsTxMdYM0gaKHtI2IcmEJsAxsAXyEwSakV4VwU0gJM0DBm5BMD3H6ZYBdo1H + Dd-Pool: + - dogweb + Content-Security-Policy: + - frame-ancestors 'self'; report-uri https://api.datadoghq.com/csp-report + X-Frame-Options: + - SAMEORIGIN + X-Content-Type-Options: + - nosniff + Strict-Transport-Security: + - max-age=15724800; + body: + encoding: UTF-8 + string: '{"meta":{"page":{"total_count":0}},"data":[]}' + recorded_at: Thu, 10 Sep 2020 17:35:27 GMT +recorded_with: VCR 6.0.0 diff --git a/cassettes/features/v2/roles/Revoke-permission-returns-OK-response.yml b/cassettes/features/v2/roles/Revoke-permission-returns-OK-response.yml new file mode 100644 index 00000000000..41829472339 --- /dev/null +++ b/cassettes/features/v2/roles/Revoke-permission-returns-OK-response.yml @@ -0,0 +1,308 @@ +--- +http_interactions: +- request: + method: post + uri: https://api.datadoghq.com/api/v2/roles + body: + encoding: UTF-8 + string: '{"data":{"attributes":{"name":"ruby-Revoke-permission-returns-OK-response-1599759325"},"type":"roles"}}' + headers: + User-Agent: + - OpenAPI-Generator/0.1.0/ruby + Content-Type: + - application/json + Accept: + - application/json + Expect: + - '' + response: + status: + code: 200 + message: OK + headers: + Date: + - Thu, 10 Sep 2020 17:35:25 GMT + Content-Type: + - application/json + Content-Length: + - '421' + Connection: + - keep-alive + Vary: + - Accept-Encoding + Pragma: + - no-cache + Cache-Control: + - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 17-Sep-2020 17:35:25 GMT; + secure; HttpOnly + X-Dd-Version: + - '35.3014711' + X-Ratelimit-Limit: + - '500' + X-Ratelimit-Period: + - '60' + X-Ratelimit-Reset: + - '35' + X-Ratelimit-Remaining: + - '490' + X-Dd-Debug: + - saoIV/FA/z8H0gcXHP3CQ32hxYowRdGCvx+QRO7UdacLP4hVHOLNCuxXnf6LPRGD + Dd-Pool: + - dogweb + Content-Security-Policy: + - frame-ancestors 'self'; report-uri https://api.datadoghq.com/csp-report + X-Frame-Options: + - SAMEORIGIN + X-Content-Type-Options: + - nosniff + Strict-Transport-Security: + - max-age=15724800; + body: + encoding: UTF-8 + string: '{"data":{"type":"roles","id":"02c86824-f38c-11ea-ac35-07b431f05b43","attributes":{"name":"ruby-Revoke-permission-returns-OK-response-1599759325","created_at":"2020-09-10T17:35:25.587013+00:00","modified_at":"2020-09-10T17:35:25.587013+00:00"},"relationships":{"permissions":{"data":[{"type":"permissions","id":"d90f6830-d3d8-11e9-a77a-b3404e5e9ee2"},{"type":"permissions","id":"4441648c-d8b1-11e9-a77a-1b899a04b304"}]}}}}' + recorded_at: Thu, 10 Sep 2020 17:35:25 GMT +- request: + method: get + uri: https://api.datadoghq.com/api/v2/permissions + body: + encoding: US-ASCII + string: '' + headers: + User-Agent: + - OpenAPI-Generator/0.1.0/ruby + Content-Type: + - application/json + Accept: + - application/json + Expect: + - '' + response: + status: + code: 200 + message: OK + headers: + Date: + - Thu, 10 Sep 2020 17:35:25 GMT + Content-Type: + - application/json + Content-Length: + - '8679' + Connection: + - keep-alive + Vary: + - Accept-Encoding + Pragma: + - no-cache + Cache-Control: + - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 17-Sep-2020 17:35:25 GMT; + secure; HttpOnly + X-Dd-Version: + - '35.3014790' + X-Dd-Debug: + - Qun3wOuA/hQDIFGQqCVlq+iNpWCXkp0WuL8O89aP44h3eJ/Ies+yK10ByBbIISnG + Dd-Pool: + - dogweb + Content-Security-Policy: + - frame-ancestors 'self'; report-uri https://api.datadoghq.com/csp-report + X-Frame-Options: + - SAMEORIGIN + X-Content-Type-Options: + - nosniff + Strict-Transport-Security: + - max-age=15724800; + body: + encoding: UTF-8 + string: '{"data":[{"type":"permissions","id":"984a2bd4-d3b4-11e8-a1ff-a7f660d43029","attributes":{"name":"admin","display_name":"Privileged + Access","description":"This permission gives you the ability to view and edit + everything in your Datadog organization that does not have an explicitly defined + permission. This includes billing and usage, user, key, and organization management. + This permission is inclusive of all Standard access permissions.","created":"2018-10-19T15:35:23.734317+00:00","group_name":"General","display_type":"other","restricted":false}},{"type":"permissions","id":"984d2f00-d3b4-11e8-a200-bb47109e9987","attributes":{"name":"standard","display_name":"Standard + Access","description":"This permission gives you the ability to view and edit + components in your Datadog organization that do not have explicitly defined + permissions. This includes APM, Events, and other non-Account Management functionality.","created":"2018-10-19T15:35:23.756736+00:00","group_name":"General","display_type":"other","restricted":false}},{"type":"permissions","id":"5e605652-dd12-11e8-9e53-375565b8970e","attributes":{"name":"logs_read_index_data","display_name":"Logs + Read Index Data","description":"The ability to read all or some log indexes. + Can be granted in a limited capacity per index from the Logs interface or + APIs. If granted via the Roles interface or API the permission has global + scope.","created":"2018-10-31T13:39:19.727450+00:00","group_name":"Logs","display_type":"read","restricted":false}},{"type":"permissions","id":"62cc036c-dd12-11e8-9e54-db9995643092","attributes":{"name":"logs_modify_indexes","display_name":"Logs + Modify Indexes","description":"The ability to read and modify all indexes + in your account. This includes the ability to grant the Logs Read Index Data + and Logs Write Exclusion Filter permission to other roles, for some or all + indexes. This permission also grants global Log Index Read and Log Exclusion + Filter Write implicitly.","created":"2018-10-31T13:39:27.148615+00:00","group_name":"Logs","display_type":"other","restricted":false}},{"type":"permissions","id":"6f66600e-dd12-11e8-9e55-7f30fbb45e73","attributes":{"name":"logs_live_tail","display_name":"Logs + Live Tail Access","description":"The ability to view the live tail feed for + all log indexes, even if otherwise specifically restricted.","created":"2018-10-31T13:39:48.292879+00:00","group_name":"Logs","display_type":"read","restricted":false}},{"type":"permissions","id":"7d7c98ac-dd12-11e8-9e56-93700598622d","attributes":{"name":"logs_write_exclusion_filters","display_name":"Logs + Write Exclusion Filters","description":"The ability to add and change exclusion + filters for all or some log indexes. Can be granted in a limited capacity + per index to specific roles via the Logs interface or API. If granted from + the Roles interface or API, the permission has global scope.","created":"2018-10-31T13:40:11.926613+00:00","group_name":"Logs","display_type":"write","restricted":false}},{"type":"permissions","id":"811ac4ca-dd12-11e8-9e57-676a7f0beef9","attributes":{"name":"logs_write_pipelines","display_name":"Logs + Write Pipelines","description":"The ability to add and change log pipeline + configurations, including the ability to grant the Logs Write Processors permission + to other roles, for some or all pipelines. This permission also grants global + Log Processor Write implicitly.","created":"2018-10-31T13:40:17.996379+00:00","group_name":"Logs","display_type":"other","restricted":false}},{"type":"permissions","id":"84aa3ae4-dd12-11e8-9e58-a373a514ccd0","attributes":{"name":"logs_write_processors","display_name":"Log + Write Processors","description":"The ability to add and change some or all + log processor configurations. Can be granted in a limited capacity per pipeline + to specific roles via the Logs interface or API. If granted via the Roles + interface or API the permission has global scope.","created":"2018-10-31T13:40:23.969725+00:00","group_name":"Logs","display_type":"write","restricted":false}},{"type":"permissions","id":"87b00304-dd12-11e8-9e59-cbeb5f71f72f","attributes":{"name":"logs_write_archives","display_name":"Logs + Archives","description":"The ability to add and edit log archive locations.","created":"2018-10-31T13:40:29.040786+00:00","group_name":"Logs","display_type":"write","restricted":false}},{"type":"permissions","id":"1a92ede2-6cb2-11e9-99c6-2b3a4a0cdf0a","attributes":{"name":"logs_public_config_api","display_name":"Logs + Public Config API","description":"The ability to access and edit logs configurations + via the API.","created":"2019-05-02T08:13:01.731092+00:00","group_name":"Logs","display_type":"other","restricted":false}},{"type":"permissions","id":"979df720-aed7-11e9-99c6-a7eb8373165a","attributes":{"name":"logs_generate_metrics","display_name":"Log + Generate Metrics","description":"The ability to create custom metrics from + logs.","created":"2019-07-25T12:27:39.640758+00:00","group_name":"Logs","display_type":"other","restricted":false}},{"type":"permissions","id":"d90f6830-d3d8-11e9-a77a-b3404e5e9ee2","attributes":{"name":"dashboards_read","display_name":"Dashboards","description":"The + ability to view dashboards.","created":"2019-09-10T14:39:51.955175+00:00","group_name":"Dashboards","display_type":"read","restricted":true}},{"type":"permissions","id":"d90f6831-d3d8-11e9-a77a-4fd230ddbc6a","attributes":{"name":"dashboards_write","display_name":"Dashboards","description":"The + ability to create and change dashboards.","created":"2019-09-10T14:39:51.962944+00:00","group_name":"Dashboards","display_type":"write","restricted":false}},{"type":"permissions","id":"d90f6832-d3d8-11e9-a77a-bf8a2607f864","attributes":{"name":"dashboards_public_share","display_name":"Dashboards + Share","description":"The ability to share dashboards externally.","created":"2019-09-10T14:39:51.967094+00:00","group_name":"Dashboards","display_type":"other","restricted":false}},{"type":"permissions","id":"4441648c-d8b1-11e9-a77a-1b899a04b304","attributes":{"name":"monitors_read","display_name":"Monitors","description":"The + ability to view monitors.","created":"2019-09-16T18:39:07.744297+00:00","group_name":"Monitors","display_type":"read","restricted":true}},{"type":"permissions","id":"48ef71ea-d8b1-11e9-a77a-93f408470ad0","attributes":{"name":"monitors_write","display_name":"Monitors","description":"The + ability to change, mute, and delete individual monitors.","created":"2019-09-16T18:39:15.597109+00:00","group_name":"Monitors","display_type":"write","restricted":false}},{"type":"permissions","id":"4d87d5f8-d8b1-11e9-a77a-eb9c8350d04f","attributes":{"name":"monitors_downtime","display_name":"Monitors + Manage Downtimes","description":"The ability to set downtimes for your organization. + A user with this permission can suppress alerts from any monitor using a downtime, + even if they do not have permission to edit those monitors explicitly.","created":"2019-09-16T18:39:23.306702+00:00","group_name":"Monitors","display_type":"other","restricted":false}},{"type":"permissions","id":"1af86ce4-7823-11ea-93dc-d7cad1b1c6cb","attributes":{"name":"logs_read_data","display_name":"Logs + Read Data","description":"The ability to read log data. Can be restricted + with restriction queries.","created":"2020-04-06T16:24:35.989108+00:00","group_name":"Logs","display_type":"read","restricted":false}},{"type":"permissions","id":"b382b982-8535-11ea-93de-2bf1bdf20798","attributes":{"name":"logs_read_archives","display_name":"Logs + Archives","description":"The ability to read logs archives location and use + it for rehydration.","created":"2020-04-23T07:40:27.966133+00:00","group_name":"Logs","display_type":"read","restricted":false}},{"type":"permissions","id":"7314eb20-aa58-11ea-95e2-6fb6e4a451d5","attributes":{"name":"security_monitoring_rules_read","display_name":"Detection + Rules","description":"The ability to read Detection rules.","created":"2020-06-09T13:52:25.279909+00:00","group_name":"Security + Monitoring","display_type":"read","restricted":false}},{"type":"permissions","id":"7b516476-aa58-11ea-95e2-93718cd56369","attributes":{"name":"security_monitoring_rules_write","display_name":"Detection + Rules","description":"The ability to create and edit Detection rules.","created":"2020-06-09T13:52:39.099413+00:00","group_name":"Security + Monitoring","display_type":"write","restricted":false}},{"type":"permissions","id":"80de1ec0-aa58-11ea-95e2-aff381626d5d","attributes":{"name":"security_monitoring_signals_read","display_name":"Security + Signals","description":"The ability to view Security signals.","created":"2020-06-09T13:52:48.410398+00:00","group_name":"Security + Monitoring","display_type":"read","restricted":false}}]}' + recorded_at: Thu, 10 Sep 2020 17:35:25 GMT +- request: + method: post + uri: https://api.datadoghq.com/api/v2/roles/02c86824-f38c-11ea-ac35-07b431f05b43/permissions + body: + encoding: UTF-8 + string: '{"data":{"id":"984a2bd4-d3b4-11e8-a1ff-a7f660d43029","type":"permissions"}}' + headers: + User-Agent: + - OpenAPI-Generator/0.1.0/ruby + Content-Type: + - application/json + Accept: + - application/json + Expect: + - '' + response: + status: + code: 200 + message: OK + headers: + Date: + - Thu, 10 Sep 2020 17:35:25 GMT + Content-Type: + - application/json + Content-Length: + - '1134' + Connection: + - keep-alive + Vary: + - Accept-Encoding + Pragma: + - no-cache + Cache-Control: + - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 17-Sep-2020 17:35:25 GMT; + secure; HttpOnly + X-Dd-Version: + - '35.3014790' + X-Ratelimit-Limit: + - '500' + X-Ratelimit-Period: + - '60' + X-Ratelimit-Reset: + - '35' + X-Ratelimit-Remaining: + - '489' + X-Dd-Debug: + - ViVCPXX6Ly37Yq2uFkha4NuJPBq3hQNknFQSAg7/RbVncSIYTDoKelvl87NEURiA + Dd-Pool: + - dogweb + Content-Security-Policy: + - frame-ancestors 'self'; report-uri https://api.datadoghq.com/csp-report + X-Frame-Options: + - SAMEORIGIN + X-Content-Type-Options: + - nosniff + Strict-Transport-Security: + - max-age=15724800; + body: + encoding: UTF-8 + string: '{"data":[{"type":"permissions","id":"984a2bd4-d3b4-11e8-a1ff-a7f660d43029","attributes":{"name":"admin","display_name":"Privileged + Access","description":"This permission gives you the ability to view and edit + everything in your Datadog organization that does not have an explicitly defined + permission. This includes billing and usage, user, key, and organization management. + This permission is inclusive of all Standard access permissions.","created":"2018-10-19T15:35:23.734317+00:00","group_name":"General","display_type":"other","restricted":false}},{"type":"permissions","id":"d90f6830-d3d8-11e9-a77a-b3404e5e9ee2","attributes":{"name":"dashboards_read","display_name":"Dashboards","description":"The + ability to view dashboards.","created":"2019-09-10T14:39:51.955175+00:00","group_name":"Dashboards","display_type":"read","restricted":true}},{"type":"permissions","id":"4441648c-d8b1-11e9-a77a-1b899a04b304","attributes":{"name":"monitors_read","display_name":"Monitors","description":"The + ability to view monitors.","created":"2019-09-16T18:39:07.744297+00:00","group_name":"Monitors","display_type":"read","restricted":true}}]}' + recorded_at: Thu, 10 Sep 2020 17:35:25 GMT +- request: + method: delete + uri: https://api.datadoghq.com/api/v2/roles/02c86824-f38c-11ea-ac35-07b431f05b43/permissions + body: + encoding: UTF-8 + string: '{"data":{"id":"984a2bd4-d3b4-11e8-a1ff-a7f660d43029","type":"permissions"}}' + headers: + User-Agent: + - OpenAPI-Generator/0.1.0/ruby + Content-Type: + - application/json + Accept: + - application/json + Expect: + - '' + response: + status: + code: 200 + message: OK + headers: + Date: + - Thu, 10 Sep 2020 17:35:26 GMT + Content-Type: + - application/json + Content-Length: + - '590' + Connection: + - keep-alive + Vary: + - Accept-Encoding + Pragma: + - no-cache + Cache-Control: + - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 17-Sep-2020 17:35:26 GMT; + secure; HttpOnly + X-Dd-Version: + - '35.3014790' + X-Ratelimit-Limit: + - '500' + X-Ratelimit-Period: + - '60' + X-Ratelimit-Reset: + - '34' + X-Ratelimit-Remaining: + - '488' + X-Dd-Debug: + - jUMr6d+5J+YuJ6qRYTR2w4bV5pSWL1aOCQq2Fsi4IDQJQgpLmKecXN7enHF4E9hf + Dd-Pool: + - dogweb + Content-Security-Policy: + - frame-ancestors 'self'; report-uri https://api.datadoghq.com/csp-report + X-Frame-Options: + - SAMEORIGIN + X-Content-Type-Options: + - nosniff + Strict-Transport-Security: + - max-age=15724800; + body: + encoding: UTF-8 + string: '{"data":[{"type":"permissions","id":"d90f6830-d3d8-11e9-a77a-b3404e5e9ee2","attributes":{"name":"dashboards_read","display_name":"Dashboards","description":"The + ability to view dashboards.","created":"2019-09-10T14:39:51.955175+00:00","group_name":"Dashboards","display_type":"read","restricted":true}},{"type":"permissions","id":"4441648c-d8b1-11e9-a77a-1b899a04b304","attributes":{"name":"monitors_read","display_name":"Monitors","description":"The + ability to view monitors.","created":"2019-09-16T18:39:07.744297+00:00","group_name":"Monitors","display_type":"read","restricted":true}}]}' + recorded_at: Thu, 10 Sep 2020 17:35:25 GMT +recorded_with: VCR 6.0.0 diff --git a/cassettes/features/v2/roles/Update-a-role-returns-OK-response.yml b/cassettes/features/v2/roles/Update-a-role-returns-OK-response.yml new file mode 100644 index 00000000000..3dfdd75bf9f --- /dev/null +++ b/cassettes/features/v2/roles/Update-a-role-returns-OK-response.yml @@ -0,0 +1,129 @@ +--- +http_interactions: +- request: + method: post + uri: https://api.datadoghq.com/api/v2/roles + body: + encoding: UTF-8 + string: '{"data":{"attributes":{"name":"ruby-Update-a-role-returns-OK-response-1599759324"},"type":"roles"}}' + headers: + User-Agent: + - OpenAPI-Generator/0.1.0/ruby + Content-Type: + - application/json + Accept: + - application/json + Expect: + - '' + response: + status: + code: 200 + message: OK + headers: + Date: + - Thu, 10 Sep 2020 17:35:25 GMT + Content-Type: + - application/json + Content-Length: + - '417' + Connection: + - keep-alive + Vary: + - Accept-Encoding + Pragma: + - no-cache + Cache-Control: + - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 17-Sep-2020 17:35:25 GMT; + secure; HttpOnly + X-Dd-Version: + - '35.3014711' + X-Ratelimit-Limit: + - '500' + X-Ratelimit-Period: + - '60' + X-Ratelimit-Reset: + - '35' + X-Ratelimit-Remaining: + - '492' + X-Dd-Debug: + - 1yK3PnBzCoxF/WGKEJeJqS2Jb9mutr3xDuvLdPbJCfX1HVDqeCXkaWYDO6wQpQhO + Dd-Pool: + - dogweb + Content-Security-Policy: + - frame-ancestors 'self'; report-uri https://api.datadoghq.com/csp-report + X-Frame-Options: + - SAMEORIGIN + X-Content-Type-Options: + - nosniff + Strict-Transport-Security: + - max-age=15724800; + body: + encoding: UTF-8 + string: '{"data":{"type":"roles","id":"02827350-f38c-11ea-ac35-7749fb5e312b","attributes":{"name":"ruby-Update-a-role-returns-OK-response-1599759324","created_at":"2020-09-10T17:35:25.128698+00:00","modified_at":"2020-09-10T17:35:25.128698+00:00"},"relationships":{"permissions":{"data":[{"type":"permissions","id":"d90f6830-d3d8-11e9-a77a-b3404e5e9ee2"},{"type":"permissions","id":"4441648c-d8b1-11e9-a77a-1b899a04b304"}]}}}}' + recorded_at: Thu, 10 Sep 2020 17:35:24 GMT +- request: + method: patch + uri: https://api.datadoghq.com/api/v2/roles/02827350-f38c-11ea-ac35-7749fb5e312b + body: + encoding: UTF-8 + string: '{"data":{"id":"02827350-f38c-11ea-ac35-7749fb5e312b","type":"roles","attributes":{"name":"ruby-Update-a-role-returns-OK-response-1599759324-updated"}}}' + headers: + User-Agent: + - OpenAPI-Generator/0.1.0/ruby + Content-Type: + - application/json + Accept: + - application/json + Expect: + - '' + response: + status: + code: 200 + message: OK + headers: + Date: + - Thu, 10 Sep 2020 17:35:25 GMT + Content-Type: + - application/json + Content-Length: + - '425' + Connection: + - keep-alive + Vary: + - Accept-Encoding + Pragma: + - no-cache + Cache-Control: + - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 17-Sep-2020 17:35:25 GMT; + secure; HttpOnly + X-Dd-Version: + - '35.3014790' + X-Ratelimit-Limit: + - '500' + X-Ratelimit-Period: + - '60' + X-Ratelimit-Reset: + - '35' + X-Ratelimit-Remaining: + - '491' + X-Dd-Debug: + - Qun3wOuA/hQDIFGQqCVlq+iNpWCXkp0WuL8O89aP44h3eJ/Ies+yK10ByBbIISnG + Dd-Pool: + - dogweb + Content-Security-Policy: + - frame-ancestors 'self'; report-uri https://api.datadoghq.com/csp-report + X-Frame-Options: + - SAMEORIGIN + X-Content-Type-Options: + - nosniff + Strict-Transport-Security: + - max-age=15724800; + body: + encoding: UTF-8 + string: '{"data":{"type":"roles","id":"02827350-f38c-11ea-ac35-7749fb5e312b","attributes":{"name":"ruby-Update-a-role-returns-OK-response-1599759324-updated","created_at":"2020-09-10T17:35:25.128698+00:00","modified_at":"2020-09-10T17:35:25.401005+00:00"},"relationships":{"permissions":{"data":[{"type":"permissions","id":"d90f6830-d3d8-11e9-a77a-b3404e5e9ee2"},{"type":"permissions","id":"4441648c-d8b1-11e9-a77a-1b899a04b304"}]}}}}' + recorded_at: Thu, 10 Sep 2020 17:35:24 GMT +recorded_with: VCR 6.0.0 diff --git a/cassettes/features/v2/users/Create-a-user-returns-OK-response.yml b/cassettes/features/v2/users/Create-a-user-returns-OK-response.yml new file mode 100644 index 00000000000..2568d7a6b1f --- /dev/null +++ b/cassettes/features/v2/users/Create-a-user-returns-OK-response.yml @@ -0,0 +1,57 @@ +--- +http_interactions: +- request: + method: post + uri: https://api.datadoghq.com/api/v2/users + body: + encoding: UTF-8 + string: '{"data":{"type":"users","attributes":{"name":"Datadog API Client Python","email":"ruby-Create-a-user-returns-OK-response-1599759343@datadoghq.com"}}}' + headers: + User-Agent: + - OpenAPI-Generator/0.1.0/ruby + Content-Type: + - application/json + Accept: + - application/json + Expect: + - '' + response: + status: + code: 201 + message: Created + headers: + Date: + - Thu, 10 Sep 2020 17:35:43 GMT + Content-Type: + - application/json + Content-Length: + - '612' + Connection: + - keep-alive + Pragma: + - no-cache + Cache-Control: + - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 17-Sep-2020 17:35:43 GMT; + secure; HttpOnly + X-Dd-Version: + - '35.3014790' + X-Dd-Debug: + - IkoXy2n4b8JW/FLw1112nSqmqmpT3x0GKpI+dLspr+YjKNH7w9mdXONKvOIf0EZ7 + Dd-Pool: + - dogweb + Content-Security-Policy: + - frame-ancestors 'self'; report-uri https://api.datadoghq.com/csp-report + X-Frame-Options: + - SAMEORIGIN + X-Content-Type-Options: + - nosniff + Strict-Transport-Security: + - max-age=15724800; + body: + encoding: UTF-8 + string: '{"data":{"type":"users","id":"0d390386-f38c-11ea-ac35-43d2f5294445","attributes":{"name":"Datadog + API Client Python","handle":"ruby-create-a-user-returns-ok-response-1599759343@datadoghq.com","created_at":"2020-09-10T17:35:43.101874+00:00","email":"ruby-create-a-user-returns-ok-response-1599759343@datadoghq.com","icon":"https://secure.gravatar.com/avatar/8f935c2a34c0eeddb8a733b1656ee179?s=48&d=retro","title":null,"verified":false,"disabled":false,"allowed_login_methods":[],"status":"Pending"},"relationships":{"roles":{"data":[]},"org":{"data":{"type":"orgs","id":"4dee724d-00cc-11ea-a77b-570c9d03c6c5"}}}}}' + recorded_at: Thu, 10 Sep 2020 17:35:43 GMT +recorded_with: VCR 6.0.0 diff --git a/cassettes/features/v2/users/Disable-a-user-returns-OK-response.yml b/cassettes/features/v2/users/Disable-a-user-returns-OK-response.yml new file mode 100644 index 00000000000..241d310336e --- /dev/null +++ b/cassettes/features/v2/users/Disable-a-user-returns-OK-response.yml @@ -0,0 +1,109 @@ +--- +http_interactions: +- request: + method: post + uri: https://api.datadoghq.com/api/v2/users + body: + encoding: UTF-8 + string: '{"data":{"attributes":{"email":"ruby-Disable-a-user-returns-OK-response-1599759343@datadoghq.com"},"type":"users"}}' + headers: + User-Agent: + - OpenAPI-Generator/0.1.0/ruby + Content-Type: + - application/json + Accept: + - application/json + Expect: + - '' + response: + status: + code: 201 + message: Created + headers: + Date: + - Thu, 10 Sep 2020 17:35:43 GMT + Content-Type: + - application/json + Content-Length: + - '591' + Connection: + - keep-alive + Pragma: + - no-cache + Cache-Control: + - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 17-Sep-2020 17:35:43 GMT; + secure; HttpOnly + X-Dd-Version: + - '35.3014711' + X-Dd-Debug: + - s0LsNvQsMm21RUzMLDODd6jiqqojzRfEoHLrnASSfK5zaa+QnpY16tmznkR4zVSs + Dd-Pool: + - dogweb + Content-Security-Policy: + - frame-ancestors 'self'; report-uri https://api.datadoghq.com/csp-report + X-Frame-Options: + - SAMEORIGIN + X-Content-Type-Options: + - nosniff + Strict-Transport-Security: + - max-age=15724800; + body: + encoding: UTF-8 + string: '{"data":{"type":"users","id":"0d687c42-f38c-11ea-ac35-ff5f79d0db17","attributes":{"name":null,"handle":"ruby-disable-a-user-returns-ok-response-1599759343@datadoghq.com","created_at":"2020-09-10T17:35:43.412348+00:00","email":"ruby-disable-a-user-returns-ok-response-1599759343@datadoghq.com","icon":"https://secure.gravatar.com/avatar/4a9cf80020c9e558ef1898e897fc5eb0?s=48&d=retro","title":null,"verified":false,"disabled":false,"allowed_login_methods":[],"status":"Pending"},"relationships":{"roles":{"data":[]},"org":{"data":{"type":"orgs","id":"4dee724d-00cc-11ea-a77b-570c9d03c6c5"}}}}}' + recorded_at: Thu, 10 Sep 2020 17:35:43 GMT +- request: + method: delete + uri: https://api.datadoghq.com/api/v2/users/0d687c42-f38c-11ea-ac35-ff5f79d0db17 + body: + encoding: US-ASCII + string: '' + headers: + User-Agent: + - OpenAPI-Generator/0.1.0/ruby + Content-Type: + - application/json + Accept: + - application/json + Expect: + - '' + response: + status: + code: 204 + message: No Content + headers: + Date: + - Thu, 10 Sep 2020 17:35:43 GMT + Content-Type: + - text/html; charset=UTF-8 + Content-Length: + - '0' + Connection: + - keep-alive + Pragma: + - no-cache + Cache-Control: + - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 17-Sep-2020 17:35:43 GMT; + secure; HttpOnly + X-Dd-Version: + - '35.3014790' + X-Dd-Debug: + - pDS7Zrj1TgmEnWRyBzKLDh7mlmNUPuITZ/GwI6tiSzuW64zPbzNbNp9jLNX+Cpgz + Dd-Pool: + - dogweb + Content-Security-Policy: + - frame-ancestors 'self'; report-uri https://api.datadoghq.com/csp-report + X-Frame-Options: + - SAMEORIGIN + X-Content-Type-Options: + - nosniff + Strict-Transport-Security: + - max-age=15724800; + body: + encoding: UTF-8 + string: '' + recorded_at: Thu, 10 Sep 2020 17:35:43 GMT +recorded_with: VCR 6.0.0 diff --git a/cassettes/features/v2/users/Get-a-user-invitation-returns-OK-response.yml b/cassettes/features/v2/users/Get-a-user-invitation-returns-OK-response.yml new file mode 100644 index 00000000000..79e1381ff4d --- /dev/null +++ b/cassettes/features/v2/users/Get-a-user-invitation-returns-OK-response.yml @@ -0,0 +1,164 @@ +--- +http_interactions: +- request: + method: post + uri: https://api.datadoghq.com/api/v2/users + body: + encoding: UTF-8 + string: '{"data":{"attributes":{"email":"ruby-Get-a-user-invitation-returns-OK-response-1599759331@datadoghq.com"},"type":"users"}}' + headers: + User-Agent: + - OpenAPI-Generator/0.1.0/ruby + Content-Type: + - application/json + Accept: + - application/json + Expect: + - '' + response: + status: + code: 201 + message: Created + headers: + Date: + - Thu, 10 Sep 2020 17:35:31 GMT + Content-Type: + - application/json + Content-Length: + - '605' + Connection: + - keep-alive + Pragma: + - no-cache + Cache-Control: + - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 17-Sep-2020 17:35:31 GMT; + secure; HttpOnly + X-Dd-Version: + - '35.3014711' + X-Dd-Debug: + - jrdNt2QvGarP6yOsylH3GAxdMWXM4CYDKNbO7i0omswFkFozD11pdA/9Rp2czovd + Dd-Pool: + - dogweb + Content-Security-Policy: + - frame-ancestors 'self'; report-uri https://api.datadoghq.com/csp-report + X-Frame-Options: + - SAMEORIGIN + X-Content-Type-Options: + - nosniff + Strict-Transport-Security: + - max-age=15724800; + body: + encoding: UTF-8 + string: '{"data":{"type":"users","id":"064893de-f38c-11ea-ac35-ffe8b82193d0","attributes":{"name":null,"handle":"ruby-get-a-user-invitation-returns-ok-response-1599759331@datadoghq.com","created_at":"2020-09-10T17:35:31.459334+00:00","email":"ruby-get-a-user-invitation-returns-ok-response-1599759331@datadoghq.com","icon":"https://secure.gravatar.com/avatar/8ec249f5f940ad0748b0db13ba383415?s=48&d=retro","title":null,"verified":false,"disabled":false,"allowed_login_methods":[],"status":"Pending"},"relationships":{"roles":{"data":[]},"org":{"data":{"type":"orgs","id":"4dee724d-00cc-11ea-a77b-570c9d03c6c5"}}}}}' + recorded_at: Thu, 10 Sep 2020 17:35:31 GMT +- request: + method: post + uri: https://api.datadoghq.com/api/v2/user_invitations + body: + encoding: UTF-8 + string: '{"data":[{"relationships":{"user":{"data":{"id":"064893de-f38c-11ea-ac35-ffe8b82193d0","type":"users"}}},"type":"user_invitations"}]}' + headers: + User-Agent: + - OpenAPI-Generator/0.1.0/ruby + Content-Type: + - application/json + Accept: + - application/json + Expect: + - '' + response: + status: + code: 201 + message: Created + headers: + Date: + - Thu, 10 Sep 2020 17:35:31 GMT + Content-Type: + - application/json + Content-Length: + - '384' + Connection: + - keep-alive + Pragma: + - no-cache + Cache-Control: + - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 17-Sep-2020 17:35:31 GMT; + secure; HttpOnly + X-Dd-Version: + - '35.3014711' + X-Dd-Debug: + - M5AkO8bVyO5yuX6OQA9nCjANXZokYPd2NqFZwMNyvfQQbQnBskFTa6rdUllh6BsX + Dd-Pool: + - dogweb + Content-Security-Policy: + - frame-ancestors 'self'; report-uri https://api.datadoghq.com/csp-report + X-Frame-Options: + - SAMEORIGIN + X-Content-Type-Options: + - nosniff + Strict-Transport-Security: + - max-age=15724800; + body: + encoding: UTF-8 + string: '{"data":[{"type":"user_invitations","id":"067b8d98-f38c-11ea-ac35-43b5d1621385","attributes":{"uuid":"067b8d98-f38c-11ea-ac35-43b5d1621385","login_method":null,"invite_type":"openid_invite","created_at":"2020-09-10T17:35:31.794780+00:00","expires_at":"2020-09-12T17:35:31.732509+00:00"},"relationships":{"user":{"data":{"type":"users","id":"064893de-f38c-11ea-ac35-ffe8b82193d0"}}}}]}' + recorded_at: Thu, 10 Sep 2020 17:35:31 GMT +- request: + method: get + uri: https://api.datadoghq.com/api/v2/user_invitations/067b8d98-f38c-11ea-ac35-43b5d1621385 + body: + encoding: US-ASCII + string: '' + headers: + User-Agent: + - OpenAPI-Generator/0.1.0/ruby + Content-Type: + - application/json + Accept: + - application/json + Expect: + - '' + response: + status: + code: 200 + message: OK + headers: + Date: + - Thu, 10 Sep 2020 17:35:31 GMT + Content-Type: + - application/json + Content-Length: + - '382' + Connection: + - keep-alive + Vary: + - Accept-Encoding + Pragma: + - no-cache + Cache-Control: + - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 17-Sep-2020 17:35:31 GMT; + secure; HttpOnly + X-Dd-Version: + - '35.3014711' + X-Dd-Debug: + - KZy0Z61AelGSMiW0wwPuJyNwjEfJ0APCpzGlt7XM1KaE6e4cHzuLEBcvgVZz4sZ0 + Dd-Pool: + - dogweb + Content-Security-Policy: + - frame-ancestors 'self'; report-uri https://api.datadoghq.com/csp-report + X-Frame-Options: + - SAMEORIGIN + X-Content-Type-Options: + - nosniff + Strict-Transport-Security: + - max-age=15724800; + body: + encoding: UTF-8 + string: '{"data":{"type":"user_invitations","id":"067b8d98-f38c-11ea-ac35-43b5d1621385","attributes":{"uuid":"067b8d98-f38c-11ea-ac35-43b5d1621385","login_method":null,"invite_type":"openid_invite","created_at":"2020-09-10T17:35:31.794780+00:00","expires_at":"2020-09-12T17:35:31.732509+00:00"},"relationships":{"user":{"data":{"type":"users","id":"064893de-f38c-11ea-ac35-ffe8b82193d0"}}}}}' + recorded_at: Thu, 10 Sep 2020 17:35:31 GMT +recorded_with: VCR 6.0.0 diff --git a/cassettes/features/v2/users/Get-a-user-permissions-returns-OK-response.yml b/cassettes/features/v2/users/Get-a-user-permissions-returns-OK-response.yml new file mode 100644 index 00000000000..31eda65d6d9 --- /dev/null +++ b/cassettes/features/v2/users/Get-a-user-permissions-returns-OK-response.yml @@ -0,0 +1,109 @@ +--- +http_interactions: +- request: + method: post + uri: https://api.datadoghq.com/api/v2/users + body: + encoding: UTF-8 + string: '{"data":{"attributes":{"email":"ruby-Get-a-user-permissions-returns-OK-response-1599759345@datadoghq.com"},"type":"users"}}' + headers: + User-Agent: + - OpenAPI-Generator/0.1.0/ruby + Content-Type: + - application/json + Accept: + - application/json + Expect: + - '' + response: + status: + code: 201 + message: Created + headers: + Date: + - Thu, 10 Sep 2020 17:35:45 GMT + Content-Type: + - application/json + Content-Length: + - '607' + Connection: + - keep-alive + Pragma: + - no-cache + Cache-Control: + - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 17-Sep-2020 17:35:45 GMT; + secure; HttpOnly + X-Dd-Version: + - '35.3014711' + X-Dd-Debug: + - P1Zl2WBjv6MmQy4Wz5dVVmMx+jZ8eifOyWRE5KLp6dZWiS4DybK2ThOqXH2WyhkS + Dd-Pool: + - dogweb + Content-Security-Policy: + - frame-ancestors 'self'; report-uri https://api.datadoghq.com/csp-report + X-Frame-Options: + - SAMEORIGIN + X-Content-Type-Options: + - nosniff + Strict-Transport-Security: + - max-age=15724800; + body: + encoding: UTF-8 + string: '{"data":{"type":"users","id":"0e8e56c8-f38c-11ea-ac35-6b538ba7e3de","attributes":{"name":null,"handle":"ruby-get-a-user-permissions-returns-ok-response-1599759345@datadoghq.com","created_at":"2020-09-10T17:35:45.338510+00:00","email":"ruby-get-a-user-permissions-returns-ok-response-1599759345@datadoghq.com","icon":"https://secure.gravatar.com/avatar/127c4f554b56d44938af56de87f34148?s=48&d=retro","title":null,"verified":false,"disabled":false,"allowed_login_methods":[],"status":"Pending"},"relationships":{"roles":{"data":[]},"org":{"data":{"type":"orgs","id":"4dee724d-00cc-11ea-a77b-570c9d03c6c5"}}}}}' + recorded_at: Thu, 10 Sep 2020 17:35:45 GMT +- request: + method: get + uri: https://api.datadoghq.com/api/v2/users/0e8e56c8-f38c-11ea-ac35-6b538ba7e3de/permissions + body: + encoding: US-ASCII + string: '' + headers: + User-Agent: + - OpenAPI-Generator/0.1.0/ruby + Content-Type: + - application/json + Accept: + - application/json + Expect: + - '' + response: + status: + code: 200 + message: OK + headers: + Date: + - Thu, 10 Sep 2020 17:35:45 GMT + Content-Type: + - application/json + Content-Length: + - '11' + Connection: + - keep-alive + Pragma: + - no-cache + Cache-Control: + - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 17-Sep-2020 17:35:45 GMT; + secure; HttpOnly + X-Dd-Version: + - '35.3014711' + X-Dd-Debug: + - b7N5fdPhYXDjMBDnrRAJWxJNxeU8H5y+B5ea/L1cXAMez449FKZtw3SF5mhatH7J + Dd-Pool: + - dogweb + Content-Security-Policy: + - frame-ancestors 'self'; report-uri https://api.datadoghq.com/csp-report + X-Frame-Options: + - SAMEORIGIN + X-Content-Type-Options: + - nosniff + Strict-Transport-Security: + - max-age=15724800; + body: + encoding: UTF-8 + string: '{"data":[]}' + recorded_at: Thu, 10 Sep 2020 17:35:45 GMT +recorded_with: VCR 6.0.0 diff --git a/cassettes/features/v2/users/Get-a-user-returns-OK-response.yml b/cassettes/features/v2/users/Get-a-user-returns-OK-response.yml new file mode 100644 index 00000000000..d4859d4b1dc --- /dev/null +++ b/cassettes/features/v2/users/Get-a-user-returns-OK-response.yml @@ -0,0 +1,111 @@ +--- +http_interactions: +- request: + method: post + uri: https://api.datadoghq.com/api/v2/users + body: + encoding: UTF-8 + string: '{"data":{"attributes":{"email":"ruby-Get-a-user-returns-OK-response-1599759343@datadoghq.com"},"type":"users"}}' + headers: + User-Agent: + - OpenAPI-Generator/0.1.0/ruby + Content-Type: + - application/json + Accept: + - application/json + Expect: + - '' + response: + status: + code: 201 + message: Created + headers: + Date: + - Thu, 10 Sep 2020 17:35:44 GMT + Content-Type: + - application/json + Content-Length: + - '583' + Connection: + - keep-alive + Pragma: + - no-cache + Cache-Control: + - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 17-Sep-2020 17:35:43 GMT; + secure; HttpOnly + X-Dd-Version: + - '35.3014711' + X-Dd-Debug: + - sKAY0l5Dq+9OdN3cdjnBmv3dOgVdaJs4B9XR5o+IUZC5EZY9C+nnqv+YslWCCjmi + Dd-Pool: + - dogweb + Content-Security-Policy: + - frame-ancestors 'self'; report-uri https://api.datadoghq.com/csp-report + X-Frame-Options: + - SAMEORIGIN + X-Content-Type-Options: + - nosniff + Strict-Transport-Security: + - max-age=15724800; + body: + encoding: UTF-8 + string: '{"data":{"type":"users","id":"0dd1a2ee-f38c-11ea-ac35-4bbfd2f45b21","attributes":{"name":null,"handle":"ruby-get-a-user-returns-ok-response-1599759343@datadoghq.com","created_at":"2020-09-10T17:35:44.101918+00:00","email":"ruby-get-a-user-returns-ok-response-1599759343@datadoghq.com","icon":"https://secure.gravatar.com/avatar/ce7a9b363237c32b6b2871446bc03719?s=48&d=retro","title":null,"verified":false,"disabled":false,"allowed_login_methods":[],"status":"Pending"},"relationships":{"roles":{"data":[]},"org":{"data":{"type":"orgs","id":"4dee724d-00cc-11ea-a77b-570c9d03c6c5"}}}}}' + recorded_at: Thu, 10 Sep 2020 17:35:43 GMT +- request: + method: get + uri: https://api.datadoghq.com/api/v2/users/0dd1a2ee-f38c-11ea-ac35-4bbfd2f45b21 + body: + encoding: US-ASCII + string: '' + headers: + User-Agent: + - OpenAPI-Generator/0.1.0/ruby + Content-Type: + - application/json + Accept: + - application/json + Expect: + - '' + response: + status: + code: 200 + message: OK + headers: + Date: + - Thu, 10 Sep 2020 17:35:44 GMT + Content-Type: + - application/json + Content-Length: + - '583' + Connection: + - keep-alive + Vary: + - Accept-Encoding + Pragma: + - no-cache + Cache-Control: + - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 17-Sep-2020 17:35:44 GMT; + secure; HttpOnly + X-Dd-Version: + - '35.3014711' + X-Dd-Debug: + - PJIyDXpxEN4mcEZXeKHAupMoEkL0DxL1Os4C2/ywa2GjpRxyYTc76kt+BnhUGIa5 + Dd-Pool: + - dogweb + Content-Security-Policy: + - frame-ancestors 'self'; report-uri https://api.datadoghq.com/csp-report + X-Frame-Options: + - SAMEORIGIN + X-Content-Type-Options: + - nosniff + Strict-Transport-Security: + - max-age=15724800; + body: + encoding: UTF-8 + string: '{"data":{"type":"users","id":"0dd1a2ee-f38c-11ea-ac35-4bbfd2f45b21","attributes":{"name":null,"handle":"ruby-get-a-user-returns-ok-response-1599759343@datadoghq.com","created_at":"2020-09-10T17:35:44.101918+00:00","email":"ruby-get-a-user-returns-ok-response-1599759343@datadoghq.com","icon":"https://secure.gravatar.com/avatar/ce7a9b363237c32b6b2871446bc03719?s=48&d=retro","title":null,"verified":false,"disabled":false,"allowed_login_methods":[],"status":"Pending"},"relationships":{"roles":{"data":[]},"org":{"data":{"type":"orgs","id":"4dee724d-00cc-11ea-a77b-570c9d03c6c5"}}}}}' + recorded_at: Thu, 10 Sep 2020 17:35:43 GMT +recorded_with: VCR 6.0.0 diff --git a/cassettes/features/v2/users/List-all-users-returns-OK-response.yml b/cassettes/features/v2/users/List-all-users-returns-OK-response.yml new file mode 100644 index 00000000000..1f98e1a6d07 --- /dev/null +++ b/cassettes/features/v2/users/List-all-users-returns-OK-response.yml @@ -0,0 +1,111 @@ +--- +http_interactions: +- request: + method: post + uri: https://api.datadoghq.com/api/v2/users + body: + encoding: UTF-8 + string: '{"data":{"attributes":{"email":"ruby-List-all-users-returns-OK-response-1599759332@datadoghq.com"},"type":"users"}}' + headers: + User-Agent: + - OpenAPI-Generator/0.1.0/ruby + Content-Type: + - application/json + Accept: + - application/json + Expect: + - '' + response: + status: + code: 201 + message: Created + headers: + Date: + - Thu, 10 Sep 2020 17:35:32 GMT + Content-Type: + - application/json + Content-Length: + - '591' + Connection: + - keep-alive + Pragma: + - no-cache + Cache-Control: + - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 17-Sep-2020 17:35:32 GMT; + secure; HttpOnly + X-Dd-Version: + - '35.3014711' + X-Dd-Debug: + - WmMtMFngDL31sZYuYCiUaMFRtAs90zyIJHnMIoB4iHZztA/Ona9SnOav516bWmh7 + Dd-Pool: + - dogweb + Content-Security-Policy: + - frame-ancestors 'self'; report-uri https://api.datadoghq.com/csp-report + X-Frame-Options: + - SAMEORIGIN + X-Content-Type-Options: + - nosniff + Strict-Transport-Security: + - max-age=15724800; + body: + encoding: UTF-8 + string: '{"data":{"type":"users","id":"06b1730e-f38c-11ea-ac35-832d72aea52a","attributes":{"name":null,"handle":"ruby-list-all-users-returns-ok-response-1599759332@datadoghq.com","created_at":"2020-09-10T17:35:32.147257+00:00","email":"ruby-list-all-users-returns-ok-response-1599759332@datadoghq.com","icon":"https://secure.gravatar.com/avatar/dea22083873599ac2a57cbb03a3c5a40?s=48&d=retro","title":null,"verified":false,"disabled":false,"allowed_login_methods":[],"status":"Pending"},"relationships":{"roles":{"data":[]},"org":{"data":{"type":"orgs","id":"4dee724d-00cc-11ea-a77b-570c9d03c6c5"}}}}}' + recorded_at: Thu, 10 Sep 2020 17:35:32 GMT +- request: + method: get + uri: https://api.datadoghq.com/api/v2/users?filter=ruby-list-all-users-returns-ok-response-1599759332@datadoghq.com + body: + encoding: US-ASCII + string: '' + headers: + User-Agent: + - OpenAPI-Generator/0.1.0/ruby + Content-Type: + - application/json + Accept: + - application/json + Expect: + - '' + response: + status: + code: 200 + message: OK + headers: + Date: + - Thu, 10 Sep 2020 17:35:42 GMT + Content-Type: + - application/json + Content-Length: + - '656' + Connection: + - keep-alive + Vary: + - Accept-Encoding + Pragma: + - no-cache + Cache-Control: + - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 17-Sep-2020 17:35:32 GMT; + secure; HttpOnly + X-Dd-Version: + - '35.3014711' + X-Dd-Debug: + - 8fXgGAAoNDkfuneKCnTnqB8DKjHLTs+9UWiAzHHQVcEGbAPX4uItc5+97fNEvGUG + Dd-Pool: + - dogweb + Content-Security-Policy: + - frame-ancestors 'self'; report-uri https://api.datadoghq.com/csp-report + X-Frame-Options: + - SAMEORIGIN + X-Content-Type-Options: + - nosniff + Strict-Transport-Security: + - max-age=15724800; + body: + encoding: UTF-8 + string: '{"meta":{"page":{"total_filtered_count":1,"total_count":33574}},"data":[{"type":"users","id":"06b1730e-f38c-11ea-ac35-832d72aea52a","attributes":{"name":null,"handle":"ruby-list-all-users-returns-ok-response-1599759332@datadoghq.com","created_at":"2020-09-10T17:35:32.147257+00:00","email":"ruby-list-all-users-returns-ok-response-1599759332@datadoghq.com","icon":"https://secure.gravatar.com/avatar/dea22083873599ac2a57cbb03a3c5a40?s=48&d=retro","title":null,"verified":false,"disabled":false,"allowed_login_methods":[],"status":"Pending"},"relationships":{"roles":{"data":[]},"org":{"data":{"type":"orgs","id":"4dee724d-00cc-11ea-a77b-570c9d03c6c5"}}}}]}' + recorded_at: Thu, 10 Sep 2020 17:35:32 GMT +recorded_with: VCR 6.0.0 diff --git a/cassettes/features/v2/users/Send-invitation-emails-returns-OK-response.yml b/cassettes/features/v2/users/Send-invitation-emails-returns-OK-response.yml new file mode 100644 index 00000000000..bbe6a876e3c --- /dev/null +++ b/cassettes/features/v2/users/Send-invitation-emails-returns-OK-response.yml @@ -0,0 +1,109 @@ +--- +http_interactions: +- request: + method: post + uri: https://api.datadoghq.com/api/v2/users + body: + encoding: UTF-8 + string: '{"data":{"attributes":{"email":"ruby-Send-invitation-emails-returns-OK-response-1599759330@datadoghq.com"},"type":"users"}}' + headers: + User-Agent: + - OpenAPI-Generator/0.1.0/ruby + Content-Type: + - application/json + Accept: + - application/json + Expect: + - '' + response: + status: + code: 201 + message: Created + headers: + Date: + - Thu, 10 Sep 2020 17:35:30 GMT + Content-Type: + - application/json + Content-Length: + - '607' + Connection: + - keep-alive + Pragma: + - no-cache + Cache-Control: + - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 17-Sep-2020 17:35:30 GMT; + secure; HttpOnly + X-Dd-Version: + - '35.3014711' + X-Dd-Debug: + - PJIyDXpxEN4mcEZXeKHAupMoEkL0DxL1Os4C2/ywa2GjpRxyYTc76kt+BnhUGIa5 + Dd-Pool: + - dogweb + Content-Security-Policy: + - frame-ancestors 'self'; report-uri https://api.datadoghq.com/csp-report + X-Frame-Options: + - SAMEORIGIN + X-Content-Type-Options: + - nosniff + Strict-Transport-Security: + - max-age=15724800; + body: + encoding: UTF-8 + string: '{"data":{"type":"users","id":"05e4f694-f38c-11ea-ac35-3b29c03bc391","attributes":{"name":null,"handle":"ruby-send-invitation-emails-returns-ok-response-1599759330@datadoghq.com","created_at":"2020-09-10T17:35:30.806971+00:00","email":"ruby-send-invitation-emails-returns-ok-response-1599759330@datadoghq.com","icon":"https://secure.gravatar.com/avatar/964414816735b2e8c39daf8b39d1014f?s=48&d=retro","title":null,"verified":false,"disabled":false,"allowed_login_methods":[],"status":"Pending"},"relationships":{"roles":{"data":[]},"org":{"data":{"type":"orgs","id":"4dee724d-00cc-11ea-a77b-570c9d03c6c5"}}}}}' + recorded_at: Thu, 10 Sep 2020 17:35:30 GMT +- request: + method: post + uri: https://api.datadoghq.com/api/v2/user_invitations + body: + encoding: UTF-8 + string: '{"data":[{"type":"user_invitations","relationships":{"user":{"data":{"type":"users","id":"05e4f694-f38c-11ea-ac35-3b29c03bc391"}}}}]}' + headers: + User-Agent: + - OpenAPI-Generator/0.1.0/ruby + Content-Type: + - application/json + Accept: + - application/json + Expect: + - '' + response: + status: + code: 201 + message: Created + headers: + Date: + - Thu, 10 Sep 2020 17:35:31 GMT + Content-Type: + - application/json + Content-Length: + - '384' + Connection: + - keep-alive + Pragma: + - no-cache + Cache-Control: + - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 17-Sep-2020 17:35:31 GMT; + secure; HttpOnly + X-Dd-Version: + - '35.3014711' + X-Dd-Debug: + - 5Cj6NNcncFcQ6G9NKti+kar8gWVql7fBvPeJG7XhNnPs269m3W9o1I+JeGPUiuK3 + Dd-Pool: + - dogweb + Content-Security-Policy: + - frame-ancestors 'self'; report-uri https://api.datadoghq.com/csp-report + X-Frame-Options: + - SAMEORIGIN + X-Content-Type-Options: + - nosniff + Strict-Transport-Security: + - max-age=15724800; + body: + encoding: UTF-8 + string: '{"data":[{"type":"user_invitations","id":"06245ece-f38c-11ea-ac35-8b22c123d792","attributes":{"uuid":"06245ece-f38c-11ea-ac35-8b22c123d792","login_method":null,"invite_type":"openid_invite","created_at":"2020-09-10T17:35:31.223387+00:00","expires_at":"2020-09-12T17:35:31.054301+00:00"},"relationships":{"user":{"data":{"type":"users","id":"05e4f694-f38c-11ea-ac35-3b29c03bc391"}}}}]}' + recorded_at: Thu, 10 Sep 2020 17:35:30 GMT +recorded_with: VCR 6.0.0 diff --git a/cassettes/features/v2/users/Update-a-user-returns-OK-response.yml b/cassettes/features/v2/users/Update-a-user-returns-OK-response.yml new file mode 100644 index 00000000000..5740f8d93c2 --- /dev/null +++ b/cassettes/features/v2/users/Update-a-user-returns-OK-response.yml @@ -0,0 +1,111 @@ +--- +http_interactions: +- request: + method: post + uri: https://api.datadoghq.com/api/v2/users + body: + encoding: UTF-8 + string: '{"data":{"attributes":{"email":"ruby-Update-a-user-returns-OK-response-1599759344@datadoghq.com"},"type":"users"}}' + headers: + User-Agent: + - OpenAPI-Generator/0.1.0/ruby + Content-Type: + - application/json + Accept: + - application/json + Expect: + - '' + response: + status: + code: 201 + message: Created + headers: + Date: + - Thu, 10 Sep 2020 17:35:44 GMT + Content-Type: + - application/json + Content-Length: + - '589' + Connection: + - keep-alive + Pragma: + - no-cache + Cache-Control: + - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 17-Sep-2020 17:35:44 GMT; + secure; HttpOnly + X-Dd-Version: + - '35.3014711' + X-Dd-Debug: + - EQzhJSeNziVWIN4Gtgvm49DBQgA/xSWPBZSORg2i40a13gmPz8gOAFcYwqtQKjIG + Dd-Pool: + - dogweb + Content-Security-Policy: + - frame-ancestors 'self'; report-uri https://api.datadoghq.com/csp-report + X-Frame-Options: + - SAMEORIGIN + X-Content-Type-Options: + - nosniff + Strict-Transport-Security: + - max-age=15724800; + body: + encoding: UTF-8 + string: '{"data":{"type":"users","id":"0e2dcf9c-f38c-11ea-ac35-7360c0d49347","attributes":{"name":null,"handle":"ruby-update-a-user-returns-ok-response-1599759344@datadoghq.com","created_at":"2020-09-10T17:35:44.705768+00:00","email":"ruby-update-a-user-returns-ok-response-1599759344@datadoghq.com","icon":"https://secure.gravatar.com/avatar/a0302a79a1ad2761a4b6bc9ba5b01837?s=48&d=retro","title":null,"verified":false,"disabled":false,"allowed_login_methods":[],"status":"Pending"},"relationships":{"roles":{"data":[]},"org":{"data":{"type":"orgs","id":"4dee724d-00cc-11ea-a77b-570c9d03c6c5"}}}}}' + recorded_at: Thu, 10 Sep 2020 17:35:44 GMT +- request: + method: patch + uri: https://api.datadoghq.com/api/v2/users/0e2dcf9c-f38c-11ea-ac35-7360c0d49347 + body: + encoding: UTF-8 + string: '{"data":{"id":"0e2dcf9c-f38c-11ea-ac35-7360c0d49347","type":"users","attributes":{"name":"updated","disabled":true}}}' + headers: + User-Agent: + - OpenAPI-Generator/0.1.0/ruby + Content-Type: + - application/json + Accept: + - application/json + Expect: + - '' + response: + status: + code: 200 + message: OK + headers: + Date: + - Thu, 10 Sep 2020 17:35:45 GMT + Content-Type: + - application/json + Content-Length: + - '594' + Connection: + - keep-alive + Vary: + - Accept-Encoding + Pragma: + - no-cache + Cache-Control: + - no-cache + Set-Cookie: + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Thu, 17-Sep-2020 17:35:44 GMT; + secure; HttpOnly + X-Dd-Version: + - '35.3014711' + X-Dd-Debug: + - UQGqB8QYBhbqBtDjVVq40cE5WX9x4FZih8SPsFskLrXqfppNa0WZMVINwgYOpNqd + Dd-Pool: + - dogweb + Content-Security-Policy: + - frame-ancestors 'self'; report-uri https://api.datadoghq.com/csp-report + X-Frame-Options: + - SAMEORIGIN + X-Content-Type-Options: + - nosniff + Strict-Transport-Security: + - max-age=15724800; + body: + encoding: UTF-8 + string: '{"data":{"type":"users","id":"0e2dcf9c-f38c-11ea-ac35-7360c0d49347","attributes":{"name":"updated","handle":"ruby-update-a-user-returns-ok-response-1599759344@datadoghq.com","created_at":"2020-09-10T17:35:44.705768+00:00","email":"ruby-update-a-user-returns-ok-response-1599759344@datadoghq.com","icon":"https://secure.gravatar.com/avatar/a0302a79a1ad2761a4b6bc9ba5b01837?s=48&d=retro","title":null,"verified":false,"disabled":true,"allowed_login_methods":[],"status":"Disabled"},"relationships":{"roles":{"data":[]},"org":{"data":{"type":"orgs","id":"4dee724d-00cc-11ea-a77b-570c9d03c6c5"}}}}}' + recorded_at: Thu, 10 Sep 2020 17:35:44 GMT +recorded_with: VCR 6.0.0 diff --git a/cucumber.yml b/cucumber.yml new file mode 100644 index 00000000000..e61ba6285a9 --- /dev/null +++ b/cucumber.yml @@ -0,0 +1,3 @@ +default: > + --publish-quiet + -t 'not @skip' diff --git a/docs/v2/Log.md b/docs/v2/Log.md deleted file mode 100644 index 15dc52a12bb..00000000000 --- a/docs/v2/Log.md +++ /dev/null @@ -1,21 +0,0 @@ -# DatadogAPIClient::V2::Log - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**attributes** | [**LogAttributes**](LogAttributes.md) | | [optional] -**id** | **String** | Unique ID of the Log. | [optional] -**type** | [**LogType**](LogType.md) | | [optional] - -## Code Sample - -```ruby -require 'DatadogAPIClient::V2' - -instance = DatadogAPIClient::V2::Log.new(attributes: null, - id: AAAAAWgN8Xwgr1vKDQAAAABBV2dOOFh3ZzZobm1mWXJFYTR0OA, - type: null) -``` - - diff --git a/docs/v2/LogAttributes.md b/docs/v2/LogAttributes.md deleted file mode 100644 index 8be45fe0d0d..00000000000 --- a/docs/v2/LogAttributes.md +++ /dev/null @@ -1,29 +0,0 @@ -# DatadogAPIClient::V2::LogAttributes - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**attributes** | [**Hash<String, AnyType>**](AnyType.md) | JSON object of attributes from your log. | [optional] -**host** | **String** | Name of the machine from where the logs are being sent. | [optional] -**message** | **String** | The message [reserved attribute](https://docs.datadoghq.com/logs/log_collection/#reserved-attributes) of your log. By default, Datadog ingests the value of the message attribute as the body of the log entry. That value is then highlighted and displayed in the Logstream, where it is indexed for full text search. | [optional] -**service** | **String** | The name of the application or service generating the log events. It is used to switch from Logs to APM, so make sure you define the same value when you use both products. | [optional] -**status** | **String** | Status of the message associated with your log. | [optional] -**tags** | [**Array<AnyType>**](AnyType.md) | Array of tags associated with your log. | [optional] -**timestamp** | **DateTime** | Timestamp of your log. | [optional] - -## Code Sample - -```ruby -require 'DatadogAPIClient::V2' - -instance = DatadogAPIClient::V2::LogAttributes.new(attributes: {"customAttribute":123,"duration":2345}, - host: i-0123, - message: Host connected to remote, - service: agent, - status: INFO, - tags: ["team:A"], - timestamp: 2019-01-02T09:42:36.320Z) -``` - - diff --git a/docs/v2/LogType.md b/docs/v2/LogType.md deleted file mode 100644 index 96f46657b52..00000000000 --- a/docs/v2/LogType.md +++ /dev/null @@ -1,16 +0,0 @@ -# DatadogAPIClient::V2::LogType - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -## Code Sample - -```ruby -require 'DatadogAPIClient::V2' - -instance = DatadogAPIClient::V2::LogType.new() -``` - - diff --git a/docs/v2/LogsAggregateBucket.md b/docs/v2/LogsAggregateBucket.md deleted file mode 100644 index f11e7355cb4..00000000000 --- a/docs/v2/LogsAggregateBucket.md +++ /dev/null @@ -1,19 +0,0 @@ -# DatadogAPIClient::V2::LogsAggregateBucket - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**by** | **Hash<String, String>** | The key, value pairs for each group by | [optional] -**computes** | [**Hash<String, LogsAggregateBucketValue>**](LogsAggregateBucketValue.md) | A map of the metric name -> value for regular compute or list of values for a timeseries | [optional] - -## Code Sample - -```ruby -require 'DatadogAPIClient::V2' - -instance = DatadogAPIClient::V2::LogsAggregateBucket.new(by: {"@state":"success","@version":"abc"}, - computes: null) -``` - - diff --git a/docs/v2/LogsAggregateBucketValue.md b/docs/v2/LogsAggregateBucketValue.md deleted file mode 100644 index c34fc4b9dee..00000000000 --- a/docs/v2/LogsAggregateBucketValue.md +++ /dev/null @@ -1,16 +0,0 @@ -# DatadogAPIClient::V2::LogsAggregateBucketValue - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -## Code Sample - -```ruby -require 'DatadogAPIClient::V2' - -instance = DatadogAPIClient::V2::LogsAggregateBucketValue.new() -``` - - diff --git a/docs/v2/LogsAggregateBucketValueTimeseries.md b/docs/v2/LogsAggregateBucketValueTimeseries.md deleted file mode 100644 index 31e7b433a2b..00000000000 --- a/docs/v2/LogsAggregateBucketValueTimeseries.md +++ /dev/null @@ -1,16 +0,0 @@ -# DatadogAPIClient::V2::LogsAggregateBucketValueTimeseries - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -## Code Sample - -```ruby -require 'DatadogAPIClient::V2' - -instance = DatadogAPIClient::V2::LogsAggregateBucketValueTimeseries.new() -``` - - diff --git a/docs/v2/LogsAggregateBucketValueTimeseriesPoint.md b/docs/v2/LogsAggregateBucketValueTimeseriesPoint.md deleted file mode 100644 index 4abef0a3922..00000000000 --- a/docs/v2/LogsAggregateBucketValueTimeseriesPoint.md +++ /dev/null @@ -1,19 +0,0 @@ -# DatadogAPIClient::V2::LogsAggregateBucketValueTimeseriesPoint - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**time** | **String** | The time value for this point | [optional] -**value** | **Float** | The value for this point | [optional] - -## Code Sample - -```ruby -require 'DatadogAPIClient::V2' - -instance = DatadogAPIClient::V2::LogsAggregateBucketValueTimeseriesPoint.new(time: 2020-06-08T11:55:00Z, - value: 19) -``` - - diff --git a/docs/v2/LogsAggregateRequest.md b/docs/v2/LogsAggregateRequest.md deleted file mode 100644 index 5e10a6d509b..00000000000 --- a/docs/v2/LogsAggregateRequest.md +++ /dev/null @@ -1,25 +0,0 @@ -# DatadogAPIClient::V2::LogsAggregateRequest - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**compute** | [**Array<LogsCompute>**](LogsCompute.md) | The list of metrics or timeseries to compute for the retrieved buckets. | [optional] -**filter** | [**LogsQueryFilter**](LogsQueryFilter.md) | | [optional] -**group_by** | [**Array<LogsGroupBy>**](LogsGroupBy.md) | The rules for the group by | [optional] -**options** | [**LogsQueryOptions**](LogsQueryOptions.md) | | [optional] -**paging** | [**LogsAggregateRequestPaging**](LogsAggregateRequestPaging.md) | | [optional] - -## Code Sample - -```ruby -require 'DatadogAPIClient::V2' - -instance = DatadogAPIClient::V2::LogsAggregateRequest.new(compute: null, - filter: null, - group_by: null, - options: null, - paging: null) -``` - - diff --git a/docs/v2/LogsAggregateRequestPaging.md b/docs/v2/LogsAggregateRequestPaging.md deleted file mode 100644 index 84e47f7b38b..00000000000 --- a/docs/v2/LogsAggregateRequestPaging.md +++ /dev/null @@ -1,17 +0,0 @@ -# DatadogAPIClient::V2::LogsAggregateRequestPaging - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**after** | **String** | The returned paging point to use to get the next results | [optional] - -## Code Sample - -```ruby -require 'DatadogAPIClient::V2' - -instance = DatadogAPIClient::V2::LogsAggregateRequestPaging.new(after: eyJzdGFydEF0IjoiQVFBQUFYS2tMS3pPbm40NGV3QUFBQUJCV0V0clRFdDZVbG8zY3pCRmNsbHJiVmxDWlEifQ==) -``` - - diff --git a/docs/v2/LogsAggregateResponse.md b/docs/v2/LogsAggregateResponse.md deleted file mode 100644 index e1d3cfbfc90..00000000000 --- a/docs/v2/LogsAggregateResponse.md +++ /dev/null @@ -1,19 +0,0 @@ -# DatadogAPIClient::V2::LogsAggregateResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**data** | [**LogsAggregateResponseData**](LogsAggregateResponseData.md) | | [optional] -**meta** | [**LogsResponseMetadata**](LogsResponseMetadata.md) | | [optional] - -## Code Sample - -```ruby -require 'DatadogAPIClient::V2' - -instance = DatadogAPIClient::V2::LogsAggregateResponse.new(data: null, - meta: null) -``` - - diff --git a/docs/v2/LogsAggregateResponseData.md b/docs/v2/LogsAggregateResponseData.md deleted file mode 100644 index 86c03cc4475..00000000000 --- a/docs/v2/LogsAggregateResponseData.md +++ /dev/null @@ -1,17 +0,0 @@ -# DatadogAPIClient::V2::LogsAggregateResponseData - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**buckets** | [**Array<LogsAggregateBucket>**](LogsAggregateBucket.md) | The list of matching buckets, one item per bucket | [optional] - -## Code Sample - -```ruby -require 'DatadogAPIClient::V2' - -instance = DatadogAPIClient::V2::LogsAggregateResponseData.new(buckets: null) -``` - - diff --git a/docs/v2/LogsAggregateResponseStatus.md b/docs/v2/LogsAggregateResponseStatus.md deleted file mode 100644 index 8f5adb3a30a..00000000000 --- a/docs/v2/LogsAggregateResponseStatus.md +++ /dev/null @@ -1,16 +0,0 @@ -# DatadogAPIClient::V2::LogsAggregateResponseStatus - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -## Code Sample - -```ruby -require 'DatadogAPIClient::V2' - -instance = DatadogAPIClient::V2::LogsAggregateResponseStatus.new() -``` - - diff --git a/docs/v2/LogsAggregateSort.md b/docs/v2/LogsAggregateSort.md deleted file mode 100644 index eceb43bd961..00000000000 --- a/docs/v2/LogsAggregateSort.md +++ /dev/null @@ -1,23 +0,0 @@ -# DatadogAPIClient::V2::LogsAggregateSort - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**aggregation** | [**LogsAggregationFunction**](LogsAggregationFunction.md) | | [optional] -**metric** | **String** | The metric to sort by (only used for type=metric) | [optional] -**order** | [**LogsSortOrder**](LogsSortOrder.md) | | [optional] -**type** | [**LogsAggregateSortType**](LogsAggregateSortType.md) | | [optional] - -## Code Sample - -```ruby -require 'DatadogAPIClient::V2' - -instance = DatadogAPIClient::V2::LogsAggregateSort.new(aggregation: null, - metric: @duration, - order: null, - type: null) -``` - - diff --git a/docs/v2/LogsAggregateSortType.md b/docs/v2/LogsAggregateSortType.md deleted file mode 100644 index 7de2845fc3c..00000000000 --- a/docs/v2/LogsAggregateSortType.md +++ /dev/null @@ -1,16 +0,0 @@ -# DatadogAPIClient::V2::LogsAggregateSortType - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -## Code Sample - -```ruby -require 'DatadogAPIClient::V2' - -instance = DatadogAPIClient::V2::LogsAggregateSortType.new() -``` - - diff --git a/docs/v2/LogsAggregationFunction.md b/docs/v2/LogsAggregationFunction.md deleted file mode 100644 index 5781f4da3c4..00000000000 --- a/docs/v2/LogsAggregationFunction.md +++ /dev/null @@ -1,16 +0,0 @@ -# DatadogAPIClient::V2::LogsAggregationFunction - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -## Code Sample - -```ruby -require 'DatadogAPIClient::V2' - -instance = DatadogAPIClient::V2::LogsAggregationFunction.new() -``` - - diff --git a/docs/v2/LogsApi.md b/docs/v2/LogsApi.md deleted file mode 100644 index 13e02e4d686..00000000000 --- a/docs/v2/LogsApi.md +++ /dev/null @@ -1,206 +0,0 @@ -# DatadogAPIClient::V2::LogsApi - -All URIs are relative to *https://api.datadoghq.com* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**aggregate_logs**](LogsApi.md#aggregate_logs) | **POST** /api/v2/logs/analytics/aggregate | Aggregate events -[**list_logs**](LogsApi.md#list_logs) | **POST** /api/v2/logs/events/search | Get a list of logs -[**list_logs_get**](LogsApi.md#list_logs_get) | **GET** /api/v2/logs/events | Get a quick list of logs - - - -## aggregate_logs - -> LogsAggregateResponse aggregate_logs(opts) - -Aggregate events - -The public API endpoint to aggregate events into buckets and compute metrics and timeseries. - -### Example - -```ruby -# load the gem -require 'datadog_api_client/v2' -# setup authorization -DatadogAPIClient::V2.configure do |config| - # Configure API key authorization: apiKeyAuth - config.api_key['DD-API-KEY'] = 'YOUR API KEY' - # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) - #config.api_key_prefix['DD-API-KEY'] = 'Bearer' - - # Configure API key authorization: appKeyAuth - config.api_key['DD-APPLICATION-KEY'] = 'YOUR API KEY' - # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) - #config.api_key_prefix['DD-APPLICATION-KEY'] = 'Bearer' -end - -api_instance = DatadogAPIClient::V2::LogsApi.new -opts = { - body: DatadogAPIClient::V2::LogsAggregateRequest.new # LogsAggregateRequest | -} - -begin - #Aggregate events - result = api_instance.aggregate_logs(opts) - p result -rescue DatadogAPIClient::V2::ApiError => e - puts "Exception when calling LogsApi->aggregate_logs: #{e}" -end -``` - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**LogsAggregateRequest**](LogsAggregateRequest.md)| | [optional] - -### Return type - -[**LogsAggregateResponse**](LogsAggregateResponse.md) - -### Authorization - -[apiKeyAuth](../README.md#apiKeyAuth), [appKeyAuth](../README.md#appKeyAuth) - -### HTTP request headers - -- **Content-Type**: application/json -- **Accept**: application/json - - -## list_logs - -> LogsListResponse list_logs(opts) - -Get a list of logs - -List endpoint returns logs that match a log search query. [Results are paginated][1]. Both this endpoint and the GET endpoint can be used interchangeably when listing logs. **If you are considering archiving logs for your organization, consider use of the Datadog archive capabilities instead of the log list API. See [Datadog Logs Archive documentation][2].** [1]: /logs/guide/collect-multiple-logs-with-pagination [2]: https://docs.datadoghq.com/logs/archives - -### Example - -```ruby -# load the gem -require 'datadog_api_client/v2' -# setup authorization -DatadogAPIClient::V2.configure do |config| - # Configure API key authorization: apiKeyAuth - config.api_key['DD-API-KEY'] = 'YOUR API KEY' - # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) - #config.api_key_prefix['DD-API-KEY'] = 'Bearer' - - # Configure API key authorization: appKeyAuth - config.api_key['DD-APPLICATION-KEY'] = 'YOUR API KEY' - # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) - #config.api_key_prefix['DD-APPLICATION-KEY'] = 'Bearer' -end - -api_instance = DatadogAPIClient::V2::LogsApi.new -opts = { - body: DatadogAPIClient::V2::LogsListRequest.new # LogsListRequest | -} - -begin - #Get a list of logs - result = api_instance.list_logs(opts) - p result -rescue DatadogAPIClient::V2::ApiError => e - puts "Exception when calling LogsApi->list_logs: #{e}" -end -``` - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**LogsListRequest**](LogsListRequest.md)| | [optional] - -### Return type - -[**LogsListResponse**](LogsListResponse.md) - -### Authorization - -[apiKeyAuth](../README.md#apiKeyAuth), [appKeyAuth](../README.md#appKeyAuth) - -### HTTP request headers - -- **Content-Type**: application/json -- **Accept**: application/json - - -## list_logs_get - -> LogsListResponse list_logs_get(opts) - -Get a quick list of logs - -List endpoint returns logs that match a log search query. [Results are paginated][1]. Both this endpoint and the POST endpoint can be used interchangeably when listing logs. **If you are considering archiving logs for your organization, consider use of the Datadog archive capabilities instead of the log list API. See [Datadog Logs Archive documentation][2].** [1]: /logs/guide/collect-multiple-logs-with-pagination [2]: https://docs.datadoghq.com/logs/archives - -### Example - -```ruby -# load the gem -require 'datadog_api_client/v2' -# setup authorization -DatadogAPIClient::V2.configure do |config| - # Configure API key authorization: apiKeyAuth - config.api_key['DD-API-KEY'] = 'YOUR API KEY' - # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) - #config.api_key_prefix['DD-API-KEY'] = 'Bearer' - - # Configure API key authorization: appKeyAuth - config.api_key['DD-APPLICATION-KEY'] = 'YOUR API KEY' - # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) - #config.api_key_prefix['DD-APPLICATION-KEY'] = 'Bearer' -end - -api_instance = DatadogAPIClient::V2::LogsApi.new -opts = { - filter_query: '@datacenter:us @role:db', # String | Search query following logs syntax. - filter_index: 'main', # String | For customers with multiple indexes, the indexes to search Defaults to '*' which means all indexes - filter_from: DateTime.parse('2019-01-02T09:42:36.320Z'), # DateTime | Minimum timestamp for requested logs. - filter_to: DateTime.parse('2019-01-03T09:42:36.320Z'), # DateTime | Maximum timestamp for requested logs. - sort: DatadogAPIClient::V2::LogsSort.new, # LogsSort | Order of logs in results. - page_cursor: 'eyJzdGFydEF0IjoiQVFBQUFYS2tMS3pPbm40NGV3QUFBQUJCV0V0clRFdDZVbG8zY3pCRmNsbHJiVmxDWlEifQ==', # String | List following results with a cursor provided in the previous query. - page_limit: 10 # Integer | Maximum number of logs in the response. -} - -begin - #Get a quick list of logs - result = api_instance.list_logs_get(opts) - p result -rescue DatadogAPIClient::V2::ApiError => e - puts "Exception when calling LogsApi->list_logs_get: #{e}" -end -``` - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **filter_query** | **String**| Search query following logs syntax. | [optional] - **filter_index** | **String**| For customers with multiple indexes, the indexes to search Defaults to '*' which means all indexes | [optional] - **filter_from** | **DateTime**| Minimum timestamp for requested logs. | [optional] - **filter_to** | **DateTime**| Maximum timestamp for requested logs. | [optional] - **sort** | [**LogsSort**](.md)| Order of logs in results. | [optional] - **page_cursor** | **String**| List following results with a cursor provided in the previous query. | [optional] - **page_limit** | **Integer**| Maximum number of logs in the response. | [optional] [default to 10] - -### Return type - -[**LogsListResponse**](LogsListResponse.md) - -### Authorization - -[apiKeyAuth](../README.md#apiKeyAuth), [appKeyAuth](../README.md#appKeyAuth) - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: application/json - diff --git a/docs/v2/LogsCompute.md b/docs/v2/LogsCompute.md deleted file mode 100644 index df2789f3979..00000000000 --- a/docs/v2/LogsCompute.md +++ /dev/null @@ -1,23 +0,0 @@ -# DatadogAPIClient::V2::LogsCompute - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**aggregation** | [**LogsAggregationFunction**](LogsAggregationFunction.md) | | -**interval** | **String** | The time buckets' size (only used for type=timeseries) Defaults to a resolution of 150 points | [optional] -**metric** | **String** | The metric to use | [optional] -**type** | [**LogsComputeType**](LogsComputeType.md) | | [optional] - -## Code Sample - -```ruby -require 'DatadogAPIClient::V2' - -instance = DatadogAPIClient::V2::LogsCompute.new(aggregation: null, - interval: 5m, - metric: @duration, - type: null) -``` - - diff --git a/docs/v2/LogsComputeType.md b/docs/v2/LogsComputeType.md deleted file mode 100644 index ab16c80b90c..00000000000 --- a/docs/v2/LogsComputeType.md +++ /dev/null @@ -1,16 +0,0 @@ -# DatadogAPIClient::V2::LogsComputeType - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -## Code Sample - -```ruby -require 'DatadogAPIClient::V2' - -instance = DatadogAPIClient::V2::LogsComputeType.new() -``` - - diff --git a/docs/v2/LogsGroupBy.md b/docs/v2/LogsGroupBy.md deleted file mode 100644 index e0ee3c3c848..00000000000 --- a/docs/v2/LogsGroupBy.md +++ /dev/null @@ -1,27 +0,0 @@ -# DatadogAPIClient::V2::LogsGroupBy - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**facet** | **String** | The name of the facet to use (required) | -**histogram** | [**LogsGroupByHistogram**](LogsGroupByHistogram.md) | | [optional] -**limit** | **Integer** | The maximum buckets to return for this group by | [optional] [default to 10] -**missing** | [**LogsGroupByMissing**](LogsGroupByMissing.md) | | [optional] -**sort** | [**LogsAggregateSort**](LogsAggregateSort.md) | | [optional] -**total** | [**LogsGroupByTotal**](LogsGroupByTotal.md) | | [optional] - -## Code Sample - -```ruby -require 'DatadogAPIClient::V2' - -instance = DatadogAPIClient::V2::LogsGroupBy.new(facet: host, - histogram: null, - limit: null, - missing: null, - sort: null, - total: null) -``` - - diff --git a/docs/v2/LogsGroupByHistogram.md b/docs/v2/LogsGroupByHistogram.md deleted file mode 100644 index 1a4023476c0..00000000000 --- a/docs/v2/LogsGroupByHistogram.md +++ /dev/null @@ -1,21 +0,0 @@ -# DatadogAPIClient::V2::LogsGroupByHistogram - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**interval** | **Float** | The bin size of the histogram buckets | -**max** | **Float** | The maximum value for the measure used in the histogram (values greater than this one are filtered out) | -**min** | **Float** | The minimum value for the measure used in the histogram (values smaller than this one are filtered out) | - -## Code Sample - -```ruby -require 'DatadogAPIClient::V2' - -instance = DatadogAPIClient::V2::LogsGroupByHistogram.new(interval: 10, - max: 100, - min: 50) -``` - - diff --git a/docs/v2/LogsGroupByMissing.md b/docs/v2/LogsGroupByMissing.md deleted file mode 100644 index 4c0c3bc96b4..00000000000 --- a/docs/v2/LogsGroupByMissing.md +++ /dev/null @@ -1,16 +0,0 @@ -# DatadogAPIClient::V2::LogsGroupByMissing - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -## Code Sample - -```ruby -require 'DatadogAPIClient::V2' - -instance = DatadogAPIClient::V2::LogsGroupByMissing.new() -``` - - diff --git a/docs/v2/LogsGroupByTotal.md b/docs/v2/LogsGroupByTotal.md deleted file mode 100644 index 2b90dc37829..00000000000 --- a/docs/v2/LogsGroupByTotal.md +++ /dev/null @@ -1,16 +0,0 @@ -# DatadogAPIClient::V2::LogsGroupByTotal - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -## Code Sample - -```ruby -require 'DatadogAPIClient::V2' - -instance = DatadogAPIClient::V2::LogsGroupByTotal.new() -``` - - diff --git a/docs/v2/LogsListRequest.md b/docs/v2/LogsListRequest.md deleted file mode 100644 index 8b2f3fb4a40..00000000000 --- a/docs/v2/LogsListRequest.md +++ /dev/null @@ -1,23 +0,0 @@ -# DatadogAPIClient::V2::LogsListRequest - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**filter** | [**LogsQueryFilter**](LogsQueryFilter.md) | | [optional] -**options** | [**LogsQueryOptions**](LogsQueryOptions.md) | | [optional] -**page** | [**LogsListRequestPage**](LogsListRequestPage.md) | | [optional] -**sort** | [**LogsSort**](LogsSort.md) | | [optional] - -## Code Sample - -```ruby -require 'DatadogAPIClient::V2' - -instance = DatadogAPIClient::V2::LogsListRequest.new(filter: null, - options: null, - page: null, - sort: null) -``` - - diff --git a/docs/v2/LogsListRequestPage.md b/docs/v2/LogsListRequestPage.md deleted file mode 100644 index 803576b9809..00000000000 --- a/docs/v2/LogsListRequestPage.md +++ /dev/null @@ -1,19 +0,0 @@ -# DatadogAPIClient::V2::LogsListRequestPage - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**cursor** | **String** | List following results with a cursor provided in the previous query. | [optional] -**limit** | **Integer** | Maximum number of logs in the response. | [optional] [default to 10] - -## Code Sample - -```ruby -require 'DatadogAPIClient::V2' - -instance = DatadogAPIClient::V2::LogsListRequestPage.new(cursor: eyJzdGFydEF0IjoiQVFBQUFYS2tMS3pPbm40NGV3QUFBQUJCV0V0clRFdDZVbG8zY3pCRmNsbHJiVmxDWlEifQ==, - limit: 25) -``` - - diff --git a/docs/v2/LogsListResponse.md b/docs/v2/LogsListResponse.md deleted file mode 100644 index d016a5151ce..00000000000 --- a/docs/v2/LogsListResponse.md +++ /dev/null @@ -1,21 +0,0 @@ -# DatadogAPIClient::V2::LogsListResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**data** | [**Array<Log>**](Log.md) | Array of logs matching the request. | [optional] -**links** | [**LogsListResponseLinks**](LogsListResponseLinks.md) | | [optional] -**meta** | [**LogsResponseMetadata**](LogsResponseMetadata.md) | | [optional] - -## Code Sample - -```ruby -require 'DatadogAPIClient::V2' - -instance = DatadogAPIClient::V2::LogsListResponse.new(data: null, - links: null, - meta: null) -``` - - diff --git a/docs/v2/LogsListResponseLinks.md b/docs/v2/LogsListResponseLinks.md deleted file mode 100644 index 7ff9589d4fd..00000000000 --- a/docs/v2/LogsListResponseLinks.md +++ /dev/null @@ -1,17 +0,0 @@ -# DatadogAPIClient::V2::LogsListResponseLinks - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**_next** | **String** | Link for the next set of results. Note that the request can also be made using the POST endpoint. | [optional] - -## Code Sample - -```ruby -require 'DatadogAPIClient::V2' - -instance = DatadogAPIClient::V2::LogsListResponseLinks.new(_next: https://app.datadoghq.com/api/v2/logs/event?filter[query]=foo&page[cursor]=eyJzdGFydEF0IjoiQVFBQUFYS2tMS3pPbm40NGV3QUFBQUJCV0V0clRFdDZVbG8zY3pCRmNsbHJiVmxDWlEifQ==) -``` - - diff --git a/docs/v2/LogsQueryFilter.md b/docs/v2/LogsQueryFilter.md deleted file mode 100644 index fca745538cd..00000000000 --- a/docs/v2/LogsQueryFilter.md +++ /dev/null @@ -1,23 +0,0 @@ -# DatadogAPIClient::V2::LogsQueryFilter - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**from** | **String** | The minimum time for the requested logs, supports date math and regular timestamps | [optional] [default to 'now-15m'] -**indexes** | **Array<String>** | For customers with multiple indexes, the indexes to search. Defaults to ['*'] which means all indexes. | [optional] -**query** | **String** | The search query - following the log search syntax. | [optional] [default to '*'] -**to** | **String** | The maximum time for the requested logs, supports date math and regular timestamps | [optional] [default to 'now'] - -## Code Sample - -```ruby -require 'DatadogAPIClient::V2' - -instance = DatadogAPIClient::V2::LogsQueryFilter.new(from: now-15m, - indexes: ["main","web"], - query: service:web* AND @http.status_code:[200 TO 299], - to: now) -``` - - diff --git a/docs/v2/LogsQueryOptions.md b/docs/v2/LogsQueryOptions.md deleted file mode 100644 index bbd36cd64ae..00000000000 --- a/docs/v2/LogsQueryOptions.md +++ /dev/null @@ -1,19 +0,0 @@ -# DatadogAPIClient::V2::LogsQueryOptions - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**time_offset** | **Integer** | The time offset (in seconds) to apply to the query. | [optional] -**timezone** | **String** | The timezone can be specified both as an offset, for example: \"UTC+03:00\". | [optional] [default to 'UTC'] - -## Code Sample - -```ruby -require 'DatadogAPIClient::V2' - -instance = DatadogAPIClient::V2::LogsQueryOptions.new(time_offset: null, - timezone: GMT) -``` - - diff --git a/docs/v2/LogsResponseMetadata.md b/docs/v2/LogsResponseMetadata.md deleted file mode 100644 index c2d668124a0..00000000000 --- a/docs/v2/LogsResponseMetadata.md +++ /dev/null @@ -1,25 +0,0 @@ -# DatadogAPIClient::V2::LogsResponseMetadata - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**elapsed** | **Integer** | The time elapsed in milliseconds | [optional] -**page** | [**LogsResponseMetadataPage**](LogsResponseMetadataPage.md) | | [optional] -**request_id** | **String** | The identifier of the request | [optional] -**status** | [**LogsAggregateResponseStatus**](LogsAggregateResponseStatus.md) | | [optional] -**warnings** | [**Array<LogsWarning>**](LogsWarning.md) | A list of warnings (non fatal errors) encountered, partial results might be returned if warnings are present in the response. | [optional] - -## Code Sample - -```ruby -require 'DatadogAPIClient::V2' - -instance = DatadogAPIClient::V2::LogsResponseMetadata.new(elapsed: 132, - page: null, - request_id: MWlFUjVaWGZTTTZPYzM0VXp1OXU2d3xLSVpEMjZKQ0VKUTI0dEYtM3RSOFVR, - status: null, - warnings: null) -``` - - diff --git a/docs/v2/LogsResponseMetadataPage.md b/docs/v2/LogsResponseMetadataPage.md deleted file mode 100644 index b118c145812..00000000000 --- a/docs/v2/LogsResponseMetadataPage.md +++ /dev/null @@ -1,17 +0,0 @@ -# DatadogAPIClient::V2::LogsResponseMetadataPage - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**after** | **String** | The cursor to use to get the next results, if any. To make the next request, use the same. parameters with the addition of the `page[cursor]`. | [optional] - -## Code Sample - -```ruby -require 'DatadogAPIClient::V2' - -instance = DatadogAPIClient::V2::LogsResponseMetadataPage.new(after: eyJzdGFydEF0IjoiQVFBQUFYS2tMS3pPbm40NGV3QUFBQUJCV0V0clRFdDZVbG8zY3pCRmNsbHJiVmxDWlEifQ==) -``` - - diff --git a/docs/v2/LogsSort.md b/docs/v2/LogsSort.md deleted file mode 100644 index e10e3dcfb28..00000000000 --- a/docs/v2/LogsSort.md +++ /dev/null @@ -1,16 +0,0 @@ -# DatadogAPIClient::V2::LogsSort - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -## Code Sample - -```ruby -require 'DatadogAPIClient::V2' - -instance = DatadogAPIClient::V2::LogsSort.new() -``` - - diff --git a/docs/v2/LogsSortOrder.md b/docs/v2/LogsSortOrder.md deleted file mode 100644 index ffb5b9538db..00000000000 --- a/docs/v2/LogsSortOrder.md +++ /dev/null @@ -1,16 +0,0 @@ -# DatadogAPIClient::V2::LogsSortOrder - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -## Code Sample - -```ruby -require 'DatadogAPIClient::V2' - -instance = DatadogAPIClient::V2::LogsSortOrder.new() -``` - - diff --git a/docs/v2/LogsWarning.md b/docs/v2/LogsWarning.md deleted file mode 100644 index 45102227152..00000000000 --- a/docs/v2/LogsWarning.md +++ /dev/null @@ -1,21 +0,0 @@ -# DatadogAPIClient::V2::LogsWarning - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**code** | **String** | A unique code for this type of warning | [optional] -**detail** | **String** | A detailed explanation of this specific warning | [optional] -**title** | **String** | A short human-readable summary of the warning | [optional] - -## Code Sample - -```ruby -require 'DatadogAPIClient::V2' - -instance = DatadogAPIClient::V2::LogsWarning.new(code: unknown_index, - detail: indexes: foo, bar, - title: One or several indexes are missing or invalid, results hold data from the other indexes) -``` - - diff --git a/features/step_definitions/request.rb b/features/step_definitions/request.rb new file mode 100644 index 00000000000..c7dedb5443c --- /dev/null +++ b/features/step_definitions/request.rb @@ -0,0 +1,147 @@ +module APIWorld + def api + Object.const_get("DatadogAPIClient::V#{@api_version}") + end + + def unique + now = Time.now + scenario_name = @scenario.name.gsub(/[^A-Za-z0-9]+/, '-')[0..100] + @unique ||= "ruby-#{scenario_name}-#{now.to_i}" + end + + def fixtures + @fixtures ||= { "unique": unique, "unique_lower": unique.downcase } + end + + def opts + @opts ||= {} + end + + def create_user + api_instance = DatadogAPIClient::V2::UsersApi.new + + user = DatadogAPIClient::V2::UserCreateRequest.new + user.data = DatadogAPIClient::V2::UserCreateData.new + user.data.type = "users" + user.data.attributes = DatadogAPIClient::V2::UserCreateAttributes.new + user.data.attributes.email = "#{unique}@datadoghq.com" + + response = api_instance.create_user_with_http_info({ + body: user + }) + @undo << lambda { undo_create_user(response) } + response[0] + end + + def undo_create_user(response) + api_instance = DatadogAPIClient::V2::UsersApi.new + api_instance.disable_user(response[0].data.id) + end + + def create_role + api_instance = DatadogAPIClient::V2::RolesApi.new + + role = DatadogAPIClient::V2::RoleCreateRequest.new + role.data = DatadogAPIClient::V2::RoleCreateData.new + role.data.type = "roles" + role.data.attributes = DatadogAPIClient::V2::RoleCreateAttributes.new + role.data.attributes.name = unique + + response = api_instance.create_role_with_http_info({ + body: role + }) + @undo << lambda { undo_create_role(response) } + response[0] + end + + def undo_create_role(response) + api_instance = DatadogAPIClient::V2::RolesApi.new + api_instance.delete_role(response[0].data.id) + end + + def create_permission + api_instance = DatadogAPIClient::V2::RolesApi.new + + response = api_instance.list_permissions + response.data[0] + end + + def skip_undo?(method) + method.to_s.start_with?( + "undo_add_", + "undo_get_", + "undo_list_", + "undo_disable_", + "undo_delete_", + "undo_remove_", + "undo_update_", + "undo_send_invitations", + ) + end + + def missing_method(method, *args, &block) + super unless skip_undo? method + end + + def respond_to_missing?(method, *) + skip_undo?(method) || super + end +end + +World(APIWorld) + + +Given('a valid "apiKeyAuth" key in the system') do + api.configure.api_key['DD-API-KEY'] = ENV["DD_TEST_CLIENT_API_KEY"] + # TODO api.configure.api_key['apiKeyAuth'] = ENV["DD_TEST_CLIENT_API_KEY"] +end + +Given('a valid "appKeyAuth" key in the system') do + api.configure.api_key['DD-APPLICATION-KEY'] = ENV["DD_TEST_CLIENT_APP_KEY"] + # TODO api.configure.api_key['appKeyAuth'] = ENV["DD_TEST_CLIENT_APP_KEY"] +end + +Given(/^an instance of "([^"]+)" API$/) do |api_name| + api.configure.debugging = ENV["DEBUG"].present? + @api_instance = api.const_get("#{api_name}Api").new +end + +Given(/^body (.*)$/) do |body| + opts[:body] = JSON.parse(body.templated fixtures) +end + +Given(/^request contains "([^"]+)" parameter from "([^"]+)"$/) do |parameter_name, fixture_path| + opts[parameter_name.to_sym] = fixtures.lookup(fixture_path) +end + +Given(/^new "([^"]+)" request$/) do |name| + @api_method = @api_instance.method("#{name.underscore}_with_http_info".to_sym) +end + +When('the request is sent') do + params = @api_method.parameters.select { |p| p[0] == :req }.map { |p| opts.delete(p[1]) } + undo_name = "undo_#{@api_method.name.to_s.chomp('_with_http_info')}".to_sym + undo = self.method undo_name # fail early on missing undo method + @response = @api_method.call(*params, opts) + @undo << lambda { undo.call @response } unless skip_undo? undo_name +end + +Then(/^the response "([^"]+)" is equal to (.*)$/) do |response_path, value| + expect(@response[0].lookup response_path).to eq JSON.parse(value.templated fixtures) +end + +Then(/^the response status is (\d+) (.*)$/) do |status, msg| + expect(@response[1]).to eq status.to_i +end + +Then(/the response "([^"]+)" is false/) do |response_path| + expect(@response[0].lookup response_path).to be false +end + +Then(/^the response "([^"]+)" has the same value as "(.*)"$/) do |response_path, fixture_path| + expect(@response[0].lookup response_path).to eq fixtures.lookup(fixture_path) +end + +Given('there is a valid {string} in the system') do |name| + fixtures[name.to_sym] = self.send("create_#{name}".to_sym) +end diff --git a/features/step_definitions/v2/roles.rb b/features/step_definitions/v2/roles.rb new file mode 100644 index 00000000000..2aafd1ce070 --- /dev/null +++ b/features/step_definitions/v2/roles.rb @@ -0,0 +1,27 @@ +Given('the "user" has the "role"') do + user = fixtures[:user] + role = fixtures[:role] + + api_instance = DatadogAPIClient::V2::RolesApi.new + + body = DatadogAPIClient::V2::RelationshipToUser.new + body.data = DatadogAPIClient::V2::RelationshipToUserData.new + body.data.id = user.data.id + body.data.type = user.data.type + + api_instance.add_user_to_role(role.data.id, { body: body }) +end + +Given('the "permission" is granted to the "role"') do + permission = fixtures[:permission] + role = fixtures[:role] + + api_instance = DatadogAPIClient::V2::RolesApi.new + + body = DatadogAPIClient::V2::RelationshipToPermission.new + body.data = DatadogAPIClient::V2::RelationshipToPermissionData.new + body.data.id = permission.id + body.data.type = permission.type + + api_instance.add_permission_to_role(role.data.id, { body: body }) +end diff --git a/features/step_definitions/v2/users.rb b/features/step_definitions/v2/users.rb new file mode 100644 index 00000000000..db4c817a829 --- /dev/null +++ b/features/step_definitions/v2/users.rb @@ -0,0 +1,18 @@ +Given('the "user" has a "user_invitation"') do + user = fixtures[:user] + + api_instance = DatadogAPIClient::V2::UsersApi.new + + data = DatadogAPIClient::V2::UserInvitationData.new + data.type = "user_invitations" + data.relationships = DatadogAPIClient::V2::UserInvitationRelationships.new + data.relationships.user = DatadogAPIClient::V2::RelationshipToUser.new + data.relationships.user.data = DatadogAPIClient::V2::RelationshipToUserData.new + data.relationships.user.data.id = user.data.id + data.relationships.user.data.type = user.data.type + + body = DatadogAPIClient::V2::UserInvitationsRequest.new + body.data = [data] + + fixtures[:user_invitation] = api_instance.send_invitations({ body: body }).data[0] +end diff --git a/features/support/env.rb b/features/support/env.rb index d2c96041f5f..278febc5894 100644 --- a/features/support/env.rb +++ b/features/support/env.rb @@ -1,5 +1,36 @@ +require 'datadog_api_client' require 'ddtrace' +require 'time' +require 'timecop' +require 'vcr' Datadog.configure do |c| # c.use :action_cable, options end + +module RecordMode + def self.true(config) + config.default_cassette_options = { :record => :all } + end + + def self.false(config) + config.default_cassette_options = { :record => :none } + end + + def self.none(config) + config.ignore_request do + true + end + end +end + +VCR.configure do |config| + RecordMode.send(ENV["RECORD"] || "false", config) + config.cassette_library_dir = "cassettes" + config.hook_into :webmock + config.before_record do |i| + i.request.headers.delete('Dd-Api-Key') + i.request.headers.delete('Dd-Application-Key') + # TODO verify we don't store api_key and application_key as query params + end +end diff --git a/features/support/hooks.rb b/features/support/hooks.rb new file mode 100644 index 00000000000..123710ce20f --- /dev/null +++ b/features/support/hooks.rb @@ -0,0 +1,27 @@ +Around do |scenario, block| + @scenario = scenario + m = scenario.location.file.match /features\/v(?\d+)\/.*/ + @api_version = m[:version] + block.call +end + +Around do |scenario, block| + @undo ||= [] + block.call + @undo.reverse!.each do |cleanup| + begin + cleanup.call + rescue Exception => e + log "Cleanup of '#{scenario.name}' failed\n#{e}" + end + end + @undo = [] +end + +Around do |scenario, block| + VCR.use_cassette(scenario.location.file.chomp('.feature') + "/" + scenario.name.gsub(/[^A-Za-z0-9]+/, '-')[0..100], :record_on_error => false) do |cassette| + Timecop.freeze(cassette.originally_recorded_at || Time.now) do + block.call + end + end +end diff --git a/features/support/templating.rb b/features/support/templating.rb new file mode 100644 index 00000000000..6339f73c223 --- /dev/null +++ b/features/support/templating.rb @@ -0,0 +1,30 @@ +class Object + def lookup(dotted_path) + result = self + dotted_path.split('.').each do |dot_part| + dot_part.split('[').each do |part| + if part.include?(']') + index = part.to_i + result = result[index] + else + case result + when Hash + result = result[part.to_sym] rescue result[part] + else + result = result.send(part) + end + end + end + end + + result + end +end + +class String + def templated(data) + self.gsub(/{{ ?([^} ]+) ?}}/) do + data.lookup($1).to_s + end + end +end diff --git a/features/v1/authentication.feature b/features/v1/authentication.feature new file mode 100644 index 00000000000..ea06f0518ca --- /dev/null +++ b/features/v1/authentication.feature @@ -0,0 +1,18 @@ +@endpoint(authentication) +Feature: Authentication + All requests to Datadog’s API must be authenticated. Requests that write + data require reporting access and require an `API key`. Requests that read + data require full access and also require an `application key`. **Note:** + All Datadog API clients are configured by default to consume Datadog US + site APIs. If you are on the Datadog EU site, set the environment variable + `DATADOG_HOST` to `https://api.datadoghq.eu` or override this value + directly when creating your client. [Manage your account’s API and + application keys](https://app.datadoghq.com/account/settings#api). + + @generated @skip + Scenario: Validate API key returns "OK" response + Given a valid "apiKeyAuth" key in the system + And an instance of "Authentication" API + And new "Validate" request + When the request is sent + Then the response status is 200 OK diff --git a/features/v1/aws_integration.feature b/features/v1/aws_integration.feature new file mode 100644 index 00000000000..f9360d37951 --- /dev/null +++ b/features/v1/aws_integration.feature @@ -0,0 +1,50 @@ +@endpoint(aws-integration) +Feature: AWS Integration + Configure your Datadog-AWS integration directly through the Datadog API. + For more information, see the [AWS integration + page](https://docs.datadoghq.com/integrations/amazon_web_services). + + Background: + Given a valid "apiKeyAuth" key in the system + And a valid "appKeyAuth" key in the system + And an instance of "AWSIntegration" API + + @generated @skip + Scenario: Delete an AWS integration returns "OK" response + Given new "DeleteAWSAccount" request + And body {} + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: List all AWS integrations returns "OK" response + Given new "ListAWSAccounts" request + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Create an AWS integration returns "OK" response + Given new "CreateAWSAccount" request + And body {} + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Update an AWS integration returns "OK" response + Given new "UpdateAWSAccount" request + And body {} + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: List namespace rules returns "OK" response + Given new "ListAvailableAWSNamespaces" request + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Generate a new external ID returns "OK" response + Given new "CreateNewAWSExternalID" request + And body {} + When the request is sent + Then the response status is 200 OK diff --git a/features/v1/aws_logs_integration.feature b/features/v1/aws_logs_integration.feature new file mode 100644 index 00000000000..1ba61f6c32b --- /dev/null +++ b/features/v1/aws_logs_integration.feature @@ -0,0 +1,57 @@ +@endpoint(aws-logs-integration) +Feature: AWS Logs Integration + Configure your Datadog-AWS-Logs integration directly through Datadog API. + For more information, see the [AWS integration + page](https://docs.datadoghq.com/api/?lang=bash#integration-aws-logs). + + Background: + Given a valid "apiKeyAuth" key in the system + And a valid "appKeyAuth" key in the system + And an instance of "AWSLogsIntegration" API + + @generated @skip + Scenario: Delete an AWS Logs integration returns "OK" response + Given new "DeleteAWSLambdaARN" request + And body {} + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: List all AWS Logs integrations returns "OK" response + Given new "ListAWSLogsIntegrations" request + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Add AWS Log Lambda ARN returns "OK" response + Given new "CreateAWSLambdaARN" request + And body {} + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Check that an AWS Lambda Function exists returns "OK" response + Given new "CheckAWSLogsLambdaAsync" request + And body {} + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Get list of AWS log ready services returns "OK" response + Given new "ListAWSLogsServices" request + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Enable an AWS Logs integration returns "OK" response + Given new "EnableAWSLogServices" request + And body {} + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Check permissions for log services returns "OK" response + Given new "CheckAWSLogsServicesAsync" request + And body {} + When the request is sent + Then the response status is 200 OK diff --git a/features/v1/azure_integration.feature b/features/v1/azure_integration.feature new file mode 100644 index 00000000000..f2f231c915d --- /dev/null +++ b/features/v1/azure_integration.feature @@ -0,0 +1,44 @@ +@endpoint(azure-integration) +Feature: Azure Integration + Configure your Datadog-Azure integration directly through the Datadog API. + For more information, see the [Datadog-Azure integration + page](https://docs.datadoghq.com/integrations/azure). + + Background: + Given a valid "apiKeyAuth" key in the system + And a valid "appKeyAuth" key in the system + And an instance of "AzureIntegration" API + + @generated @skip + Scenario: Delete an Azure integration returns "OK" response + Given new "DeleteAzureIntegration" request + And body {} + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: List all Azure integrations returns "OK" response + Given new "ListAzureIntegration" request + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Create an Azure integration returns "OK" response + Given new "CreateAzureIntegration" request + And body {} + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Update an Azure integration returns "OK" response + Given new "UpdateAzureIntegration" request + And body {} + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Update Azure integration host filters returns "OK" response + Given new "UpdateAzureHostFilters" request + And body {} + When the request is sent + Then the response status is 200 OK diff --git a/features/v1/dashboard_lists.feature b/features/v1/dashboard_lists.feature new file mode 100644 index 00000000000..cda9e7de8af --- /dev/null +++ b/features/v1/dashboard_lists.feature @@ -0,0 +1,44 @@ +@endpoint(dashboard-lists) +Feature: Dashboard Lists + This endpoint is deprecated. Use the [new dashboard list + endpoint](https://docs.datadoghq.com/api/v2/dashboard-lists/) instead. + + Background: + Given a valid "apiKeyAuth" key in the system + And a valid "appKeyAuth" key in the system + And an instance of "DashboardLists" API + + @generated @skip + Scenario: Get all dashboard lists returns "OK" response + Given new "ListDashboardLists" request + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Create a dashboard list returns "OK" response + Given new "CreateDashboardList" request + And body {} + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Delete a dashboard list returns "OK" response + Given new "DeleteDashboardList" request + And request contains "list_id" parameter from "" + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Get a dashboard list returns "OK" response + Given new "GetDashboardList" request + And request contains "list_id" parameter from "" + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Update a dashboard list returns "OK" response + Given new "UpdateDashboardList" request + And request contains "list_id" parameter from "" + And body {} + When the request is sent + Then the response status is 200 OK diff --git a/features/v1/dashboards.feature b/features/v1/dashboards.feature new file mode 100644 index 00000000000..63f7062cb0d --- /dev/null +++ b/features/v1/dashboards.feature @@ -0,0 +1,45 @@ +@endpoint(dashboards) +Feature: Dashboards + Interact with your dashboard lists through the API to make it easier to + organize, find, and share all of your dashboards with your team and + organization. + + Background: + Given a valid "apiKeyAuth" key in the system + And a valid "appKeyAuth" key in the system + And an instance of "Dashboards" API + + @generated @skip + Scenario: Get all dashboards returns "OK" response + Given new "ListDashboards" request + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Create a new dashboard returns "OK" response + Given new "CreateDashboard" request + And body {} + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Delete a dashboard returns "OK" response + Given new "DeleteDashboard" request + And request contains "dashboard_id" parameter from "" + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Get a dashboard returns "OK" response + Given new "GetDashboard" request + And request contains "dashboard_id" parameter from "" + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Update a dashboard returns "OK" response + Given new "UpdateDashboard" request + And request contains "dashboard_id" parameter from "" + And body {} + When the request is sent + Then the response status is 200 OK diff --git a/features/v1/downtimes.feature b/features/v1/downtimes.feature new file mode 100644 index 00000000000..ae495c0fb4d --- /dev/null +++ b/features/v1/downtimes.feature @@ -0,0 +1,54 @@ +@endpoint(downtimes) +Feature: Downtimes + [Downtiming](https://docs.datadoghq.com/monitors/downtimes) gives you + greater control over monitor notifications by allowing you to globally + exclude scopes from alerting. Downtime settings, which can be scheduled + with start and end times, prevent all alerting related to specified + Datadog tags. + + Background: + Given a valid "apiKeyAuth" key in the system + And a valid "appKeyAuth" key in the system + And an instance of "Downtimes" API + + @generated @skip + Scenario: Get all downtimes returns "OK" response + Given new "ListDowntimes" request + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Schedule a downtime returns "OK" response + Given new "CreateDowntime" request + And body {} + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Cancel downtimes by scope returns "OK" response + Given new "CancelDowntimesByScope" request + And body {} + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Cancel a downtime returns "OK" response + Given new "CancelDowntime" request + And request contains "downtime_id" parameter from "" + When the request is sent + Then the response status is 204 OK + + @generated @skip + Scenario: Get a downtime returns "OK" response + Given new "GetDowntime" request + And request contains "downtime_id" parameter from "" + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Update a downtime returns "OK" response + Given new "UpdateDowntime" request + And request contains "downtime_id" parameter from "" + And body {} + When the request is sent + Then the response status is 200 OK diff --git a/features/v1/events.feature b/features/v1/events.feature new file mode 100644 index 00000000000..6a5b2761d95 --- /dev/null +++ b/features/v1/events.feature @@ -0,0 +1,24 @@ +@endpoint(events) +Feature: Events + The events service allows you to programmatically post events to the event + stream and fetch events from the event stream. Events are limited to 4000 + characters. If an event is sent out with a message containing more than + 4000 characters only the 4000 first characters are displayed. + + Background: + Given a valid "apiKeyAuth" key in the system + And a valid "appKeyAuth" key in the system + And an instance of "Events" API + + @generated @skip + Scenario: Query the event stream returns "OK" response + Given new "ListEvents" request + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Get an event returns "OK" response + Given new "GetEvent" request + And request contains "event_id" parameter from "" + When the request is sent + Then the response status is 200 OK diff --git a/features/v1/gcp_integration.feature b/features/v1/gcp_integration.feature new file mode 100644 index 00000000000..e4d9b518deb --- /dev/null +++ b/features/v1/gcp_integration.feature @@ -0,0 +1,38 @@ +@endpoint(gcp-integration) +Feature: GCP Integration + Configure your Datadog-Google Cloud Platform (GCP) integration directly + through the Datadog API. Read more about the [Datadog-Google Cloud + Platform integration](https://docs.datadoghq.com/integrations/google_cloud + _platform). + + Background: + Given a valid "apiKeyAuth" key in the system + And a valid "appKeyAuth" key in the system + And an instance of "GCPIntegration" API + + @generated @skip + Scenario: Delete a GCP integration returns "OK" response + Given new "DeleteGCPIntegration" request + And body {} + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: List all GCP integrations returns "OK" response + Given new "ListGCPIntegration" request + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Create a GCP integration returns "OK" response + Given new "CreateGCPIntegration" request + And body {} + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Update a GCP integration returns "OK" response + Given new "UpdateGCPIntegration" request + And body {} + When the request is sent + Then the response status is 200 OK diff --git a/features/v1/hosts.feature b/features/v1/hosts.feature new file mode 100644 index 00000000000..a5023802b54 --- /dev/null +++ b/features/v1/hosts.feature @@ -0,0 +1,35 @@ +@endpoint(hosts) +Feature: Hosts + Get information about your live hosts in Datadog. + + Background: + Given a valid "apiKeyAuth" key in the system + And a valid "appKeyAuth" key in the system + And an instance of "Hosts" API + + @generated @skip + Scenario: Mute a host returns "OK" response + Given new "MuteHost" request + And request contains "host_name" parameter from "" + And body {} + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Unmute a host returns "OK" response + Given new "UnmuteHost" request + And request contains "host_name" parameter from "" + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Get all hosts for your organization returns "OK" response + Given new "ListHosts" request + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Get the total number of active hosts returns "OK" response + Given new "GetHostTotals" request + When the request is sent + Then the response status is 200 OK diff --git a/features/v1/ip_ranges.feature b/features/v1/ip_ranges.feature new file mode 100644 index 00000000000..05dec2fa348 --- /dev/null +++ b/features/v1/ip_ranges.feature @@ -0,0 +1,9 @@ +@endpoint(ip-ranges) @v1 +Feature: IP Ranges + Get a list of IP prefixes belonging to Datadog. + + Scenario: List IP Ranges returns "OK" response + Given an instance of "IPRanges" API + And new "GetIPRanges" request + When the request is sent + Then the response status is 200 OK diff --git a/features/v1/key_management.feature b/features/v1/key_management.feature new file mode 100644 index 00000000000..16929f81cb8 --- /dev/null +++ b/features/v1/key_management.feature @@ -0,0 +1,81 @@ +@endpoint(key-management) +Feature: Key Management + Manage your Datadog API and application keys. You need an API and + applications key with Admin rights to interact with this endpoint. The + full list of keys can be seen on your [Datadog API + page](https://app.datadoghq.com/account/settings#api). + + Background: + Given a valid "apiKeyAuth" key in the system + And a valid "appKeyAuth" key in the system + And an instance of "KeyManagement" API + + @generated @skip + Scenario: Get all API keys returns "OK" response + Given new "ListAPIKeys" request + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Create an API key returns "OK" response + Given new "CreateAPIKey" request + And body {} + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Delete an API key returns "OK" response + Given new "DeleteAPIKey" request + And request contains "key" parameter from "" + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Get API key returns "OK" response + Given new "GetAPIKey" request + And request contains "key" parameter from "" + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Edit an API key returns "OK" response + Given new "UpdateAPIKey" request + And request contains "key" parameter from "" + And body {} + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Get all application keys returns "OK" response + Given new "ListApplicationKeys" request + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Create an application key returns "OK" response + Given new "CreateApplicationKey" request + And body {} + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Delete an application key returns "OK" response + Given new "DeleteApplicationKey" request + And request contains "key" parameter from "" + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Get an application key returns "OK" response + Given new "GetApplicationKey" request + And request contains "key" parameter from "" + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Edit an application key returns "OK" response + Given new "UpdateApplicationKey" request + And request contains "key" parameter from "" + And body {} + When the request is sent + Then the response status is 200 OK diff --git a/features/v1/logs.feature b/features/v1/logs.feature new file mode 100644 index 00000000000..fe3591ee35a --- /dev/null +++ b/features/v1/logs.feature @@ -0,0 +1,21 @@ +@endpoint(logs) +Feature: Logs + Send your logs to your Datadog platform over HTTP. Limits per HTTP request + are: - Maximum content size per payload: 5MB - Maximum size for a single + log: 256kB - Maximum array size if sending multiple logs in an array: 500 + entries Any log exceeding 256KB is accepted and truncated by Datadog: - + For a single log request, the API truncates the log at 256KB and returns a + 2xx. - For a multi-logs request, the API processes all logs, truncates + only logs larger than 256KB, and returns a 2xx. We encourage you to send + your logs compressed. Add the `Content-Encoding: gzip` header to the + request when sending compressed logs. + + @generated @skip + Scenario: Get a list of logs returns "OK" response + Given a valid "apiKeyAuth" key in the system + And a valid "appKeyAuth" key in the system + And an instance of "Logs" API + And new "ListLogs" request + And body {} + When the request is sent + Then the response status is 200 OK diff --git a/features/v1/logs_indexes.feature b/features/v1/logs_indexes.feature new file mode 100644 index 00000000000..45b622c520b --- /dev/null +++ b/features/v1/logs_indexes.feature @@ -0,0 +1,44 @@ +@endpoint(logs-indexes) +Feature: Logs Indexes + Manage configuration of [log + indexes](https://docs.datadoghq.com/logs/indexes/). You need an API and + application key with Admin rights to interact with this endpoint. + + Background: + Given a valid "apiKeyAuth" key in the system + And a valid "appKeyAuth" key in the system + And an instance of "LogsIndexes" API + + @generated @skip + Scenario: Get indexes order returns "OK" response + Given new "GetLogsIndexOrder" request + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Update indexes order returns "OK" response + Given new "UpdateLogsIndexOrder" request + And body {} + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Get all indexes returns "OK" response + Given new "ListLogIndexes" request + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Get an index returns "OK" response + Given new "GetLogsIndex" request + And request contains "name" parameter from "" + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Update an index returns "OK" response + Given new "UpdateLogsIndex" request + And request contains "name" parameter from "" + And body {} + When the request is sent + Then the response status is 200 OK diff --git a/features/v1/logs_pipelines.feature b/features/v1/logs_pipelines.feature new file mode 100644 index 00000000000..ae65bc6e7c2 --- /dev/null +++ b/features/v1/logs_pipelines.feature @@ -0,0 +1,66 @@ +@endpoint(logs-pipelines) +Feature: Logs Pipelines + Pipelines and processors operate on incoming logs, parsing and + transforming them into structured attributes for easier querying. - See + the [pipelines configuration + page](https://app.datadoghq.com/logs/pipelines) for a list of the + pipelines and processors currently configured in our UI. - Additional + API-related information about processors can be found in the [processors + documentation](https://docs.datadoghq.com/logs/processing/processors/?tab= + api#lookup-processor). - For more information about Pipelines, see the + [pipeline documentation](https://docs.datadoghq.com/logs/processing). + **Note:** These endpoints are only available for admin users. Make sure to + use an application key created by an admin. + + Background: + Given a valid "apiKeyAuth" key in the system + And a valid "appKeyAuth" key in the system + And an instance of "LogsPipelines" API + + @generated @skip + Scenario: Get pipeline order returns "OK" response + Given new "GetLogsPipelineOrder" request + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Update pipeline order returns "OK" response + Given new "UpdateLogsPipelineOrder" request + And body {} + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Get all pipelines returns "OK" response + Given new "ListLogsPipelines" request + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Create a pipeline returns "OK" response + Given new "CreateLogsPipeline" request + And body {} + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Delete a pipeline returns "OK" response + Given new "DeleteLogsPipeline" request + And request contains "pipeline_id" parameter from "" + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Get a pipeline returns "OK" response + Given new "GetLogsPipeline" request + And request contains "pipeline_id" parameter from "" + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Update a pipeline returns "OK" response + Given new "UpdateLogsPipeline" request + And request contains "pipeline_id" parameter from "" + And body {} + When the request is sent + Then the response status is 200 OK diff --git a/features/v1/metrics.feature b/features/v1/metrics.feature new file mode 100644 index 00000000000..d8a4a536d3e --- /dev/null +++ b/features/v1/metrics.feature @@ -0,0 +1,47 @@ +@endpoint(metrics) +Feature: Metrics + The metrics endpoint allows you to: - Post metrics data so it can be + graphed on Datadog’s dashboards - Query metrics from any time period + **Note**: A graph can only contain a set number of points and as the + timeframe over which a metric is viewed increases, aggregation between + points occurs to stay below that set number. Datadog has a soft limit of + 100 timeseries per host where a timeseries is defined as a unique + combination of metric name and tag. + + Background: + Given a valid "apiKeyAuth" key in the system + And a valid "appKeyAuth" key in the system + And an instance of "Metrics" API + + @generated @skip + Scenario: Get active metrics list returns "OK" response + Given new "ListActiveMetrics" request + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Get metric metadata returns "OK" response + Given new "GetMetricMetadata" request + And request contains "metric_name" parameter from "" + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Edit metric metadata returns "OK" response + Given new "UpdateMetricMetadata" request + And request contains "metric_name" parameter from "" + And body {} + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Query timeseries points returns "OK" response + Given new "QueryMetrics" request + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Search metrics returns "OK" response + Given new "ListMetrics" request + When the request is sent + Then the response status is 200 OK diff --git a/features/v1/monitors.feature b/features/v1/monitors.feature new file mode 100644 index 00000000000..27d35fec5cc --- /dev/null +++ b/features/v1/monitors.feature @@ -0,0 +1,59 @@ +@endpoint(monitors) +Feature: Monitors + [Monitors](https://docs.datadoghq.com/monitors) allow you to watch a + metric or check that you care about, notifying your team when some defined + threshold is exceeded. Refer to the Creating Monitors page for more + information on creating monitors. + + Background: + Given a valid "apiKeyAuth" key in the system + And a valid "appKeyAuth" key in the system + And an instance of "Monitors" API + + @generated @skip + Scenario: Get all monitor details returns "OK" response + Given new "ListMonitors" request + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Create a monitor returns "OK" response + Given new "CreateMonitor" request + And body {} + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Check if a monitor can be deleted returns "OK" response + Given new "CheckCanDeleteMonitor" request + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Validate a monitor returns "OK" response + Given new "ValidateMonitor" request + And body {} + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Delete a monitor returns "OK" response + Given new "DeleteMonitor" request + And request contains "monitor_id" parameter from "" + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Get a monitor's details returns "OK" response + Given new "GetMonitor" request + And request contains "monitor_id" parameter from "" + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Edit a monitor returns "OK" response + Given new "UpdateMonitor" request + And request contains "monitor_id" parameter from "" + And body {} + When the request is sent + Then the response status is 200 OK diff --git a/features/v1/organizations.feature b/features/v1/organizations.feature new file mode 100644 index 00000000000..994cc49523a --- /dev/null +++ b/features/v1/organizations.feature @@ -0,0 +1,44 @@ +@endpoint(organizations) +Feature: Organizations + Create, edit, and manage your organizations. Read more about [multi-org ac + counts](https://docs.datadoghq.com/account_management/multi_organization). + + Background: + Given a valid "apiKeyAuth" key in the system + And a valid "appKeyAuth" key in the system + And an instance of "Organizations" API + + @generated @skip + Scenario: List your managed organizations returns "OK" response + Given new "ListOrgs" request + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Create a child organization returns "OK" response + Given new "CreateChildOrg" request + And body {} + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Get organization information returns "OK" response + Given new "GetOrg" request + And request contains "public_id" parameter from "" + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Update your organization returns "OK" response + Given new "UpdateOrg" request + And request contains "public_id" parameter from "" + And body {} + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Upload IdP metadata returns "OK" response + Given new "UploadIdPForOrg" request + And request contains "public_id" parameter from "" + When the request is sent + Then the response status is 200 OK diff --git a/features/v1/pagerduty_integration.feature b/features/v1/pagerduty_integration.feature new file mode 100644 index 00000000000..f95a43c3eae --- /dev/null +++ b/features/v1/pagerduty_integration.feature @@ -0,0 +1,39 @@ +@endpoint(pagerduty-integration) +Feature: PagerDuty Integration + Configure your [Datadog-PagerDuty + integration](https://docs.datadoghq.com/api/?lang=bash#integration- + pagerduty) directly through the Datadog API. + + Background: + Given a valid "apiKeyAuth" key in the system + And a valid "appKeyAuth" key in the system + And an instance of "PagerDutyIntegration" API + + @generated @skip + Scenario: Create a new service object returns "OK" response + Given new "CreatePagerDutyIntegrationService" request + And body {} + When the request is sent + Then the response status is 201 OK + + @generated @skip + Scenario: Delete a single service object returns "OK" response + Given new "DeletePagerDutyIntegrationService" request + And request contains "service_name" parameter from "" + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Get a single service object returns "OK" response + Given new "GetPagerDutyIntegrationService" request + And request contains "service_name" parameter from "" + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Update a single service object returns "OK" response + Given new "UpdatePagerDutyIntegrationService" request + And request contains "service_name" parameter from "" + And body {} + When the request is sent + Then the response status is 200 OK diff --git a/features/v1/service_level_objectives.feature b/features/v1/service_level_objectives.feature new file mode 100644 index 00000000000..6ccb3bf789d --- /dev/null +++ b/features/v1/service_level_objectives.feature @@ -0,0 +1,69 @@ +@endpoint(service-level-objectives) +Feature: Service Level Objectives + [Service Level Objectives](https://docs.datadoghq.com/monitors/service_lev + el_objectives/#configuration) (or SLOs) are a key part of the site + reliability engineering toolkit. SLOs provide a framework for defining + clear targets around application performance, which ultimately help teams + provide a consistent customer experience, balance feature development with + platform stability, and improve communication with internal and external + users. + + Background: + Given a valid "apiKeyAuth" key in the system + And a valid "appKeyAuth" key in the system + And an instance of "ServiceLevelObjectives" API + + @generated @skip + Scenario: Search SLOs returns "OK" response + Given new "ListSLOs" request + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Create a SLO object returns "OK" response + Given new "CreateSLO" request + And body {} + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Bulk Delete SLO Timeframes returns "OK" response + Given new "DeleteSLOTimeframeInBulk" request + And body {} + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Check if SLOs can be safely deleted returns "OK" response + Given new "CheckCanDeleteSLO" request + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Delete a SLO returns "OK" response + Given new "DeleteSLO" request + And request contains "slo_id" parameter from "" + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Get a SLO's details returns "OK" response + Given new "GetSLO" request + And request contains "slo_id" parameter from "" + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Update a SLO returns "OK" response + Given new "UpdateSLO" request + And request contains "slo_id" parameter from "" + And body {} + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Get an SLO's history returns "OK" response + Given new "GetSLOHistory" request + And request contains "slo_id" parameter from "" + When the request is sent + Then the response status is 200 OK diff --git a/features/v1/snapshots.feature b/features/v1/snapshots.feature new file mode 100644 index 00000000000..26a2f8a73a1 --- /dev/null +++ b/features/v1/snapshots.feature @@ -0,0 +1,12 @@ +@endpoint(snapshots) +Feature: Snapshots + Take graph snapshots using the API. + + @generated @skip + Scenario: Take graph snapshots returns "OK" response + Given a valid "apiKeyAuth" key in the system + And a valid "appKeyAuth" key in the system + And an instance of "Snapshots" API + And new "GetGraphSnapshot" request + When the request is sent + Then the response status is 200 OK diff --git a/features/v1/synthetics.feature b/features/v1/synthetics.feature new file mode 100644 index 00000000000..1c02eabfe5c --- /dev/null +++ b/features/v1/synthetics.feature @@ -0,0 +1,131 @@ +@endpoint(synthetics) +Feature: Synthetics + Datadog Synthetics uses simulated user requests and browser rendering to + help you ensure uptime, identify regional issues, and track your + application performance. Datadog Synthetics tests come in two different + flavors, [API + tests](https://docs.datadoghq.com/synthetics/api_tests/?tab=httptest) and + [browser tests](https://docs.datadoghq.com/synthetics/browser_tests). You + can use Datadog’s API to manage both test types programmatically. For + more information about Synthetics, see the [Synthetics + overview](https://docs.datadoghq.com/synthetics/). + + Background: + Given a valid "apiKeyAuth" key in the system + And a valid "appKeyAuth" key in the system + And an instance of "Synthetics" API + + @generated @skip + Scenario: Get all locations (public and private) returns "OK" response + Given new "ListLocations" request + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Get a list of tests returns "OK - Returns the list of all Synthetic tests (properly filtered by type)." response + Given new "ListTests" request + When the request is sent + Then the response status is 200 OK - Returns the list of all Synthetic tests (properly filtered by type). + + @generated @skip + Scenario: Create a test returns "OK - Returns the created test details." response + Given new "CreateTest" request + And body {} + When the request is sent + Then the response status is 200 OK - Returns the created test details. + + @generated @skip + Scenario: Get a test configuration (browser) returns "OK" response + Given new "GetBrowserTest" request + And request contains "public_id" parameter from "" + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Get the test's latest results summaries (browser) returns "OK" response + Given new "GetBrowserTestLatestResults" request + And request contains "public_id" parameter from "" + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Get a test result (browser) returns "OK" response + Given new "GetBrowserTestResult" request + And request contains "public_id" parameter from "" + And request contains "result_id" parameter from "" + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Delete tests returns "OK." response + Given new "DeleteTests" request + And body {} + When the request is sent + Then the response status is 200 OK. + + @generated @skip + Scenario: Get a test configuration (API) returns "OK" response + Given new "GetTest" request + And request contains "public_id" parameter from "" + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Edit a test returns "OK" response + Given new "UpdateTest" request + And request contains "public_id" parameter from "" + And body {} + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Get the test's latest results summaries (API) returns "OK" response + Given new "GetAPITestLatestResults" request + And request contains "public_id" parameter from "" + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Get a test result (API) returns "OK" response + Given new "GetAPITestResult" request + And request contains "public_id" parameter from "" + And request contains "result_id" parameter from "" + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Pause or start a test returns "OK - Returns a boolean indicating if the update was successful." response + Given new "UpdateTestPauseStatus" request + And request contains "public_id" parameter from "" + And body {} + When the request is sent + Then the response status is 200 OK - Returns a boolean indicating if the update was successful. + + @generated @skip + Scenario: Delete a global variable returns "OK" response + Given new "DeleteGlobalVariable" request + And request contains "variable_id" parameter from "" + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Edit a global variable returns "OK" response + Given new "EditGlobalVariable" request + And request contains "variable_id" parameter from "" + And body {} + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Create a global variable returns "OK" response + Given new "CreateGlobalVariable" request + And body {} + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Trigger some Synthetics tests for CI returns "OK" response + Given new "TriggerCITests" request + And body {} + When the request is sent + Then the response status is 200 OK diff --git a/features/v1/tags.feature b/features/v1/tags.feature new file mode 100644 index 00000000000..01df55b1102 --- /dev/null +++ b/features/v1/tags.feature @@ -0,0 +1,51 @@ +@endpoint(tags) +Feature: Tags + The tag endpoint allows you to assign tags to hosts, for example: + `role:database`. Those tags are applied to all metrics sent by the host. + Refer to hosts by name (`yourhost.example.com`) when fetching and applying + tags to a particular host. The component of your infrastructure + responsible for a tag is identified by a source. For example, some valid + sources include nagios, hudson, jenkins, users, feed, chef, puppet, git, + bitbucket, fabric, capistrano, etc. Read more about tags on the dedicated + [documentation page](https://docs.datadoghq.com/tagging). + + Background: + Given a valid "apiKeyAuth" key in the system + And a valid "appKeyAuth" key in the system + And an instance of "Tags" API + + @generated @skip + Scenario: Get Tags returns "OK" response + Given new "ListHostTags" request + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Remove host tags returns "OK" response + Given new "DeleteHostTags" request + And request contains "host_name" parameter from "" + When the request is sent + Then the response status is 204 OK + + @generated @skip + Scenario: Get host tags returns "OK" response + Given new "GetHostTags" request + And request contains "host_name" parameter from "" + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Add tags to a host returns "Created" response + Given new "CreateHostTags" request + And request contains "host_name" parameter from "" + And body {} + When the request is sent + Then the response status is 201 Created + + @generated @skip + Scenario: Update host tags returns "OK" response + Given new "UpdateHostTags" request + And request contains "host_name" parameter from "" + And body {} + When the request is sent + Then the response status is 201 OK diff --git a/features/v1/usage_metering.feature b/features/v1/usage_metering.feature new file mode 100644 index 00000000000..ce1901602c7 --- /dev/null +++ b/features/v1/usage_metering.feature @@ -0,0 +1,159 @@ +@endpoint(usage-metering) +Feature: Usage Metering + The usage metering API allows you to get hourly, daily, and monthly usage + across multiple facets of Datadog. This API is available to all Pro and + Enterprise customers. Usage is only accessible for [parent-level organizat + ions](https://docs.datadoghq.com/account_management/multi_organization/). + **Note**: Usage data is delayed by up to 72 hours from when it was + incurred. It is retained for the past 15 months. + + Background: + Given a valid "apiKeyAuth" key in the system + And a valid "appKeyAuth" key in the system + And an instance of "UsageMetering" API + + @generated @skip + Scenario: Get hourly usage for analyzed logs returns "OK" response + Given new "GetUsageAnalyzedLogs" request + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Get hourly usage for Lambda returns "OK" response + Given new "GetUsageLambda" request + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Get hourly usage for Fargate returns "OK" response + Given new "GetUsageFargate" request + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Get hourly usage for hosts and containers returns "OK" response + Given new "GetUsageHosts" request + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Get hourly usage for Logs returns "OK" response + Given new "GetUsageLogs" request + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Get hourly usage for Logs by Index returns "OK" response + Given new "GetUsageLogsByIndex" request + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Get hourly usage for Network Flows returns "OK" response + Given new "GetUsageNetworkFlows" request + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Get hourly usage for Network Hosts returns "OK" response + Given new "GetUsageNetworkHosts" request + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Get hourly usage for RUM Sessions returns "OK" response + Given new "GetUsageRumSessions" request + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Get hourly usage for SNMP devices returns "OK" response + Given new "GetUsageSNMP" request + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Get usage across your multi-org account returns "OK" response + Given new "GetUsageSummary" request + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Get hourly usage for Synthetics Checks returns "OK" response + Given new "GetUsageSynthetics" request + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Get hourly usage for Synthetics API Checks returns "OK" response + Given new "GetUsageSyntheticsAPI" request + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Get hourly usage for Synthetics Browser Checks returns "OK" response + Given new "GetUsageSyntheticsBrowser" request + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Get hourly usage for custom metrics returns "OK" response + Given new "GetUsageTimeseries" request + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Get top 500 custom metrics by hourly average returns "OK" response + Given new "GetUsageTopAvgMetrics" request + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Get hourly usage for Trace Search returns "OK" response + Given new "GetUsageTrace" request + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Get the list of available daily custom reports returns "OK" response + Given new "GetDailyCustomReports" request + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Get specified daily custom reports returns "OK" response + Given new "GetSpecifiedDailyCustomReports" request + And request contains "report_id" parameter from "" + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Get the list of available monthly custom reports returns "OK" response + Given new "GetMonthlyCustomReports" request + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Get specified monthly custom reports returns "OK" response + Given new "GetSpecifiedMonthlyCustomReports" request + And request contains "report_id" parameter from "" + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Get billable usage across your multi-org account returns "OK" response + Given new "GetUsageBillableSummary" request + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Get hourly usage for profiled hosts returns "OK" response + Given new "GetUsageProfiling" request + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Get hourly usage for tracing without limits returns "OK" response + Given new "GetTracingWithoutLimits" request + When the request is sent + Then the response status is 200 OK diff --git a/features/v1/users.feature b/features/v1/users.feature new file mode 100644 index 00000000000..2e7fa16729a --- /dev/null +++ b/features/v1/users.feature @@ -0,0 +1,44 @@ +@endpoint(users) +Feature: Users + Create, edit, and disable users. [Read more about team management][1]. + [1]: https://docs.datadoghq.com/account_management/team + + Background: + Given a valid "apiKeyAuth" key in the system + And a valid "appKeyAuth" key in the system + And an instance of "Users" API + + @generated @skip + Scenario: Get all users returns "OK" response + Given new "ListUsers" request + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Create a user returns "User created" response + Given new "CreateUser" request + And body {} + When the request is sent + Then the response status is 200 User created + + @generated @skip + Scenario: Disable a user returns "User disabled" response + Given new "DisableUser" request + And request contains "user_handle" parameter from "" + When the request is sent + Then the response status is 200 User disabled + + @generated @skip + Scenario: Get user details returns "OK for get user" response + Given new "GetUser" request + And request contains "user_handle" parameter from "" + When the request is sent + Then the response status is 200 OK for get user + + @generated @skip + Scenario: Update a user returns "User updated" response + Given new "UpdateUser" request + And request contains "user_handle" parameter from "" + And body {} + When the request is sent + Then the response status is 200 User updated diff --git a/features/v2/dashboard_lists.feature b/features/v2/dashboard_lists.feature new file mode 100644 index 00000000000..2a93b0bf3d1 --- /dev/null +++ b/features/v2/dashboard_lists.feature @@ -0,0 +1,38 @@ +@endpoint(dashboard-lists) +Feature: Dashboard Lists + Interact with your dashboard lists through the API to make it easier to + organize, find, and share all of your dashboards with your team and + organization. + + Background: + Given a valid "apiKeyAuth" key in the system + And a valid "appKeyAuth" key in the system + And an instance of "DashboardLists" API + And request contains "dashboard_list_id" parameter from "" + + @generated @skip + Scenario: Delete items from a dashboard list returns "OK" response + Given new "DeleteDashboardListItems" request + And body {} + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Get a Dashboard List returns "OK" response + Given new "GetDashboardListItems" request + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Add Items to a Dashboard List returns "OK" response + Given new "CreateDashboardListItems" request + And body {} + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Update items of a dashboard list returns "OK" response + Given new "UpdateDashboardListItems" request + And body {} + When the request is sent + Then the response status is 200 OK diff --git a/features/v2/logs.feature b/features/v2/logs.feature new file mode 100644 index 00000000000..8e3e911638d --- /dev/null +++ b/features/v2/logs.feature @@ -0,0 +1,29 @@ +@endpoint(logs) +Feature: Logs + Search your logs in the Datadog platform over HTTP. [See API version + 1](/api/v1/logs/) for sending logs. + + Background: + Given a valid "apiKeyAuth" key in the system + And a valid "appKeyAuth" key in the system + And an instance of "Logs" API + + @generated @skip + Scenario: Get a quick list of logs returns "OK" response + Given new "ListLogsGet" request + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Get a list of logs returns "OK" response + Given new "ListLogs" request + And body {} + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Aggregate events returns "OK" response + Given new "AggregateLogs" request + And body {} + When the request is sent + Then the response status is 200 OK diff --git a/features/v2/logs_archives.feature b/features/v2/logs_archives.feature new file mode 100644 index 00000000000..76d6cbd68d3 --- /dev/null +++ b/features/v2/logs_archives.feature @@ -0,0 +1,68 @@ +@endpoint(logs-archives) +Feature: Logs Archives + Archives forward all the logs ingested to a cloud storage system. See the + [Archives Page](https://app.datadoghq.com/logs/pipelines/archives) for a + list of the archives currently configured in our UI. + + Background: + Given a valid "apiKeyAuth" key in the system + And a valid "appKeyAuth" key in the system + And an instance of "LogsArchives" API + + @generated @skip + Scenario: Get all archives returns "OK" response + Given new "ListLogsArchives" request + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Create an archive returns "OK" response + Given new "CreateLogsArchive" request + And body {} + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Delete an archive returns "OK" response + Given new "DeleteLogsArchive" request + And request contains "archive_id" parameter from "" + When the request is sent + Then the response status is 204 OK + + @generated @skip + Scenario: Get an archive returns "OK" response + Given new "GetLogsArchive" request + And request contains "archive_id" parameter from "" + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Update an archive returns "OK" response + Given new "UpdateLogsArchive" request + And request contains "archive_id" parameter from "" + And body {} + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Revoke role from an archive returns "OK" response + Given new "RemoveRoleFromArchive" request + And request contains "archive_id" parameter from "" + And body {} + When the request is sent + Then the response status is 204 OK + + @generated @skip + Scenario: List read roles for an archive returns "OK" response + Given new "ListArchiveReadRoles" request + And request contains "archive_id" parameter from "" + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Grant role to an archive returns "OK" response + Given new "AddReadRoleToArchive" request + And request contains "archive_id" parameter from "" + And body {} + When the request is sent + Then the response status is 204 OK diff --git a/features/v2/roles.feature b/features/v2/roles.feature new file mode 100644 index 00000000000..289d9e548c1 --- /dev/null +++ b/features/v2/roles.feature @@ -0,0 +1,117 @@ +@endpoint(roles) @v2 +Feature: Roles + The Roles API is used to create and manage Datadog roles, what [global + permissions](https://docs.datadoghq.com/account_management/rbac/) they + grant, and which users belong to them. Permissions related to specific + account assets can be granted to roles in the Datadog application without + using this API. For example, granting read access on a specific log index + to a role can be done in Datadog from the [Pipelines + page](https://app.datadoghq.com/logs/pipelines). + + Background: + Given a valid "apiKeyAuth" key in the system + And a valid "appKeyAuth" key in the system + And an instance of "Roles" API + + Scenario: List permissions returns "OK" response + Given new "ListPermissions" request + When the request is sent + Then the response status is 200 OK + + Scenario: List roles returns "OK" response + Given there is a valid "role" in the system + And new "ListRoles" request + And request contains "filter" parameter from "role.data.attributes.name" + When the request is sent + Then the response status is 200 OK + And the response "meta.page.total_filtered_count" is equal to 1 + And the response "data[0].id" has the same value as "role.data.id" + And the response "data[0].attributes.name" has the same value as "role.data.attributes.name" + + Scenario: Create role returns "OK" response + Given new "CreateRole" request + And body {"data": {"type": "roles", "attributes": {"name": "{{ unique }}"}}} + When the request is sent + Then the response status is 200 OK + And the response "data.attributes.name" is equal to "{{ unique }}" + + Scenario: Delete role returns "OK" response + Given there is a valid "role" in the system + And new "DeleteRole" request + And request contains "role_id" parameter from "role.data.id" + When the request is sent + Then the response status is 204 OK + + Scenario: Get a role returns "OK" response + Given there is a valid "role" in the system + And new "GetRole" request + And request contains "role_id" parameter from "role.data.id" + When the request is sent + Then the response status is 200 OK for get role + And the response "data.attributes.name" has the same value as "role.data.attributes.name" + + Scenario: Update a role returns "OK" response + Given there is a valid "role" in the system + And new "UpdateRole" request + And request contains "role_id" parameter from "role.data.id" + And body {"data": {"id": "{{ role.data.id }}", "type": "roles", "attributes": {"name" : "{{ role.data.attributes.name }}-updated"}}} + When the request is sent + Then the response status is 200 OK + And the response "data.attributes.name" is equal to "{{ role.data.attributes.name }}-updated" + + Scenario: Revoke permission returns "OK" response + Given there is a valid "role" in the system + And there is a valid "permission" in the system + And the "permission" is granted to the "role" + And new "RemovePermissionFromRole" request + And request contains "role_id" parameter from "role.data.id" + And body {"data": {"id": "{{ permission.id }}", "type": "{{ permission.type }}"}} + When the request is sent + Then the response status is 200 OK + + Scenario: List permissions for a role returns "OK" response + Given there is a valid "role" in the system + And there is a valid "permission" in the system + And the "permission" is granted to the "role" + And new "ListRolePermissions" request + And request contains "role_id" parameter from "role.data.id" + When the request is sent + Then the response status is 200 OK + + Scenario: Grant permission to a role returns "OK" response + Given there is a valid "role" in the system + And there is a valid "permission" in the system + And new "AddPermissionToRole" request + And request contains "role_id" parameter from "role.data.id" + And body {"data": {"id": "{{ permission.id }}", "type": "{{ permission.type }}"}} + When the request is sent + Then the response status is 200 OK + + Scenario: Remove a user from a role returns "OK" response + Given there is a valid "role" in the system + And there is a valid "user" in the system + And the "user" has the "role" + And new "RemoveUserFromRole" request + And request contains "role_id" parameter from "role.data.id" + And body {"data": {"id": "{{ user.data.id}}", "type": "{{ user.data.type }}"}} + When the request is sent + Then the response status is 200 OK + + Scenario: Get all users of a role returns "OK" response + Given there is a valid "role" in the system + And there is a valid "user" in the system + And the "user" has the "role" + And new "ListRoleUsers" request + And request contains "role_id" parameter from "role.data.id" + When the request is sent + Then the response status is 200 OK + And the response "meta.page.total_count" is equal to 1 + + Scenario: Add a user to a role returns "OK" response + Given there is a valid "role" in the system + And there is a valid "user" in the system + And new "AddUserToRole" request + And request contains "role_id" parameter from "role.data.id" + And body {"data": {"id": "{{ user.data.id}}", "type": "{{ user.data.type }}"}} + When the request is sent + Then the response status is 200 OK diff --git a/features/v2/security_monitoring.feature b/features/v2/security_monitoring.feature new file mode 100644 index 00000000000..87af8434de9 --- /dev/null +++ b/features/v2/security_monitoring.feature @@ -0,0 +1,56 @@ +@endpoint(security-monitoring) +Feature: Security Monitoring + Detection rules for generating signals and listing of generated signals + + Background: + Given a valid "apiKeyAuth" key in the system + And a valid "appKeyAuth" key in the system + And an instance of "SecurityMonitoring" API + + @generated @skip + Scenario: List rules returns "OK" response + Given new "ListSecurityMonitoringRules" request + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Create a detection rule returns "OK" response + Given new "CreateSecurityMonitoringRule" request + And body {} + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Delete an existing rule returns "OK" response + Given new "DeleteSecurityMonitoringRule" request + And request contains "rule_id" parameter from "" + When the request is sent + Then the response status is 204 OK + + @generated @skip + Scenario: Get a rule's details returns "OK" response + Given new "GetSecurityMonitoringRule" request + And request contains "rule_id" parameter from "" + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Update an existing rule returns "OK" response + Given new "UpdateSecurityMonitoringRule" request + And request contains "rule_id" parameter from "" + And body {} + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Get a quick list of security signals returns "OK" response + Given new "ListSecurityMonitoringSignals" request + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Get a list of security signals returns "OK" response + Given new "SearchSecurityMonitoringSignals" request + And body {} + When the request is sent + Then the response status is 200 OK diff --git a/features/v2/users.feature b/features/v2/users.feature new file mode 100644 index 00000000000..08ad889f2c3 --- /dev/null +++ b/features/v2/users.feature @@ -0,0 +1,88 @@ +@endpoint(users) @v2 +Feature: Users + Create, edit, and disable users. + + Background: + Given a valid "apiKeyAuth" key in the system + And a valid "appKeyAuth" key in the system + And an instance of "Users" API + + Scenario: Send invitation emails returns "OK" response + Given there is a valid "user" in the system + And new "SendInvitations" request + And body {"data": [{"type": "user_invitations", "relationships": {"user": {"data": {"type": "{{ user.data.type }}", "id": "{{ user.data.id }}"}}}}]} + When the request is sent + Then the response status is 201 OK + + Scenario: Get a user invitation returns "OK" response + Given there is a valid "user" in the system + And the "user" has a "user_invitation" + And new "GetInvitation" request + And request contains "user_invitation_uuid" parameter from "user_invitation.id" + When the request is sent + Then the response status is 200 OK + + Scenario: List all users returns "OK" response + Given there is a valid "user" in the system + And new "ListUsers" request + And request contains "filter" parameter from "user.data.attributes.email" + When the request is sent + Then the response status is 200 OK + And the response "meta.page.total_filtered_count" is equal to 1 + And the response "data[0].attributes.email" has the same value as "user.data.attributes.email" + + Scenario: Create a user returns "OK" response + Given new "CreateUser" request + And body {"data": {"type": "users", "attributes": {"name": "Datadog API Client Python", "email": "{{ unique }}@datadoghq.com"}}} + When the request is sent + Then the response status is 201 OK + And the response "data.attributes.email" is equal to "{{ unique_lower }}@datadoghq.com" + And the response "data.attributes.name" is equal to "Datadog API Client Python" + And the response "data.attributes.disabled" is false + + Scenario: Disable a user returns "OK" response + Given there is a valid "user" in the system + And new "DisableUser" request + And request contains "user_id" parameter from "user.data.id" + When the request is sent + Then the response status is 204 OK + + Scenario: Get a user returns "OK" response + Given there is a valid "user" in the system + And new "GetUser" request + And request contains "user_id" parameter from "user.data.id" + When the request is sent + Then the response status is 200 OK for get user + + Scenario: Update a user returns "OK" response + Given there is a valid "user" in the system + And new "UpdateUser" request + And request contains "user_id" parameter from "user.data.id" + And body {"data": {"id": "{{ user.data.id }}", "type": "users", "attributes": {"name": "updated", "disabled": true}}} + When the request is sent + Then the response status is 200 OK + And the response "data.attributes.email" has the same value as "user.data.attributes.email" + And the response "data.attributes.title" has the same value as "user.data.attributes.title" + And the response "data.attributes.name" is equal to "updated" + And the response "data.attributes.disabled" is equal to true + + Scenario: Get a user permissions returns "OK" response + Given there is a valid "user" in the system + And new "ListUserPermissions" request + And request contains "user_id" parameter from "user.data.id" + When the request is sent + Then the response status is 200 OK + + @generated @skip + Scenario: Get a user returns "OK for get user" response + Given new "GetUser" request + And request contains "user_id" parameter from "" + When the request is sent + Then the response status is 200 OK for get user + + @generated @skip + Scenario: Get a user organization returns "OK" response + Given new "ListUserOrganizations" request + And request contains "user_id" parameter from "" + When the request is sent + Then the response status is 200 OK diff --git a/lib/datadog_api_client/v2.rb b/lib/datadog_api_client/v2.rb index 13ac43086ff..46c500a1bd5 100644 --- a/lib/datadog_api_client/v2.rb +++ b/lib/datadog_api_client/v2.rb @@ -30,21 +30,6 @@ require 'datadog_api_client/v2/models/dashboard_list_update_items_request' require 'datadog_api_client/v2/models/dashboard_list_update_items_response' require 'datadog_api_client/v2/models/dashboard_type' -require 'datadog_api_client/v2/models/log' -require 'datadog_api_client/v2/models/log_attributes' -require 'datadog_api_client/v2/models/log_type' -require 'datadog_api_client/v2/models/logs_aggregate_bucket' -require 'datadog_api_client/v2/models/logs_aggregate_bucket_value' -require 'datadog_api_client/v2/models/logs_aggregate_bucket_value_timeseries' -require 'datadog_api_client/v2/models/logs_aggregate_bucket_value_timeseries_point' -require 'datadog_api_client/v2/models/logs_aggregate_request' -require 'datadog_api_client/v2/models/logs_aggregate_request_paging' -require 'datadog_api_client/v2/models/logs_aggregate_response' -require 'datadog_api_client/v2/models/logs_aggregate_response_data' -require 'datadog_api_client/v2/models/logs_aggregate_response_status' -require 'datadog_api_client/v2/models/logs_aggregate_sort' -require 'datadog_api_client/v2/models/logs_aggregate_sort_type' -require 'datadog_api_client/v2/models/logs_aggregation_function' require 'datadog_api_client/v2/models/logs_archive' require 'datadog_api_client/v2/models/logs_archive_attributes' require 'datadog_api_client/v2/models/logs_archive_create_request' @@ -64,23 +49,6 @@ require 'datadog_api_client/v2/models/logs_archive_integration_s3' require 'datadog_api_client/v2/models/logs_archive_state' require 'datadog_api_client/v2/models/logs_archives' -require 'datadog_api_client/v2/models/logs_compute' -require 'datadog_api_client/v2/models/logs_compute_type' -require 'datadog_api_client/v2/models/logs_group_by' -require 'datadog_api_client/v2/models/logs_group_by_histogram' -require 'datadog_api_client/v2/models/logs_group_by_missing' -require 'datadog_api_client/v2/models/logs_group_by_total' -require 'datadog_api_client/v2/models/logs_list_request' -require 'datadog_api_client/v2/models/logs_list_request_page' -require 'datadog_api_client/v2/models/logs_list_response' -require 'datadog_api_client/v2/models/logs_list_response_links' -require 'datadog_api_client/v2/models/logs_query_filter' -require 'datadog_api_client/v2/models/logs_query_options' -require 'datadog_api_client/v2/models/logs_response_metadata' -require 'datadog_api_client/v2/models/logs_response_metadata_page' -require 'datadog_api_client/v2/models/logs_sort' -require 'datadog_api_client/v2/models/logs_sort_order' -require 'datadog_api_client/v2/models/logs_warning' require 'datadog_api_client/v2/models/organization' require 'datadog_api_client/v2/models/organization_attributes' require 'datadog_api_client/v2/models/organizations_type' @@ -170,7 +138,6 @@ # APIs require 'datadog_api_client/v2/api/dashboard_lists_api' -require 'datadog_api_client/v2/api/logs_api' require 'datadog_api_client/v2/api/logs_archives_api' require 'datadog_api_client/v2/api/roles_api' require 'datadog_api_client/v2/api/security_monitoring_api' diff --git a/lib/datadog_api_client/v2/api/logs_api.rb b/lib/datadog_api_client/v2/api/logs_api.rb deleted file mode 100644 index 2bbba10fb6d..00000000000 --- a/lib/datadog_api_client/v2/api/logs_api.rb +++ /dev/null @@ -1,223 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'cgi' - -module DatadogAPIClient::V2 - class LogsApi - attr_accessor :api_client - - def initialize(api_client = ApiClient.default) - @api_client = api_client - end - # Aggregate events - # The public API endpoint to aggregate events into buckets and compute metrics and timeseries. - # @param [Hash] opts the optional parameters - # @option opts [LogsAggregateRequest] :body - # @return [LogsAggregateResponse] - def aggregate_logs(opts = {}) - data, _status_code, _headers = aggregate_logs_with_http_info(opts) - data - end - - # Aggregate events - # The public API endpoint to aggregate events into buckets and compute metrics and timeseries. - # @param [Hash] opts the optional parameters - # @option opts [LogsAggregateRequest] :body - # @return [Array<(LogsAggregateResponse, Integer, Hash)>] LogsAggregateResponse data, response status code and response headers - def aggregate_logs_with_http_info(opts = {}) - if @api_client.config.debugging - @api_client.config.logger.debug 'Calling API: LogsApi.aggregate_logs ...' - end - # resource path - local_var_path = '/api/v2/logs/analytics/aggregate' - - # query parameters - query_params = opts[:query_params] || {} - - # header parameters - header_params = opts[:header_params] || {} - # HTTP header 'Accept' (if needed) - header_params['Accept'] = @api_client.select_header_accept(['application/json']) - # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) - - # form parameters - form_params = opts[:form_params] || {} - - # http body (model) - post_body = opts[:body] || @api_client.object_to_http_body(opts[:'body']) - - # return_type - return_type = opts[:return_type] || 'LogsAggregateResponse' - - # auth_names - auth_names = opts[:auth_names] || ['apiKeyAuth', 'appKeyAuth'] - - new_options = opts.merge( - :header_params => header_params, - :query_params => query_params, - :form_params => form_params, - :body => post_body, - :auth_names => auth_names, - :return_type => return_type - ) - - data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options) - if @api_client.config.debugging - @api_client.config.logger.debug "API called: LogsApi#aggregate_logs\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" - end - return data, status_code, headers - end - - # Get a list of logs - # List endpoint returns logs that match a log search query. [Results are paginated][1]. Both this endpoint and the GET endpoint can be used interchangeably when listing logs. **If you are considering archiving logs for your organization, consider use of the Datadog archive capabilities instead of the log list API. See [Datadog Logs Archive documentation][2].** [1]: /logs/guide/collect-multiple-logs-with-pagination [2]: https://docs.datadoghq.com/logs/archives - # @param [Hash] opts the optional parameters - # @option opts [LogsListRequest] :body - # @return [LogsListResponse] - def list_logs(opts = {}) - data, _status_code, _headers = list_logs_with_http_info(opts) - data - end - - # Get a list of logs - # List endpoint returns logs that match a log search query. [Results are paginated][1]. Both this endpoint and the GET endpoint can be used interchangeably when listing logs. **If you are considering archiving logs for your organization, consider use of the Datadog archive capabilities instead of the log list API. See [Datadog Logs Archive documentation][2].** [1]: /logs/guide/collect-multiple-logs-with-pagination [2]: https://docs.datadoghq.com/logs/archives - # @param [Hash] opts the optional parameters - # @option opts [LogsListRequest] :body - # @return [Array<(LogsListResponse, Integer, Hash)>] LogsListResponse data, response status code and response headers - def list_logs_with_http_info(opts = {}) - if @api_client.config.debugging - @api_client.config.logger.debug 'Calling API: LogsApi.list_logs ...' - end - # resource path - local_var_path = '/api/v2/logs/events/search' - - # query parameters - query_params = opts[:query_params] || {} - - # header parameters - header_params = opts[:header_params] || {} - # HTTP header 'Accept' (if needed) - header_params['Accept'] = @api_client.select_header_accept(['application/json']) - # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) - - # form parameters - form_params = opts[:form_params] || {} - - # http body (model) - post_body = opts[:body] || @api_client.object_to_http_body(opts[:'body']) - - # return_type - return_type = opts[:return_type] || 'LogsListResponse' - - # auth_names - auth_names = opts[:auth_names] || ['apiKeyAuth', 'appKeyAuth'] - - new_options = opts.merge( - :header_params => header_params, - :query_params => query_params, - :form_params => form_params, - :body => post_body, - :auth_names => auth_names, - :return_type => return_type - ) - - data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options) - if @api_client.config.debugging - @api_client.config.logger.debug "API called: LogsApi#list_logs\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" - end - return data, status_code, headers - end - - # Get a quick list of logs - # List endpoint returns logs that match a log search query. [Results are paginated][1]. Both this endpoint and the POST endpoint can be used interchangeably when listing logs. **If you are considering archiving logs for your organization, consider use of the Datadog archive capabilities instead of the log list API. See [Datadog Logs Archive documentation][2].** [1]: /logs/guide/collect-multiple-logs-with-pagination [2]: https://docs.datadoghq.com/logs/archives - # @param [Hash] opts the optional parameters - # @option opts [String] :filter_query Search query following logs syntax. - # @option opts [String] :filter_index For customers with multiple indexes, the indexes to search Defaults to '*' which means all indexes - # @option opts [DateTime] :filter_from Minimum timestamp for requested logs. - # @option opts [DateTime] :filter_to Maximum timestamp for requested logs. - # @option opts [LogsSort] :sort Order of logs in results. - # @option opts [String] :page_cursor List following results with a cursor provided in the previous query. - # @option opts [Integer] :page_limit Maximum number of logs in the response. (default to 10) - # @return [LogsListResponse] - def list_logs_get(opts = {}) - data, _status_code, _headers = list_logs_get_with_http_info(opts) - data - end - - # Get a quick list of logs - # List endpoint returns logs that match a log search query. [Results are paginated][1]. Both this endpoint and the POST endpoint can be used interchangeably when listing logs. **If you are considering archiving logs for your organization, consider use of the Datadog archive capabilities instead of the log list API. See [Datadog Logs Archive documentation][2].** [1]: /logs/guide/collect-multiple-logs-with-pagination [2]: https://docs.datadoghq.com/logs/archives - # @param [Hash] opts the optional parameters - # @option opts [String] :filter_query Search query following logs syntax. - # @option opts [String] :filter_index For customers with multiple indexes, the indexes to search Defaults to '*' which means all indexes - # @option opts [DateTime] :filter_from Minimum timestamp for requested logs. - # @option opts [DateTime] :filter_to Maximum timestamp for requested logs. - # @option opts [LogsSort] :sort Order of logs in results. - # @option opts [String] :page_cursor List following results with a cursor provided in the previous query. - # @option opts [Integer] :page_limit Maximum number of logs in the response. - # @return [Array<(LogsListResponse, Integer, Hash)>] LogsListResponse data, response status code and response headers - def list_logs_get_with_http_info(opts = {}) - if @api_client.config.debugging - @api_client.config.logger.debug 'Calling API: LogsApi.list_logs_get ...' - end - if @api_client.config.client_side_validation && !opts[:'page_limit'].nil? && opts[:'page_limit'] > 1000 - fail ArgumentError, 'invalid value for "opts[:"page_limit"]" when calling LogsApi.list_logs_get, must be smaller than or equal to 1000.' - end - - # resource path - local_var_path = '/api/v2/logs/events' - - # query parameters - query_params = opts[:query_params] || {} - query_params[:'filter[query]'] = opts[:'filter_query'] if !opts[:'filter_query'].nil? - query_params[:'filter[index]'] = opts[:'filter_index'] if !opts[:'filter_index'].nil? - query_params[:'filter[from]'] = opts[:'filter_from'] if !opts[:'filter_from'].nil? - query_params[:'filter[to]'] = opts[:'filter_to'] if !opts[:'filter_to'].nil? - query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil? - query_params[:'page[cursor]'] = opts[:'page_cursor'] if !opts[:'page_cursor'].nil? - query_params[:'page[limit]'] = opts[:'page_limit'] if !opts[:'page_limit'].nil? - - # header parameters - header_params = opts[:header_params] || {} - # HTTP header 'Accept' (if needed) - header_params['Accept'] = @api_client.select_header_accept(['application/json']) - - # form parameters - form_params = opts[:form_params] || {} - - # http body (model) - post_body = opts[:body] - - # return_type - return_type = opts[:return_type] || 'LogsListResponse' - - # auth_names - auth_names = opts[:auth_names] || ['apiKeyAuth', 'appKeyAuth'] - - new_options = opts.merge( - :header_params => header_params, - :query_params => query_params, - :form_params => form_params, - :body => post_body, - :auth_names => auth_names, - :return_type => return_type - ) - - data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options) - if @api_client.config.debugging - @api_client.config.logger.debug "API called: LogsApi#list_logs_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" - end - return data, status_code, headers - end - end -end diff --git a/lib/datadog_api_client/v2/models/log.rb b/lib/datadog_api_client/v2/models/log.rb deleted file mode 100644 index cde7d2f7ef9..00000000000 --- a/lib/datadog_api_client/v2/models/log.rb +++ /dev/null @@ -1,228 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'date' - -module DatadogAPIClient::V2 - # Object description of a log after being processed and stored by Datadog. - class Log - attr_accessor :attributes - - # Unique ID of the Log. - attr_accessor :id - - attr_accessor :type - - # Attribute mapping from ruby-style variable name to JSON key. - def self.attribute_map - { - :'attributes' => :'attributes', - :'id' => :'id', - :'type' => :'type' - } - end - - # Attribute type mapping. - def self.openapi_types - { - :'attributes' => :'LogAttributes', - :'id' => :'String', - :'type' => :'LogType' - } - end - - # List of attributes with nullable: true - def self.openapi_nullable - Set.new([ - ]) - end - - # Initializes the object - # @param [Hash] attributes Model attributes in the form of hash - def initialize(attributes = {}) - if (!attributes.is_a?(Hash)) - fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V2::Log` initialize method" - end - - # check to see if the attribute exists and convert string to symbol for hash key - attributes = attributes.each_with_object({}) { |(k, v), h| - if (!self.class.attribute_map.key?(k.to_sym)) - fail ArgumentError, "`#{k}` is not a valid attribute in `DatadogAPIClient::V2::Log`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect - end - h[k.to_sym] = v - } - - if attributes.key?(:'attributes') - self.attributes = attributes[:'attributes'] - end - - if attributes.key?(:'id') - self.id = attributes[:'id'] - end - - if attributes.key?(:'type') - self.type = attributes[:'type'] - end - end - - # Show invalid properties with the reasons. Usually used together with valid? - # @return Array for valid properties with the reasons - def list_invalid_properties - invalid_properties = Array.new - invalid_properties - end - - # Check to see if the all the properties in the model are valid - # @return true if the model is valid - def valid? - true - end - - # Checks equality by comparing each attribute. - # @param [Object] Object to be compared - def ==(o) - return true if self.equal?(o) - self.class == o.class && - attributes == o.attributes && - id == o.id && - type == o.type - end - - # @see the `==` method - # @param [Object] Object to be compared - def eql?(o) - self == o - end - - # Calculates hash code according to all attributes. - # @return [Integer] Hash code - def hash - [attributes, id, type].hash - end - - # Builds the object from hash - # @param [Hash] attributes Model attributes in the form of hash - # @return [Object] Returns the model itself - def self.build_from_hash(attributes) - new.build_from_hash(attributes) - end - - # Builds the object from hash - # @param [Hash] attributes Model attributes in the form of hash - # @return [Object] Returns the model itself - def build_from_hash(attributes) - return nil unless attributes.is_a?(Hash) - self.class.openapi_types.each_pair do |key, type| - if type =~ /\AArray<(.*)>/i - # check to ensure the input is an array given that the attribute - # is documented as an array but the input is not - if attributes[self.class.attribute_map[key]].is_a?(Array) - self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) - end - elsif !attributes[self.class.attribute_map[key]].nil? - self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) - elsif attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) - self.send("#{key}=", nil) - end - end - - self - end - - # Deserializes the data based on type - # @param string type Data type - # @param string value Value to be deserialized - # @return [Object] Deserialized data - def _deserialize(type, value) - case type.to_sym - when :DateTime - DateTime.parse(value) - when :Date - Date.parse(value) - when :String - value.to_s - when :Integer - value.to_i - when :Float - value.to_f - when :Boolean - if value.to_s =~ /\A(true|t|yes|y|1)\z/i - true - else - false - end - when :Object - # generic object (usually a Hash), return directly - value - when /\AArray<(?.+)>\z/ - inner_type = Regexp.last_match[:inner_type] - value.map { |v| _deserialize(inner_type, v) } - when /\AHash<(?.+?), (?.+)>\z/ - k_type = Regexp.last_match[:k_type] - v_type = Regexp.last_match[:v_type] - {}.tap do |hash| - value.each do |k, v| - hash[_deserialize(k_type, k)] = _deserialize(v_type, v) - end - end - else # model - DatadogAPIClient::V2.const_get(type).build_from_hash(value) - end - end - - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - - # Returns the object in the form of hash - # @return [Hash] Returns the object in the form of hash - def to_hash - hash = {} - self.class.attribute_map.each_pair do |attr, param| - value = self.send(attr) - if value.nil? - is_nullable = self.class.openapi_nullable.include?(attr) - next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) - end - - hash[param] = _to_hash(value) - end - hash - end - - # Outputs non-array value in the form of hash - # For object, use to_hash. Otherwise, just return the value - # @param [Object] value Any valid value - # @return [Hash] Returns the value in the form of hash - def _to_hash(value) - if value.is_a?(Array) - value.compact.map { |v| _to_hash(v) } - elsif value.is_a?(Hash) - {}.tap do |hash| - value.each { |k, v| hash[k] = _to_hash(v) } - end - elsif value.respond_to? :to_hash - value.to_hash - else - value - end - end - end -end diff --git a/lib/datadog_api_client/v2/models/log_attributes.rb b/lib/datadog_api_client/v2/models/log_attributes.rb deleted file mode 100644 index b8555e15352..00000000000 --- a/lib/datadog_api_client/v2/models/log_attributes.rb +++ /dev/null @@ -1,274 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'date' - -module DatadogAPIClient::V2 - # JSON object containing all log attributes and their associated values. - class LogAttributes - # JSON object of attributes from your log. - attr_accessor :attributes - - # Name of the machine from where the logs are being sent. - attr_accessor :host - - # The message [reserved attribute](https://docs.datadoghq.com/logs/log_collection/#reserved-attributes) of your log. By default, Datadog ingests the value of the message attribute as the body of the log entry. That value is then highlighted and displayed in the Logstream, where it is indexed for full text search. - attr_accessor :message - - # The name of the application or service generating the log events. It is used to switch from Logs to APM, so make sure you define the same value when you use both products. - attr_accessor :service - - # Status of the message associated with your log. - attr_accessor :status - - # Array of tags associated with your log. - attr_accessor :tags - - # Timestamp of your log. - attr_accessor :timestamp - - # Attribute mapping from ruby-style variable name to JSON key. - def self.attribute_map - { - :'attributes' => :'attributes', - :'host' => :'host', - :'message' => :'message', - :'service' => :'service', - :'status' => :'status', - :'tags' => :'tags', - :'timestamp' => :'timestamp' - } - end - - # Attribute type mapping. - def self.openapi_types - { - :'attributes' => :'Hash', - :'host' => :'String', - :'message' => :'String', - :'service' => :'String', - :'status' => :'String', - :'tags' => :'Array', - :'timestamp' => :'DateTime' - } - end - - # List of attributes with nullable: true - def self.openapi_nullable - Set.new([ - ]) - end - - # Initializes the object - # @param [Hash] attributes Model attributes in the form of hash - def initialize(attributes = {}) - if (!attributes.is_a?(Hash)) - fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V2::LogAttributes` initialize method" - end - - # check to see if the attribute exists and convert string to symbol for hash key - attributes = attributes.each_with_object({}) { |(k, v), h| - if (!self.class.attribute_map.key?(k.to_sym)) - fail ArgumentError, "`#{k}` is not a valid attribute in `DatadogAPIClient::V2::LogAttributes`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect - end - h[k.to_sym] = v - } - - if attributes.key?(:'attributes') - if (value = attributes[:'attributes']).is_a?(Hash) - self.attributes = value - end - end - - if attributes.key?(:'host') - self.host = attributes[:'host'] - end - - if attributes.key?(:'message') - self.message = attributes[:'message'] - end - - if attributes.key?(:'service') - self.service = attributes[:'service'] - end - - if attributes.key?(:'status') - self.status = attributes[:'status'] - end - - if attributes.key?(:'tags') - if (value = attributes[:'tags']).is_a?(Array) - self.tags = value - end - end - - if attributes.key?(:'timestamp') - self.timestamp = attributes[:'timestamp'] - end - end - - # Show invalid properties with the reasons. Usually used together with valid? - # @return Array for valid properties with the reasons - def list_invalid_properties - invalid_properties = Array.new - invalid_properties - end - - # Check to see if the all the properties in the model are valid - # @return true if the model is valid - def valid? - true - end - - # Checks equality by comparing each attribute. - # @param [Object] Object to be compared - def ==(o) - return true if self.equal?(o) - self.class == o.class && - attributes == o.attributes && - host == o.host && - message == o.message && - service == o.service && - status == o.status && - tags == o.tags && - timestamp == o.timestamp - end - - # @see the `==` method - # @param [Object] Object to be compared - def eql?(o) - self == o - end - - # Calculates hash code according to all attributes. - # @return [Integer] Hash code - def hash - [attributes, host, message, service, status, tags, timestamp].hash - end - - # Builds the object from hash - # @param [Hash] attributes Model attributes in the form of hash - # @return [Object] Returns the model itself - def self.build_from_hash(attributes) - new.build_from_hash(attributes) - end - - # Builds the object from hash - # @param [Hash] attributes Model attributes in the form of hash - # @return [Object] Returns the model itself - def build_from_hash(attributes) - return nil unless attributes.is_a?(Hash) - self.class.openapi_types.each_pair do |key, type| - if type =~ /\AArray<(.*)>/i - # check to ensure the input is an array given that the attribute - # is documented as an array but the input is not - if attributes[self.class.attribute_map[key]].is_a?(Array) - self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) - end - elsif !attributes[self.class.attribute_map[key]].nil? - self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) - elsif attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) - self.send("#{key}=", nil) - end - end - - self - end - - # Deserializes the data based on type - # @param string type Data type - # @param string value Value to be deserialized - # @return [Object] Deserialized data - def _deserialize(type, value) - case type.to_sym - when :DateTime - DateTime.parse(value) - when :Date - Date.parse(value) - when :String - value.to_s - when :Integer - value.to_i - when :Float - value.to_f - when :Boolean - if value.to_s =~ /\A(true|t|yes|y|1)\z/i - true - else - false - end - when :Object - # generic object (usually a Hash), return directly - value - when /\AArray<(?.+)>\z/ - inner_type = Regexp.last_match[:inner_type] - value.map { |v| _deserialize(inner_type, v) } - when /\AHash<(?.+?), (?.+)>\z/ - k_type = Regexp.last_match[:k_type] - v_type = Regexp.last_match[:v_type] - {}.tap do |hash| - value.each do |k, v| - hash[_deserialize(k_type, k)] = _deserialize(v_type, v) - end - end - else # model - DatadogAPIClient::V2.const_get(type).build_from_hash(value) - end - end - - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - - # Returns the object in the form of hash - # @return [Hash] Returns the object in the form of hash - def to_hash - hash = {} - self.class.attribute_map.each_pair do |attr, param| - value = self.send(attr) - if value.nil? - is_nullable = self.class.openapi_nullable.include?(attr) - next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) - end - - hash[param] = _to_hash(value) - end - hash - end - - # Outputs non-array value in the form of hash - # For object, use to_hash. Otherwise, just return the value - # @param [Object] value Any valid value - # @return [Hash] Returns the value in the form of hash - def _to_hash(value) - if value.is_a?(Array) - value.compact.map { |v| _to_hash(v) } - elsif value.is_a?(Hash) - {}.tap do |hash| - value.each { |k, v| hash[k] = _to_hash(v) } - end - elsif value.respond_to? :to_hash - value.to_hash - else - value - end - end - end -end diff --git a/lib/datadog_api_client/v2/models/log_type.rb b/lib/datadog_api_client/v2/models/log_type.rb deleted file mode 100644 index 44a482dacda..00000000000 --- a/lib/datadog_api_client/v2/models/log_type.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'date' - -module DatadogAPIClient::V2 - class LogType - LOG = "log".freeze - - # Builds the enum from string - # @param [String] The enum value in the form of the string - # @return [String] The enum value - def self.build_from_hash(value) - new.build_from_hash(value) - end - - # Builds the enum from string - # @param [String] The enum value in the form of the string - # @return [String] The enum value - def build_from_hash(value) - constantValues = LogType.constants.select { |c| LogType::const_get(c) == value } - raise "Invalid ENUM value #{value} for class #LogType" if constantValues.empty? - value - end - end -end diff --git a/lib/datadog_api_client/v2/models/logs_aggregate_bucket.rb b/lib/datadog_api_client/v2/models/logs_aggregate_bucket.rb deleted file mode 100644 index 6bf8e5dea86..00000000000 --- a/lib/datadog_api_client/v2/models/logs_aggregate_bucket.rb +++ /dev/null @@ -1,224 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'date' - -module DatadogAPIClient::V2 - # A bucket values - class LogsAggregateBucket - # The key, value pairs for each group by - attr_accessor :by - - # A map of the metric name -> value for regular compute or list of values for a timeseries - attr_accessor :computes - - # Attribute mapping from ruby-style variable name to JSON key. - def self.attribute_map - { - :'by' => :'by', - :'computes' => :'computes' - } - end - - # Attribute type mapping. - def self.openapi_types - { - :'by' => :'Hash', - :'computes' => :'Hash' - } - end - - # List of attributes with nullable: true - def self.openapi_nullable - Set.new([ - ]) - end - - # Initializes the object - # @param [Hash] attributes Model attributes in the form of hash - def initialize(attributes = {}) - if (!attributes.is_a?(Hash)) - fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V2::LogsAggregateBucket` initialize method" - end - - # check to see if the attribute exists and convert string to symbol for hash key - attributes = attributes.each_with_object({}) { |(k, v), h| - if (!self.class.attribute_map.key?(k.to_sym)) - fail ArgumentError, "`#{k}` is not a valid attribute in `DatadogAPIClient::V2::LogsAggregateBucket`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect - end - h[k.to_sym] = v - } - - if attributes.key?(:'by') - if (value = attributes[:'by']).is_a?(Hash) - self.by = value - end - end - - if attributes.key?(:'computes') - if (value = attributes[:'computes']).is_a?(Hash) - self.computes = value - end - end - end - - # Show invalid properties with the reasons. Usually used together with valid? - # @return Array for valid properties with the reasons - def list_invalid_properties - invalid_properties = Array.new - invalid_properties - end - - # Check to see if the all the properties in the model are valid - # @return true if the model is valid - def valid? - true - end - - # Checks equality by comparing each attribute. - # @param [Object] Object to be compared - def ==(o) - return true if self.equal?(o) - self.class == o.class && - by == o.by && - computes == o.computes - end - - # @see the `==` method - # @param [Object] Object to be compared - def eql?(o) - self == o - end - - # Calculates hash code according to all attributes. - # @return [Integer] Hash code - def hash - [by, computes].hash - end - - # Builds the object from hash - # @param [Hash] attributes Model attributes in the form of hash - # @return [Object] Returns the model itself - def self.build_from_hash(attributes) - new.build_from_hash(attributes) - end - - # Builds the object from hash - # @param [Hash] attributes Model attributes in the form of hash - # @return [Object] Returns the model itself - def build_from_hash(attributes) - return nil unless attributes.is_a?(Hash) - self.class.openapi_types.each_pair do |key, type| - if type =~ /\AArray<(.*)>/i - # check to ensure the input is an array given that the attribute - # is documented as an array but the input is not - if attributes[self.class.attribute_map[key]].is_a?(Array) - self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) - end - elsif !attributes[self.class.attribute_map[key]].nil? - self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) - elsif attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) - self.send("#{key}=", nil) - end - end - - self - end - - # Deserializes the data based on type - # @param string type Data type - # @param string value Value to be deserialized - # @return [Object] Deserialized data - def _deserialize(type, value) - case type.to_sym - when :DateTime - DateTime.parse(value) - when :Date - Date.parse(value) - when :String - value.to_s - when :Integer - value.to_i - when :Float - value.to_f - when :Boolean - if value.to_s =~ /\A(true|t|yes|y|1)\z/i - true - else - false - end - when :Object - # generic object (usually a Hash), return directly - value - when /\AArray<(?.+)>\z/ - inner_type = Regexp.last_match[:inner_type] - value.map { |v| _deserialize(inner_type, v) } - when /\AHash<(?.+?), (?.+)>\z/ - k_type = Regexp.last_match[:k_type] - v_type = Regexp.last_match[:v_type] - {}.tap do |hash| - value.each do |k, v| - hash[_deserialize(k_type, k)] = _deserialize(v_type, v) - end - end - else # model - DatadogAPIClient::V2.const_get(type).build_from_hash(value) - end - end - - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - - # Returns the object in the form of hash - # @return [Hash] Returns the object in the form of hash - def to_hash - hash = {} - self.class.attribute_map.each_pair do |attr, param| - value = self.send(attr) - if value.nil? - is_nullable = self.class.openapi_nullable.include?(attr) - next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) - end - - hash[param] = _to_hash(value) - end - hash - end - - # Outputs non-array value in the form of hash - # For object, use to_hash. Otherwise, just return the value - # @param [Object] value Any valid value - # @return [Hash] Returns the value in the form of hash - def _to_hash(value) - if value.is_a?(Array) - value.compact.map { |v| _to_hash(v) } - elsif value.is_a?(Hash) - {}.tap do |hash| - value.each { |k, v| hash[k] = _to_hash(v) } - end - elsif value.respond_to? :to_hash - value.to_hash - else - value - end - end - end -end diff --git a/lib/datadog_api_client/v2/models/logs_aggregate_bucket_value.rb b/lib/datadog_api_client/v2/models/logs_aggregate_bucket_value.rb deleted file mode 100644 index c8ffd49c6a2..00000000000 --- a/lib/datadog_api_client/v2/models/logs_aggregate_bucket_value.rb +++ /dev/null @@ -1,225 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'date' - -module DatadogAPIClient::V2 - # A bucket value, can be either a timeseries or a single value - class LogsAggregateBucketValue - # Attribute mapping from ruby-style variable name to JSON key. - def self.attribute_map - { - } - end - - # Attribute type mapping. - def self.openapi_types - { - } - end - - # List of attributes with nullable: true - def self.openapi_nullable - Set.new([ - ]) - end - - # List of class defined in oneOf (OpenAPI v3) - def self.openapi_one_of - [ - :'Float', - :'LogsAggregateBucketValueTimeseries', - :'String' - ] - end - - # Initializes the object - # @param [Hash] attributes Model attributes in the form of hash - def initialize(attributes = {}) - if (!attributes.is_a?(Hash)) - fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V2::LogsAggregateBucketValue` initialize method" - end - - # check to see if the attribute exists and convert string to symbol for hash key - attributes = attributes.each_with_object({}) { |(k, v), h| - if (!self.class.attribute_map.key?(k.to_sym)) - fail ArgumentError, "`#{k}` is not a valid attribute in `DatadogAPIClient::V2::LogsAggregateBucketValue`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect - end - h[k.to_sym] = v - } - end - - # Show invalid properties with the reasons. Usually used together with valid? - # @return Array for valid properties with the reasons - def list_invalid_properties - invalid_properties = Array.new - invalid_properties - end - - # Check to see if the all the properties in the model are valid - # @return true if the model is valid - def valid? - _one_of_found = false - self.class.openapi_one_of.each do |_class| - _one_of = DatadogAPIClient::V2.const_get(_class).build_from_hash(self.to_hash) - if _one_of.valid? - if _one_of_found - return false - else - _one_of_found = true - end - end - end - - if !_one_of_found - return false - end - - true - end - - # Checks equality by comparing each attribute. - # @param [Object] Object to be compared - def ==(o) - return true if self.equal?(o) - self.class == o.class - end - - # @see the `==` method - # @param [Object] Object to be compared - def eql?(o) - self == o - end - - # Calculates hash code according to all attributes. - # @return [Integer] Hash code - def hash - [].hash - end - - # Builds the object from hash - # @param [Hash] attributes Model attributes in the form of hash - # @return [Object] Returns the model itself - def self.build_from_hash(attributes) - new.build_from_hash(attributes) - end - - # Builds the object from hash - # @param [Hash] attributes Model attributes in the form of hash - # @return [Object] Returns the model itself - def build_from_hash(attributes) - return nil unless attributes.is_a?(Hash) - self.class.openapi_types.each_pair do |key, type| - if type =~ /\AArray<(.*)>/i - # check to ensure the input is an array given that the attribute - # is documented as an array but the input is not - if attributes[self.class.attribute_map[key]].is_a?(Array) - self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) - end - elsif !attributes[self.class.attribute_map[key]].nil? - self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) - elsif attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) - self.send("#{key}=", nil) - end - end - - self - end - - # Deserializes the data based on type - # @param string type Data type - # @param string value Value to be deserialized - # @return [Object] Deserialized data - def _deserialize(type, value) - case type.to_sym - when :DateTime - DateTime.parse(value) - when :Date - Date.parse(value) - when :String - value.to_s - when :Integer - value.to_i - when :Float - value.to_f - when :Boolean - if value.to_s =~ /\A(true|t|yes|y|1)\z/i - true - else - false - end - when :Object - # generic object (usually a Hash), return directly - value - when /\AArray<(?.+)>\z/ - inner_type = Regexp.last_match[:inner_type] - value.map { |v| _deserialize(inner_type, v) } - when /\AHash<(?.+?), (?.+)>\z/ - k_type = Regexp.last_match[:k_type] - v_type = Regexp.last_match[:v_type] - {}.tap do |hash| - value.each do |k, v| - hash[_deserialize(k_type, k)] = _deserialize(v_type, v) - end - end - else # model - DatadogAPIClient::V2.const_get(type).build_from_hash(value) - end - end - - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - - # Returns the object in the form of hash - # @return [Hash] Returns the object in the form of hash - def to_hash - hash = {} - self.class.attribute_map.each_pair do |attr, param| - value = self.send(attr) - if value.nil? - is_nullable = self.class.openapi_nullable.include?(attr) - next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) - end - - hash[param] = _to_hash(value) - end - hash - end - - # Outputs non-array value in the form of hash - # For object, use to_hash. Otherwise, just return the value - # @param [Object] value Any valid value - # @return [Hash] Returns the value in the form of hash - def _to_hash(value) - if value.is_a?(Array) - value.compact.map { |v| _to_hash(v) } - elsif value.is_a?(Hash) - {}.tap do |hash| - value.each { |k, v| hash[k] = _to_hash(v) } - end - elsif value.respond_to? :to_hash - value.to_hash - else - value - end - end - end -end diff --git a/lib/datadog_api_client/v2/models/logs_aggregate_bucket_value_timeseries.rb b/lib/datadog_api_client/v2/models/logs_aggregate_bucket_value_timeseries.rb deleted file mode 100644 index 134b4a23551..00000000000 --- a/lib/datadog_api_client/v2/models/logs_aggregate_bucket_value_timeseries.rb +++ /dev/null @@ -1,204 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'date' - -module DatadogAPIClient::V2 - # A timeseries array - class LogsAggregateBucketValueTimeseries < null - # Attribute mapping from ruby-style variable name to JSON key. - def self.attribute_map - { - } - end - - # Attribute type mapping. - def self.openapi_types - { - } - end - - # List of attributes with nullable: true - def self.openapi_nullable - Set.new([ - ]) - end - - # Initializes the object - # @param [Hash] attributes Model attributes in the form of hash - def initialize(attributes = {}) - if (!attributes.is_a?(Hash)) - fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V2::LogsAggregateBucketValueTimeseries` initialize method" - end - - # check to see if the attribute exists and convert string to symbol for hash key - attributes = attributes.each_with_object({}) { |(k, v), h| - if (!self.class.attribute_map.key?(k.to_sym)) - fail ArgumentError, "`#{k}` is not a valid attribute in `DatadogAPIClient::V2::LogsAggregateBucketValueTimeseries`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect - end - h[k.to_sym] = v - } - - # call parent's initialize - super(attributes) - end - - # Show invalid properties with the reasons. Usually used together with valid? - # @return Array for valid properties with the reasons - def list_invalid_properties - invalid_properties = super - invalid_properties - end - - # Check to see if the all the properties in the model are valid - # @return true if the model is valid - def valid? - true && super - end - - # Checks equality by comparing each attribute. - # @param [Object] Object to be compared - def ==(o) - return true if self.equal?(o) - self.class == o.class && super(o) - end - - # @see the `==` method - # @param [Object] Object to be compared - def eql?(o) - self == o - end - - # Calculates hash code according to all attributes. - # @return [Integer] Hash code - def hash - [].hash - end - - # Builds the object from hash - # @param [Hash] attributes Model attributes in the form of hash - # @return [Object] Returns the model itself - def self.build_from_hash(attributes) - new.build_from_hash(attributes) - end - - # Builds the object from hash - # @param [Hash] attributes Model attributes in the form of hash - # @return [Object] Returns the model itself - def build_from_hash(attributes) - return nil unless attributes.is_a?(Hash) - super(attributes) - self.class.openapi_types.each_pair do |key, type| - if type =~ /\AArray<(.*)>/i - # check to ensure the input is an array given that the attribute - # is documented as an array but the input is not - if attributes[self.class.attribute_map[key]].is_a?(Array) - self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) - end - elsif !attributes[self.class.attribute_map[key]].nil? - self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) - elsif attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) - self.send("#{key}=", nil) - end - end - - self - end - - # Deserializes the data based on type - # @param string type Data type - # @param string value Value to be deserialized - # @return [Object] Deserialized data - def _deserialize(type, value) - case type.to_sym - when :DateTime - DateTime.parse(value) - when :Date - Date.parse(value) - when :String - value.to_s - when :Integer - value.to_i - when :Float - value.to_f - when :Boolean - if value.to_s =~ /\A(true|t|yes|y|1)\z/i - true - else - false - end - when :Object - # generic object (usually a Hash), return directly - value - when /\AArray<(?.+)>\z/ - inner_type = Regexp.last_match[:inner_type] - value.map { |v| _deserialize(inner_type, v) } - when /\AHash<(?.+?), (?.+)>\z/ - k_type = Regexp.last_match[:k_type] - v_type = Regexp.last_match[:v_type] - {}.tap do |hash| - value.each do |k, v| - hash[_deserialize(k_type, k)] = _deserialize(v_type, v) - end - end - else # model - DatadogAPIClient::V2.const_get(type).build_from_hash(value) - end - end - - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - - # Returns the object in the form of hash - # @return [Hash] Returns the object in the form of hash - def to_hash - hash = super - self.class.attribute_map.each_pair do |attr, param| - value = self.send(attr) - if value.nil? - is_nullable = self.class.openapi_nullable.include?(attr) - next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) - end - - hash[param] = _to_hash(value) - end - hash - end - - # Outputs non-array value in the form of hash - # For object, use to_hash. Otherwise, just return the value - # @param [Object] value Any valid value - # @return [Hash] Returns the value in the form of hash - def _to_hash(value) - if value.is_a?(Array) - value.compact.map { |v| _to_hash(v) } - elsif value.is_a?(Hash) - {}.tap do |hash| - value.each { |k, v| hash[k] = _to_hash(v) } - end - elsif value.respond_to? :to_hash - value.to_hash - else - value - end - end - end -end diff --git a/lib/datadog_api_client/v2/models/logs_aggregate_bucket_value_timeseries_point.rb b/lib/datadog_api_client/v2/models/logs_aggregate_bucket_value_timeseries_point.rb deleted file mode 100644 index 62264cd2b85..00000000000 --- a/lib/datadog_api_client/v2/models/logs_aggregate_bucket_value_timeseries_point.rb +++ /dev/null @@ -1,220 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'date' - -module DatadogAPIClient::V2 - # A timeseries point - class LogsAggregateBucketValueTimeseriesPoint - # The time value for this point - attr_accessor :time - - # The value for this point - attr_accessor :value - - # Attribute mapping from ruby-style variable name to JSON key. - def self.attribute_map - { - :'time' => :'time', - :'value' => :'value' - } - end - - # Attribute type mapping. - def self.openapi_types - { - :'time' => :'String', - :'value' => :'Float' - } - end - - # List of attributes with nullable: true - def self.openapi_nullable - Set.new([ - ]) - end - - # Initializes the object - # @param [Hash] attributes Model attributes in the form of hash - def initialize(attributes = {}) - if (!attributes.is_a?(Hash)) - fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V2::LogsAggregateBucketValueTimeseriesPoint` initialize method" - end - - # check to see if the attribute exists and convert string to symbol for hash key - attributes = attributes.each_with_object({}) { |(k, v), h| - if (!self.class.attribute_map.key?(k.to_sym)) - fail ArgumentError, "`#{k}` is not a valid attribute in `DatadogAPIClient::V2::LogsAggregateBucketValueTimeseriesPoint`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect - end - h[k.to_sym] = v - } - - if attributes.key?(:'time') - self.time = attributes[:'time'] - end - - if attributes.key?(:'value') - self.value = attributes[:'value'] - end - end - - # Show invalid properties with the reasons. Usually used together with valid? - # @return Array for valid properties with the reasons - def list_invalid_properties - invalid_properties = Array.new - invalid_properties - end - - # Check to see if the all the properties in the model are valid - # @return true if the model is valid - def valid? - true - end - - # Checks equality by comparing each attribute. - # @param [Object] Object to be compared - def ==(o) - return true if self.equal?(o) - self.class == o.class && - time == o.time && - value == o.value - end - - # @see the `==` method - # @param [Object] Object to be compared - def eql?(o) - self == o - end - - # Calculates hash code according to all attributes. - # @return [Integer] Hash code - def hash - [time, value].hash - end - - # Builds the object from hash - # @param [Hash] attributes Model attributes in the form of hash - # @return [Object] Returns the model itself - def self.build_from_hash(attributes) - new.build_from_hash(attributes) - end - - # Builds the object from hash - # @param [Hash] attributes Model attributes in the form of hash - # @return [Object] Returns the model itself - def build_from_hash(attributes) - return nil unless attributes.is_a?(Hash) - self.class.openapi_types.each_pair do |key, type| - if type =~ /\AArray<(.*)>/i - # check to ensure the input is an array given that the attribute - # is documented as an array but the input is not - if attributes[self.class.attribute_map[key]].is_a?(Array) - self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) - end - elsif !attributes[self.class.attribute_map[key]].nil? - self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) - elsif attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) - self.send("#{key}=", nil) - end - end - - self - end - - # Deserializes the data based on type - # @param string type Data type - # @param string value Value to be deserialized - # @return [Object] Deserialized data - def _deserialize(type, value) - case type.to_sym - when :DateTime - DateTime.parse(value) - when :Date - Date.parse(value) - when :String - value.to_s - when :Integer - value.to_i - when :Float - value.to_f - when :Boolean - if value.to_s =~ /\A(true|t|yes|y|1)\z/i - true - else - false - end - when :Object - # generic object (usually a Hash), return directly - value - when /\AArray<(?.+)>\z/ - inner_type = Regexp.last_match[:inner_type] - value.map { |v| _deserialize(inner_type, v) } - when /\AHash<(?.+?), (?.+)>\z/ - k_type = Regexp.last_match[:k_type] - v_type = Regexp.last_match[:v_type] - {}.tap do |hash| - value.each do |k, v| - hash[_deserialize(k_type, k)] = _deserialize(v_type, v) - end - end - else # model - DatadogAPIClient::V2.const_get(type).build_from_hash(value) - end - end - - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - - # Returns the object in the form of hash - # @return [Hash] Returns the object in the form of hash - def to_hash - hash = {} - self.class.attribute_map.each_pair do |attr, param| - value = self.send(attr) - if value.nil? - is_nullable = self.class.openapi_nullable.include?(attr) - next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) - end - - hash[param] = _to_hash(value) - end - hash - end - - # Outputs non-array value in the form of hash - # For object, use to_hash. Otherwise, just return the value - # @param [Object] value Any valid value - # @return [Hash] Returns the value in the form of hash - def _to_hash(value) - if value.is_a?(Array) - value.compact.map { |v| _to_hash(v) } - elsif value.is_a?(Hash) - {}.tap do |hash| - value.each { |k, v| hash[k] = _to_hash(v) } - end - elsif value.respond_to? :to_hash - value.to_hash - else - value - end - end - end -end diff --git a/lib/datadog_api_client/v2/models/logs_aggregate_request.rb b/lib/datadog_api_client/v2/models/logs_aggregate_request.rb deleted file mode 100644 index 7a4e93eec8a..00000000000 --- a/lib/datadog_api_client/v2/models/logs_aggregate_request.rb +++ /dev/null @@ -1,251 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'date' - -module DatadogAPIClient::V2 - # The object sent with the request to retrieve a list of logs from your organization. - class LogsAggregateRequest - # The list of metrics or timeseries to compute for the retrieved buckets. - attr_accessor :compute - - attr_accessor :filter - - # The rules for the group by - attr_accessor :group_by - - attr_accessor :options - - attr_accessor :paging - - # Attribute mapping from ruby-style variable name to JSON key. - def self.attribute_map - { - :'compute' => :'compute', - :'filter' => :'filter', - :'group_by' => :'group_by', - :'options' => :'options', - :'paging' => :'paging' - } - end - - # Attribute type mapping. - def self.openapi_types - { - :'compute' => :'Array', - :'filter' => :'LogsQueryFilter', - :'group_by' => :'Array', - :'options' => :'LogsQueryOptions', - :'paging' => :'LogsAggregateRequestPaging' - } - end - - # List of attributes with nullable: true - def self.openapi_nullable - Set.new([ - ]) - end - - # Initializes the object - # @param [Hash] attributes Model attributes in the form of hash - def initialize(attributes = {}) - if (!attributes.is_a?(Hash)) - fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V2::LogsAggregateRequest` initialize method" - end - - # check to see if the attribute exists and convert string to symbol for hash key - attributes = attributes.each_with_object({}) { |(k, v), h| - if (!self.class.attribute_map.key?(k.to_sym)) - fail ArgumentError, "`#{k}` is not a valid attribute in `DatadogAPIClient::V2::LogsAggregateRequest`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect - end - h[k.to_sym] = v - } - - if attributes.key?(:'compute') - if (value = attributes[:'compute']).is_a?(Array) - self.compute = value - end - end - - if attributes.key?(:'filter') - self.filter = attributes[:'filter'] - end - - if attributes.key?(:'group_by') - if (value = attributes[:'group_by']).is_a?(Array) - self.group_by = value - end - end - - if attributes.key?(:'options') - self.options = attributes[:'options'] - end - - if attributes.key?(:'paging') - self.paging = attributes[:'paging'] - end - end - - # Show invalid properties with the reasons. Usually used together with valid? - # @return Array for valid properties with the reasons - def list_invalid_properties - invalid_properties = Array.new - invalid_properties - end - - # Check to see if the all the properties in the model are valid - # @return true if the model is valid - def valid? - true - end - - # Checks equality by comparing each attribute. - # @param [Object] Object to be compared - def ==(o) - return true if self.equal?(o) - self.class == o.class && - compute == o.compute && - filter == o.filter && - group_by == o.group_by && - options == o.options && - paging == o.paging - end - - # @see the `==` method - # @param [Object] Object to be compared - def eql?(o) - self == o - end - - # Calculates hash code according to all attributes. - # @return [Integer] Hash code - def hash - [compute, filter, group_by, options, paging].hash - end - - # Builds the object from hash - # @param [Hash] attributes Model attributes in the form of hash - # @return [Object] Returns the model itself - def self.build_from_hash(attributes) - new.build_from_hash(attributes) - end - - # Builds the object from hash - # @param [Hash] attributes Model attributes in the form of hash - # @return [Object] Returns the model itself - def build_from_hash(attributes) - return nil unless attributes.is_a?(Hash) - self.class.openapi_types.each_pair do |key, type| - if type =~ /\AArray<(.*)>/i - # check to ensure the input is an array given that the attribute - # is documented as an array but the input is not - if attributes[self.class.attribute_map[key]].is_a?(Array) - self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) - end - elsif !attributes[self.class.attribute_map[key]].nil? - self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) - elsif attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) - self.send("#{key}=", nil) - end - end - - self - end - - # Deserializes the data based on type - # @param string type Data type - # @param string value Value to be deserialized - # @return [Object] Deserialized data - def _deserialize(type, value) - case type.to_sym - when :DateTime - DateTime.parse(value) - when :Date - Date.parse(value) - when :String - value.to_s - when :Integer - value.to_i - when :Float - value.to_f - when :Boolean - if value.to_s =~ /\A(true|t|yes|y|1)\z/i - true - else - false - end - when :Object - # generic object (usually a Hash), return directly - value - when /\AArray<(?.+)>\z/ - inner_type = Regexp.last_match[:inner_type] - value.map { |v| _deserialize(inner_type, v) } - when /\AHash<(?.+?), (?.+)>\z/ - k_type = Regexp.last_match[:k_type] - v_type = Regexp.last_match[:v_type] - {}.tap do |hash| - value.each do |k, v| - hash[_deserialize(k_type, k)] = _deserialize(v_type, v) - end - end - else # model - DatadogAPIClient::V2.const_get(type).build_from_hash(value) - end - end - - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - - # Returns the object in the form of hash - # @return [Hash] Returns the object in the form of hash - def to_hash - hash = {} - self.class.attribute_map.each_pair do |attr, param| - value = self.send(attr) - if value.nil? - is_nullable = self.class.openapi_nullable.include?(attr) - next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) - end - - hash[param] = _to_hash(value) - end - hash - end - - # Outputs non-array value in the form of hash - # For object, use to_hash. Otherwise, just return the value - # @param [Object] value Any valid value - # @return [Hash] Returns the value in the form of hash - def _to_hash(value) - if value.is_a?(Array) - value.compact.map { |v| _to_hash(v) } - elsif value.is_a?(Hash) - {}.tap do |hash| - value.each { |k, v| hash[k] = _to_hash(v) } - end - elsif value.respond_to? :to_hash - value.to_hash - else - value - end - end - end -end diff --git a/lib/datadog_api_client/v2/models/logs_aggregate_request_paging.rb b/lib/datadog_api_client/v2/models/logs_aggregate_request_paging.rb deleted file mode 100644 index 42b1c987bf1..00000000000 --- a/lib/datadog_api_client/v2/models/logs_aggregate_request_paging.rb +++ /dev/null @@ -1,210 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'date' - -module DatadogAPIClient::V2 - # Paging settings - class LogsAggregateRequestPaging - # The returned paging point to use to get the next results - attr_accessor :after - - # Attribute mapping from ruby-style variable name to JSON key. - def self.attribute_map - { - :'after' => :'after' - } - end - - # Attribute type mapping. - def self.openapi_types - { - :'after' => :'String' - } - end - - # List of attributes with nullable: true - def self.openapi_nullable - Set.new([ - ]) - end - - # Initializes the object - # @param [Hash] attributes Model attributes in the form of hash - def initialize(attributes = {}) - if (!attributes.is_a?(Hash)) - fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V2::LogsAggregateRequestPaging` initialize method" - end - - # check to see if the attribute exists and convert string to symbol for hash key - attributes = attributes.each_with_object({}) { |(k, v), h| - if (!self.class.attribute_map.key?(k.to_sym)) - fail ArgumentError, "`#{k}` is not a valid attribute in `DatadogAPIClient::V2::LogsAggregateRequestPaging`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect - end - h[k.to_sym] = v - } - - if attributes.key?(:'after') - self.after = attributes[:'after'] - end - end - - # Show invalid properties with the reasons. Usually used together with valid? - # @return Array for valid properties with the reasons - def list_invalid_properties - invalid_properties = Array.new - invalid_properties - end - - # Check to see if the all the properties in the model are valid - # @return true if the model is valid - def valid? - true - end - - # Checks equality by comparing each attribute. - # @param [Object] Object to be compared - def ==(o) - return true if self.equal?(o) - self.class == o.class && - after == o.after - end - - # @see the `==` method - # @param [Object] Object to be compared - def eql?(o) - self == o - end - - # Calculates hash code according to all attributes. - # @return [Integer] Hash code - def hash - [after].hash - end - - # Builds the object from hash - # @param [Hash] attributes Model attributes in the form of hash - # @return [Object] Returns the model itself - def self.build_from_hash(attributes) - new.build_from_hash(attributes) - end - - # Builds the object from hash - # @param [Hash] attributes Model attributes in the form of hash - # @return [Object] Returns the model itself - def build_from_hash(attributes) - return nil unless attributes.is_a?(Hash) - self.class.openapi_types.each_pair do |key, type| - if type =~ /\AArray<(.*)>/i - # check to ensure the input is an array given that the attribute - # is documented as an array but the input is not - if attributes[self.class.attribute_map[key]].is_a?(Array) - self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) - end - elsif !attributes[self.class.attribute_map[key]].nil? - self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) - elsif attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) - self.send("#{key}=", nil) - end - end - - self - end - - # Deserializes the data based on type - # @param string type Data type - # @param string value Value to be deserialized - # @return [Object] Deserialized data - def _deserialize(type, value) - case type.to_sym - when :DateTime - DateTime.parse(value) - when :Date - Date.parse(value) - when :String - value.to_s - when :Integer - value.to_i - when :Float - value.to_f - when :Boolean - if value.to_s =~ /\A(true|t|yes|y|1)\z/i - true - else - false - end - when :Object - # generic object (usually a Hash), return directly - value - when /\AArray<(?.+)>\z/ - inner_type = Regexp.last_match[:inner_type] - value.map { |v| _deserialize(inner_type, v) } - when /\AHash<(?.+?), (?.+)>\z/ - k_type = Regexp.last_match[:k_type] - v_type = Regexp.last_match[:v_type] - {}.tap do |hash| - value.each do |k, v| - hash[_deserialize(k_type, k)] = _deserialize(v_type, v) - end - end - else # model - DatadogAPIClient::V2.const_get(type).build_from_hash(value) - end - end - - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - - # Returns the object in the form of hash - # @return [Hash] Returns the object in the form of hash - def to_hash - hash = {} - self.class.attribute_map.each_pair do |attr, param| - value = self.send(attr) - if value.nil? - is_nullable = self.class.openapi_nullable.include?(attr) - next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) - end - - hash[param] = _to_hash(value) - end - hash - end - - # Outputs non-array value in the form of hash - # For object, use to_hash. Otherwise, just return the value - # @param [Object] value Any valid value - # @return [Hash] Returns the value in the form of hash - def _to_hash(value) - if value.is_a?(Array) - value.compact.map { |v| _to_hash(v) } - elsif value.is_a?(Hash) - {}.tap do |hash| - value.each { |k, v| hash[k] = _to_hash(v) } - end - elsif value.respond_to? :to_hash - value.to_hash - else - value - end - end - end -end diff --git a/lib/datadog_api_client/v2/models/logs_aggregate_response.rb b/lib/datadog_api_client/v2/models/logs_aggregate_response.rb deleted file mode 100644 index 91f51977eca..00000000000 --- a/lib/datadog_api_client/v2/models/logs_aggregate_response.rb +++ /dev/null @@ -1,218 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'date' - -module DatadogAPIClient::V2 - # The response object for the logs aggregate API endpoint - class LogsAggregateResponse - attr_accessor :data - - attr_accessor :meta - - # Attribute mapping from ruby-style variable name to JSON key. - def self.attribute_map - { - :'data' => :'data', - :'meta' => :'meta' - } - end - - # Attribute type mapping. - def self.openapi_types - { - :'data' => :'LogsAggregateResponseData', - :'meta' => :'LogsResponseMetadata' - } - end - - # List of attributes with nullable: true - def self.openapi_nullable - Set.new([ - ]) - end - - # Initializes the object - # @param [Hash] attributes Model attributes in the form of hash - def initialize(attributes = {}) - if (!attributes.is_a?(Hash)) - fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V2::LogsAggregateResponse` initialize method" - end - - # check to see if the attribute exists and convert string to symbol for hash key - attributes = attributes.each_with_object({}) { |(k, v), h| - if (!self.class.attribute_map.key?(k.to_sym)) - fail ArgumentError, "`#{k}` is not a valid attribute in `DatadogAPIClient::V2::LogsAggregateResponse`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect - end - h[k.to_sym] = v - } - - if attributes.key?(:'data') - self.data = attributes[:'data'] - end - - if attributes.key?(:'meta') - self.meta = attributes[:'meta'] - end - end - - # Show invalid properties with the reasons. Usually used together with valid? - # @return Array for valid properties with the reasons - def list_invalid_properties - invalid_properties = Array.new - invalid_properties - end - - # Check to see if the all the properties in the model are valid - # @return true if the model is valid - def valid? - true - end - - # Checks equality by comparing each attribute. - # @param [Object] Object to be compared - def ==(o) - return true if self.equal?(o) - self.class == o.class && - data == o.data && - meta == o.meta - end - - # @see the `==` method - # @param [Object] Object to be compared - def eql?(o) - self == o - end - - # Calculates hash code according to all attributes. - # @return [Integer] Hash code - def hash - [data, meta].hash - end - - # Builds the object from hash - # @param [Hash] attributes Model attributes in the form of hash - # @return [Object] Returns the model itself - def self.build_from_hash(attributes) - new.build_from_hash(attributes) - end - - # Builds the object from hash - # @param [Hash] attributes Model attributes in the form of hash - # @return [Object] Returns the model itself - def build_from_hash(attributes) - return nil unless attributes.is_a?(Hash) - self.class.openapi_types.each_pair do |key, type| - if type =~ /\AArray<(.*)>/i - # check to ensure the input is an array given that the attribute - # is documented as an array but the input is not - if attributes[self.class.attribute_map[key]].is_a?(Array) - self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) - end - elsif !attributes[self.class.attribute_map[key]].nil? - self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) - elsif attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) - self.send("#{key}=", nil) - end - end - - self - end - - # Deserializes the data based on type - # @param string type Data type - # @param string value Value to be deserialized - # @return [Object] Deserialized data - def _deserialize(type, value) - case type.to_sym - when :DateTime - DateTime.parse(value) - when :Date - Date.parse(value) - when :String - value.to_s - when :Integer - value.to_i - when :Float - value.to_f - when :Boolean - if value.to_s =~ /\A(true|t|yes|y|1)\z/i - true - else - false - end - when :Object - # generic object (usually a Hash), return directly - value - when /\AArray<(?.+)>\z/ - inner_type = Regexp.last_match[:inner_type] - value.map { |v| _deserialize(inner_type, v) } - when /\AHash<(?.+?), (?.+)>\z/ - k_type = Regexp.last_match[:k_type] - v_type = Regexp.last_match[:v_type] - {}.tap do |hash| - value.each do |k, v| - hash[_deserialize(k_type, k)] = _deserialize(v_type, v) - end - end - else # model - DatadogAPIClient::V2.const_get(type).build_from_hash(value) - end - end - - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - - # Returns the object in the form of hash - # @return [Hash] Returns the object in the form of hash - def to_hash - hash = {} - self.class.attribute_map.each_pair do |attr, param| - value = self.send(attr) - if value.nil? - is_nullable = self.class.openapi_nullable.include?(attr) - next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) - end - - hash[param] = _to_hash(value) - end - hash - end - - # Outputs non-array value in the form of hash - # For object, use to_hash. Otherwise, just return the value - # @param [Object] value Any valid value - # @return [Hash] Returns the value in the form of hash - def _to_hash(value) - if value.is_a?(Array) - value.compact.map { |v| _to_hash(v) } - elsif value.is_a?(Hash) - {}.tap do |hash| - value.each { |k, v| hash[k] = _to_hash(v) } - end - elsif value.respond_to? :to_hash - value.to_hash - else - value - end - end - end -end diff --git a/lib/datadog_api_client/v2/models/logs_aggregate_response_data.rb b/lib/datadog_api_client/v2/models/logs_aggregate_response_data.rb deleted file mode 100644 index 77f61391f47..00000000000 --- a/lib/datadog_api_client/v2/models/logs_aggregate_response_data.rb +++ /dev/null @@ -1,212 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'date' - -module DatadogAPIClient::V2 - # The query results - class LogsAggregateResponseData - # The list of matching buckets, one item per bucket - attr_accessor :buckets - - # Attribute mapping from ruby-style variable name to JSON key. - def self.attribute_map - { - :'buckets' => :'buckets' - } - end - - # Attribute type mapping. - def self.openapi_types - { - :'buckets' => :'Array' - } - end - - # List of attributes with nullable: true - def self.openapi_nullable - Set.new([ - ]) - end - - # Initializes the object - # @param [Hash] attributes Model attributes in the form of hash - def initialize(attributes = {}) - if (!attributes.is_a?(Hash)) - fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V2::LogsAggregateResponseData` initialize method" - end - - # check to see if the attribute exists and convert string to symbol for hash key - attributes = attributes.each_with_object({}) { |(k, v), h| - if (!self.class.attribute_map.key?(k.to_sym)) - fail ArgumentError, "`#{k}` is not a valid attribute in `DatadogAPIClient::V2::LogsAggregateResponseData`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect - end - h[k.to_sym] = v - } - - if attributes.key?(:'buckets') - if (value = attributes[:'buckets']).is_a?(Array) - self.buckets = value - end - end - end - - # Show invalid properties with the reasons. Usually used together with valid? - # @return Array for valid properties with the reasons - def list_invalid_properties - invalid_properties = Array.new - invalid_properties - end - - # Check to see if the all the properties in the model are valid - # @return true if the model is valid - def valid? - true - end - - # Checks equality by comparing each attribute. - # @param [Object] Object to be compared - def ==(o) - return true if self.equal?(o) - self.class == o.class && - buckets == o.buckets - end - - # @see the `==` method - # @param [Object] Object to be compared - def eql?(o) - self == o - end - - # Calculates hash code according to all attributes. - # @return [Integer] Hash code - def hash - [buckets].hash - end - - # Builds the object from hash - # @param [Hash] attributes Model attributes in the form of hash - # @return [Object] Returns the model itself - def self.build_from_hash(attributes) - new.build_from_hash(attributes) - end - - # Builds the object from hash - # @param [Hash] attributes Model attributes in the form of hash - # @return [Object] Returns the model itself - def build_from_hash(attributes) - return nil unless attributes.is_a?(Hash) - self.class.openapi_types.each_pair do |key, type| - if type =~ /\AArray<(.*)>/i - # check to ensure the input is an array given that the attribute - # is documented as an array but the input is not - if attributes[self.class.attribute_map[key]].is_a?(Array) - self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) - end - elsif !attributes[self.class.attribute_map[key]].nil? - self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) - elsif attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) - self.send("#{key}=", nil) - end - end - - self - end - - # Deserializes the data based on type - # @param string type Data type - # @param string value Value to be deserialized - # @return [Object] Deserialized data - def _deserialize(type, value) - case type.to_sym - when :DateTime - DateTime.parse(value) - when :Date - Date.parse(value) - when :String - value.to_s - when :Integer - value.to_i - when :Float - value.to_f - when :Boolean - if value.to_s =~ /\A(true|t|yes|y|1)\z/i - true - else - false - end - when :Object - # generic object (usually a Hash), return directly - value - when /\AArray<(?.+)>\z/ - inner_type = Regexp.last_match[:inner_type] - value.map { |v| _deserialize(inner_type, v) } - when /\AHash<(?.+?), (?.+)>\z/ - k_type = Regexp.last_match[:k_type] - v_type = Regexp.last_match[:v_type] - {}.tap do |hash| - value.each do |k, v| - hash[_deserialize(k_type, k)] = _deserialize(v_type, v) - end - end - else # model - DatadogAPIClient::V2.const_get(type).build_from_hash(value) - end - end - - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - - # Returns the object in the form of hash - # @return [Hash] Returns the object in the form of hash - def to_hash - hash = {} - self.class.attribute_map.each_pair do |attr, param| - value = self.send(attr) - if value.nil? - is_nullable = self.class.openapi_nullable.include?(attr) - next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) - end - - hash[param] = _to_hash(value) - end - hash - end - - # Outputs non-array value in the form of hash - # For object, use to_hash. Otherwise, just return the value - # @param [Object] value Any valid value - # @return [Hash] Returns the value in the form of hash - def _to_hash(value) - if value.is_a?(Array) - value.compact.map { |v| _to_hash(v) } - elsif value.is_a?(Hash) - {}.tap do |hash| - value.each { |k, v| hash[k] = _to_hash(v) } - end - elsif value.respond_to? :to_hash - value.to_hash - else - value - end - end - end -end diff --git a/lib/datadog_api_client/v2/models/logs_aggregate_response_status.rb b/lib/datadog_api_client/v2/models/logs_aggregate_response_status.rb deleted file mode 100644 index f661859815a..00000000000 --- a/lib/datadog_api_client/v2/models/logs_aggregate_response_status.rb +++ /dev/null @@ -1,36 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'date' - -module DatadogAPIClient::V2 - class LogsAggregateResponseStatus - DONE = "done".freeze - TIMEOUT = "timeout".freeze - - # Builds the enum from string - # @param [String] The enum value in the form of the string - # @return [String] The enum value - def self.build_from_hash(value) - new.build_from_hash(value) - end - - # Builds the enum from string - # @param [String] The enum value in the form of the string - # @return [String] The enum value - def build_from_hash(value) - constantValues = LogsAggregateResponseStatus.constants.select { |c| LogsAggregateResponseStatus::const_get(c) == value } - raise "Invalid ENUM value #{value} for class #LogsAggregateResponseStatus" if constantValues.empty? - value - end - end -end diff --git a/lib/datadog_api_client/v2/models/logs_aggregate_sort.rb b/lib/datadog_api_client/v2/models/logs_aggregate_sort.rb deleted file mode 100644 index dc36b0cd4d3..00000000000 --- a/lib/datadog_api_client/v2/models/logs_aggregate_sort.rb +++ /dev/null @@ -1,237 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'date' - -module DatadogAPIClient::V2 - # A sort rule - class LogsAggregateSort - attr_accessor :aggregation - - # The metric to sort by (only used for type=metric) - attr_accessor :metric - - attr_accessor :order - - attr_accessor :type - - # Attribute mapping from ruby-style variable name to JSON key. - def self.attribute_map - { - :'aggregation' => :'aggregation', - :'metric' => :'metric', - :'order' => :'order', - :'type' => :'type' - } - end - - # Attribute type mapping. - def self.openapi_types - { - :'aggregation' => :'LogsAggregationFunction', - :'metric' => :'String', - :'order' => :'LogsSortOrder', - :'type' => :'LogsAggregateSortType' - } - end - - # List of attributes with nullable: true - def self.openapi_nullable - Set.new([ - ]) - end - - # Initializes the object - # @param [Hash] attributes Model attributes in the form of hash - def initialize(attributes = {}) - if (!attributes.is_a?(Hash)) - fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V2::LogsAggregateSort` initialize method" - end - - # check to see if the attribute exists and convert string to symbol for hash key - attributes = attributes.each_with_object({}) { |(k, v), h| - if (!self.class.attribute_map.key?(k.to_sym)) - fail ArgumentError, "`#{k}` is not a valid attribute in `DatadogAPIClient::V2::LogsAggregateSort`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect - end - h[k.to_sym] = v - } - - if attributes.key?(:'aggregation') - self.aggregation = attributes[:'aggregation'] - end - - if attributes.key?(:'metric') - self.metric = attributes[:'metric'] - end - - if attributes.key?(:'order') - self.order = attributes[:'order'] - end - - if attributes.key?(:'type') - self.type = attributes[:'type'] - end - end - - # Show invalid properties with the reasons. Usually used together with valid? - # @return Array for valid properties with the reasons - def list_invalid_properties - invalid_properties = Array.new - invalid_properties - end - - # Check to see if the all the properties in the model are valid - # @return true if the model is valid - def valid? - true - end - - # Checks equality by comparing each attribute. - # @param [Object] Object to be compared - def ==(o) - return true if self.equal?(o) - self.class == o.class && - aggregation == o.aggregation && - metric == o.metric && - order == o.order && - type == o.type - end - - # @see the `==` method - # @param [Object] Object to be compared - def eql?(o) - self == o - end - - # Calculates hash code according to all attributes. - # @return [Integer] Hash code - def hash - [aggregation, metric, order, type].hash - end - - # Builds the object from hash - # @param [Hash] attributes Model attributes in the form of hash - # @return [Object] Returns the model itself - def self.build_from_hash(attributes) - new.build_from_hash(attributes) - end - - # Builds the object from hash - # @param [Hash] attributes Model attributes in the form of hash - # @return [Object] Returns the model itself - def build_from_hash(attributes) - return nil unless attributes.is_a?(Hash) - self.class.openapi_types.each_pair do |key, type| - if type =~ /\AArray<(.*)>/i - # check to ensure the input is an array given that the attribute - # is documented as an array but the input is not - if attributes[self.class.attribute_map[key]].is_a?(Array) - self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) - end - elsif !attributes[self.class.attribute_map[key]].nil? - self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) - elsif attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) - self.send("#{key}=", nil) - end - end - - self - end - - # Deserializes the data based on type - # @param string type Data type - # @param string value Value to be deserialized - # @return [Object] Deserialized data - def _deserialize(type, value) - case type.to_sym - when :DateTime - DateTime.parse(value) - when :Date - Date.parse(value) - when :String - value.to_s - when :Integer - value.to_i - when :Float - value.to_f - when :Boolean - if value.to_s =~ /\A(true|t|yes|y|1)\z/i - true - else - false - end - when :Object - # generic object (usually a Hash), return directly - value - when /\AArray<(?.+)>\z/ - inner_type = Regexp.last_match[:inner_type] - value.map { |v| _deserialize(inner_type, v) } - when /\AHash<(?.+?), (?.+)>\z/ - k_type = Regexp.last_match[:k_type] - v_type = Regexp.last_match[:v_type] - {}.tap do |hash| - value.each do |k, v| - hash[_deserialize(k_type, k)] = _deserialize(v_type, v) - end - end - else # model - DatadogAPIClient::V2.const_get(type).build_from_hash(value) - end - end - - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - - # Returns the object in the form of hash - # @return [Hash] Returns the object in the form of hash - def to_hash - hash = {} - self.class.attribute_map.each_pair do |attr, param| - value = self.send(attr) - if value.nil? - is_nullable = self.class.openapi_nullable.include?(attr) - next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) - end - - hash[param] = _to_hash(value) - end - hash - end - - # Outputs non-array value in the form of hash - # For object, use to_hash. Otherwise, just return the value - # @param [Object] value Any valid value - # @return [Hash] Returns the value in the form of hash - def _to_hash(value) - if value.is_a?(Array) - value.compact.map { |v| _to_hash(v) } - elsif value.is_a?(Hash) - {}.tap do |hash| - value.each { |k, v| hash[k] = _to_hash(v) } - end - elsif value.respond_to? :to_hash - value.to_hash - else - value - end - end - end -end diff --git a/lib/datadog_api_client/v2/models/logs_aggregate_sort_type.rb b/lib/datadog_api_client/v2/models/logs_aggregate_sort_type.rb deleted file mode 100644 index c77413e374c..00000000000 --- a/lib/datadog_api_client/v2/models/logs_aggregate_sort_type.rb +++ /dev/null @@ -1,36 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'date' - -module DatadogAPIClient::V2 - class LogsAggregateSortType - ALPHABETICAL = "alphabetical".freeze - MEASURE = "measure".freeze - - # Builds the enum from string - # @param [String] The enum value in the form of the string - # @return [String] The enum value - def self.build_from_hash(value) - new.build_from_hash(value) - end - - # Builds the enum from string - # @param [String] The enum value in the form of the string - # @return [String] The enum value - def build_from_hash(value) - constantValues = LogsAggregateSortType.constants.select { |c| LogsAggregateSortType::const_get(c) == value } - raise "Invalid ENUM value #{value} for class #LogsAggregateSortType" if constantValues.empty? - value - end - end -end diff --git a/lib/datadog_api_client/v2/models/logs_aggregation_function.rb b/lib/datadog_api_client/v2/models/logs_aggregation_function.rb deleted file mode 100644 index 88e17e9ceb6..00000000000 --- a/lib/datadog_api_client/v2/models/logs_aggregation_function.rb +++ /dev/null @@ -1,45 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'date' - -module DatadogAPIClient::V2 - class LogsAggregationFunction - COUNT = "count".freeze - CARDINALITY = "cardinality".freeze - PERCENTILE_75 = "pc75".freeze - PERCENTILE_90 = "pc90".freeze - PERCENTILE_95 = "pc95".freeze - PERCENTILE_98 = "pc98".freeze - PERCENTILE_99 = "pc99".freeze - SUM = "sum".freeze - MIN = "min".freeze - MAX = "max".freeze - AVG = "avg".freeze - - # Builds the enum from string - # @param [String] The enum value in the form of the string - # @return [String] The enum value - def self.build_from_hash(value) - new.build_from_hash(value) - end - - # Builds the enum from string - # @param [String] The enum value in the form of the string - # @return [String] The enum value - def build_from_hash(value) - constantValues = LogsAggregationFunction.constants.select { |c| LogsAggregationFunction::const_get(c) == value } - raise "Invalid ENUM value #{value} for class #LogsAggregationFunction" if constantValues.empty? - value - end - end -end diff --git a/lib/datadog_api_client/v2/models/logs_compute.rb b/lib/datadog_api_client/v2/models/logs_compute.rb deleted file mode 100644 index 34a1ab91005..00000000000 --- a/lib/datadog_api_client/v2/models/logs_compute.rb +++ /dev/null @@ -1,243 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'date' - -module DatadogAPIClient::V2 - # A compute rule to compute metrics or timeseries - class LogsCompute - attr_accessor :aggregation - - # The time buckets' size (only used for type=timeseries) Defaults to a resolution of 150 points - attr_accessor :interval - - # The metric to use - attr_accessor :metric - - attr_accessor :type - - # Attribute mapping from ruby-style variable name to JSON key. - def self.attribute_map - { - :'aggregation' => :'aggregation', - :'interval' => :'interval', - :'metric' => :'metric', - :'type' => :'type' - } - end - - # Attribute type mapping. - def self.openapi_types - { - :'aggregation' => :'LogsAggregationFunction', - :'interval' => :'String', - :'metric' => :'String', - :'type' => :'LogsComputeType' - } - end - - # List of attributes with nullable: true - def self.openapi_nullable - Set.new([ - ]) - end - - # Initializes the object - # @param [Hash] attributes Model attributes in the form of hash - def initialize(attributes = {}) - if (!attributes.is_a?(Hash)) - fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V2::LogsCompute` initialize method" - end - - # check to see if the attribute exists and convert string to symbol for hash key - attributes = attributes.each_with_object({}) { |(k, v), h| - if (!self.class.attribute_map.key?(k.to_sym)) - fail ArgumentError, "`#{k}` is not a valid attribute in `DatadogAPIClient::V2::LogsCompute`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect - end - h[k.to_sym] = v - } - - if attributes.key?(:'aggregation') - self.aggregation = attributes[:'aggregation'] - end - - if attributes.key?(:'interval') - self.interval = attributes[:'interval'] - end - - if attributes.key?(:'metric') - self.metric = attributes[:'metric'] - end - - if attributes.key?(:'type') - self.type = attributes[:'type'] - end - end - - # Show invalid properties with the reasons. Usually used together with valid? - # @return Array for valid properties with the reasons - def list_invalid_properties - invalid_properties = Array.new - if @aggregation.nil? - invalid_properties.push('invalid value for "aggregation", aggregation cannot be nil.') - end - - invalid_properties - end - - # Check to see if the all the properties in the model are valid - # @return true if the model is valid - def valid? - return false if @aggregation.nil? - true - end - - # Checks equality by comparing each attribute. - # @param [Object] Object to be compared - def ==(o) - return true if self.equal?(o) - self.class == o.class && - aggregation == o.aggregation && - interval == o.interval && - metric == o.metric && - type == o.type - end - - # @see the `==` method - # @param [Object] Object to be compared - def eql?(o) - self == o - end - - # Calculates hash code according to all attributes. - # @return [Integer] Hash code - def hash - [aggregation, interval, metric, type].hash - end - - # Builds the object from hash - # @param [Hash] attributes Model attributes in the form of hash - # @return [Object] Returns the model itself - def self.build_from_hash(attributes) - new.build_from_hash(attributes) - end - - # Builds the object from hash - # @param [Hash] attributes Model attributes in the form of hash - # @return [Object] Returns the model itself - def build_from_hash(attributes) - return nil unless attributes.is_a?(Hash) - self.class.openapi_types.each_pair do |key, type| - if type =~ /\AArray<(.*)>/i - # check to ensure the input is an array given that the attribute - # is documented as an array but the input is not - if attributes[self.class.attribute_map[key]].is_a?(Array) - self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) - end - elsif !attributes[self.class.attribute_map[key]].nil? - self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) - elsif attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) - self.send("#{key}=", nil) - end - end - - self - end - - # Deserializes the data based on type - # @param string type Data type - # @param string value Value to be deserialized - # @return [Object] Deserialized data - def _deserialize(type, value) - case type.to_sym - when :DateTime - DateTime.parse(value) - when :Date - Date.parse(value) - when :String - value.to_s - when :Integer - value.to_i - when :Float - value.to_f - when :Boolean - if value.to_s =~ /\A(true|t|yes|y|1)\z/i - true - else - false - end - when :Object - # generic object (usually a Hash), return directly - value - when /\AArray<(?.+)>\z/ - inner_type = Regexp.last_match[:inner_type] - value.map { |v| _deserialize(inner_type, v) } - when /\AHash<(?.+?), (?.+)>\z/ - k_type = Regexp.last_match[:k_type] - v_type = Regexp.last_match[:v_type] - {}.tap do |hash| - value.each do |k, v| - hash[_deserialize(k_type, k)] = _deserialize(v_type, v) - end - end - else # model - DatadogAPIClient::V2.const_get(type).build_from_hash(value) - end - end - - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - - # Returns the object in the form of hash - # @return [Hash] Returns the object in the form of hash - def to_hash - hash = {} - self.class.attribute_map.each_pair do |attr, param| - value = self.send(attr) - if value.nil? - is_nullable = self.class.openapi_nullable.include?(attr) - next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) - end - - hash[param] = _to_hash(value) - end - hash - end - - # Outputs non-array value in the form of hash - # For object, use to_hash. Otherwise, just return the value - # @param [Object] value Any valid value - # @return [Hash] Returns the value in the form of hash - def _to_hash(value) - if value.is_a?(Array) - value.compact.map { |v| _to_hash(v) } - elsif value.is_a?(Hash) - {}.tap do |hash| - value.each { |k, v| hash[k] = _to_hash(v) } - end - elsif value.respond_to? :to_hash - value.to_hash - else - value - end - end - end -end diff --git a/lib/datadog_api_client/v2/models/logs_compute_type.rb b/lib/datadog_api_client/v2/models/logs_compute_type.rb deleted file mode 100644 index 33b536837e1..00000000000 --- a/lib/datadog_api_client/v2/models/logs_compute_type.rb +++ /dev/null @@ -1,36 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'date' - -module DatadogAPIClient::V2 - class LogsComputeType - TIMESERIES = "timeseries".freeze - TOTAL = "total".freeze - - # Builds the enum from string - # @param [String] The enum value in the form of the string - # @return [String] The enum value - def self.build_from_hash(value) - new.build_from_hash(value) - end - - # Builds the enum from string - # @param [String] The enum value in the form of the string - # @return [String] The enum value - def build_from_hash(value) - constantValues = LogsComputeType.constants.select { |c| LogsComputeType::const_get(c) == value } - raise "Invalid ENUM value #{value} for class #LogsComputeType" if constantValues.empty? - value - end - end -end diff --git a/lib/datadog_api_client/v2/models/logs_group_by.rb b/lib/datadog_api_client/v2/models/logs_group_by.rb deleted file mode 100644 index 22251b24b43..00000000000 --- a/lib/datadog_api_client/v2/models/logs_group_by.rb +++ /dev/null @@ -1,263 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'date' - -module DatadogAPIClient::V2 - # A group by rule - class LogsGroupBy - # The name of the facet to use (required) - attr_accessor :facet - - attr_accessor :histogram - - # The maximum buckets to return for this group by - attr_accessor :limit - - attr_accessor :missing - - attr_accessor :sort - - attr_accessor :total - - # Attribute mapping from ruby-style variable name to JSON key. - def self.attribute_map - { - :'facet' => :'facet', - :'histogram' => :'histogram', - :'limit' => :'limit', - :'missing' => :'missing', - :'sort' => :'sort', - :'total' => :'total' - } - end - - # Attribute type mapping. - def self.openapi_types - { - :'facet' => :'String', - :'histogram' => :'LogsGroupByHistogram', - :'limit' => :'Integer', - :'missing' => :'LogsGroupByMissing', - :'sort' => :'LogsAggregateSort', - :'total' => :'LogsGroupByTotal' - } - end - - # List of attributes with nullable: true - def self.openapi_nullable - Set.new([ - ]) - end - - # Initializes the object - # @param [Hash] attributes Model attributes in the form of hash - def initialize(attributes = {}) - if (!attributes.is_a?(Hash)) - fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V2::LogsGroupBy` initialize method" - end - - # check to see if the attribute exists and convert string to symbol for hash key - attributes = attributes.each_with_object({}) { |(k, v), h| - if (!self.class.attribute_map.key?(k.to_sym)) - fail ArgumentError, "`#{k}` is not a valid attribute in `DatadogAPIClient::V2::LogsGroupBy`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect - end - h[k.to_sym] = v - } - - if attributes.key?(:'facet') - self.facet = attributes[:'facet'] - end - - if attributes.key?(:'histogram') - self.histogram = attributes[:'histogram'] - end - - if attributes.key?(:'limit') - self.limit = attributes[:'limit'] - else - self.limit = 10 - end - - if attributes.key?(:'missing') - self.missing = attributes[:'missing'] - end - - if attributes.key?(:'sort') - self.sort = attributes[:'sort'] - end - - if attributes.key?(:'total') - self.total = attributes[:'total'] - end - end - - # Show invalid properties with the reasons. Usually used together with valid? - # @return Array for valid properties with the reasons - def list_invalid_properties - invalid_properties = Array.new - if @facet.nil? - invalid_properties.push('invalid value for "facet", facet cannot be nil.') - end - - invalid_properties - end - - # Check to see if the all the properties in the model are valid - # @return true if the model is valid - def valid? - return false if @facet.nil? - true - end - - # Checks equality by comparing each attribute. - # @param [Object] Object to be compared - def ==(o) - return true if self.equal?(o) - self.class == o.class && - facet == o.facet && - histogram == o.histogram && - limit == o.limit && - missing == o.missing && - sort == o.sort && - total == o.total - end - - # @see the `==` method - # @param [Object] Object to be compared - def eql?(o) - self == o - end - - # Calculates hash code according to all attributes. - # @return [Integer] Hash code - def hash - [facet, histogram, limit, missing, sort, total].hash - end - - # Builds the object from hash - # @param [Hash] attributes Model attributes in the form of hash - # @return [Object] Returns the model itself - def self.build_from_hash(attributes) - new.build_from_hash(attributes) - end - - # Builds the object from hash - # @param [Hash] attributes Model attributes in the form of hash - # @return [Object] Returns the model itself - def build_from_hash(attributes) - return nil unless attributes.is_a?(Hash) - self.class.openapi_types.each_pair do |key, type| - if type =~ /\AArray<(.*)>/i - # check to ensure the input is an array given that the attribute - # is documented as an array but the input is not - if attributes[self.class.attribute_map[key]].is_a?(Array) - self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) - end - elsif !attributes[self.class.attribute_map[key]].nil? - self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) - elsif attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) - self.send("#{key}=", nil) - end - end - - self - end - - # Deserializes the data based on type - # @param string type Data type - # @param string value Value to be deserialized - # @return [Object] Deserialized data - def _deserialize(type, value) - case type.to_sym - when :DateTime - DateTime.parse(value) - when :Date - Date.parse(value) - when :String - value.to_s - when :Integer - value.to_i - when :Float - value.to_f - when :Boolean - if value.to_s =~ /\A(true|t|yes|y|1)\z/i - true - else - false - end - when :Object - # generic object (usually a Hash), return directly - value - when /\AArray<(?.+)>\z/ - inner_type = Regexp.last_match[:inner_type] - value.map { |v| _deserialize(inner_type, v) } - when /\AHash<(?.+?), (?.+)>\z/ - k_type = Regexp.last_match[:k_type] - v_type = Regexp.last_match[:v_type] - {}.tap do |hash| - value.each do |k, v| - hash[_deserialize(k_type, k)] = _deserialize(v_type, v) - end - end - else # model - DatadogAPIClient::V2.const_get(type).build_from_hash(value) - end - end - - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - - # Returns the object in the form of hash - # @return [Hash] Returns the object in the form of hash - def to_hash - hash = {} - self.class.attribute_map.each_pair do |attr, param| - value = self.send(attr) - if value.nil? - is_nullable = self.class.openapi_nullable.include?(attr) - next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) - end - - hash[param] = _to_hash(value) - end - hash - end - - # Outputs non-array value in the form of hash - # For object, use to_hash. Otherwise, just return the value - # @param [Object] value Any valid value - # @return [Hash] Returns the value in the form of hash - def _to_hash(value) - if value.is_a?(Array) - value.compact.map { |v| _to_hash(v) } - elsif value.is_a?(Hash) - {}.tap do |hash| - value.each { |k, v| hash[k] = _to_hash(v) } - end - elsif value.respond_to? :to_hash - value.to_hash - else - value - end - end - end -end diff --git a/lib/datadog_api_client/v2/models/logs_group_by_histogram.rb b/lib/datadog_api_client/v2/models/logs_group_by_histogram.rb deleted file mode 100644 index 1bb341b93a4..00000000000 --- a/lib/datadog_api_client/v2/models/logs_group_by_histogram.rb +++ /dev/null @@ -1,245 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'date' - -module DatadogAPIClient::V2 - # Used to perform a histogram computation (only for measure facets). Note: At most 100 buckets are allowed, the number of buckets is (max - min)/interval. - class LogsGroupByHistogram - # The bin size of the histogram buckets - attr_accessor :interval - - # The maximum value for the measure used in the histogram (values greater than this one are filtered out) - attr_accessor :max - - # The minimum value for the measure used in the histogram (values smaller than this one are filtered out) - attr_accessor :min - - # Attribute mapping from ruby-style variable name to JSON key. - def self.attribute_map - { - :'interval' => :'interval', - :'max' => :'max', - :'min' => :'min' - } - end - - # Attribute type mapping. - def self.openapi_types - { - :'interval' => :'Float', - :'max' => :'Float', - :'min' => :'Float' - } - end - - # List of attributes with nullable: true - def self.openapi_nullable - Set.new([ - ]) - end - - # Initializes the object - # @param [Hash] attributes Model attributes in the form of hash - def initialize(attributes = {}) - if (!attributes.is_a?(Hash)) - fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V2::LogsGroupByHistogram` initialize method" - end - - # check to see if the attribute exists and convert string to symbol for hash key - attributes = attributes.each_with_object({}) { |(k, v), h| - if (!self.class.attribute_map.key?(k.to_sym)) - fail ArgumentError, "`#{k}` is not a valid attribute in `DatadogAPIClient::V2::LogsGroupByHistogram`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect - end - h[k.to_sym] = v - } - - if attributes.key?(:'interval') - self.interval = attributes[:'interval'] - end - - if attributes.key?(:'max') - self.max = attributes[:'max'] - end - - if attributes.key?(:'min') - self.min = attributes[:'min'] - end - end - - # Show invalid properties with the reasons. Usually used together with valid? - # @return Array for valid properties with the reasons - def list_invalid_properties - invalid_properties = Array.new - if @interval.nil? - invalid_properties.push('invalid value for "interval", interval cannot be nil.') - end - - if @max.nil? - invalid_properties.push('invalid value for "max", max cannot be nil.') - end - - if @min.nil? - invalid_properties.push('invalid value for "min", min cannot be nil.') - end - - invalid_properties - end - - # Check to see if the all the properties in the model are valid - # @return true if the model is valid - def valid? - return false if @interval.nil? - return false if @max.nil? - return false if @min.nil? - true - end - - # Checks equality by comparing each attribute. - # @param [Object] Object to be compared - def ==(o) - return true if self.equal?(o) - self.class == o.class && - interval == o.interval && - max == o.max && - min == o.min - end - - # @see the `==` method - # @param [Object] Object to be compared - def eql?(o) - self == o - end - - # Calculates hash code according to all attributes. - # @return [Integer] Hash code - def hash - [interval, max, min].hash - end - - # Builds the object from hash - # @param [Hash] attributes Model attributes in the form of hash - # @return [Object] Returns the model itself - def self.build_from_hash(attributes) - new.build_from_hash(attributes) - end - - # Builds the object from hash - # @param [Hash] attributes Model attributes in the form of hash - # @return [Object] Returns the model itself - def build_from_hash(attributes) - return nil unless attributes.is_a?(Hash) - self.class.openapi_types.each_pair do |key, type| - if type =~ /\AArray<(.*)>/i - # check to ensure the input is an array given that the attribute - # is documented as an array but the input is not - if attributes[self.class.attribute_map[key]].is_a?(Array) - self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) - end - elsif !attributes[self.class.attribute_map[key]].nil? - self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) - elsif attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) - self.send("#{key}=", nil) - end - end - - self - end - - # Deserializes the data based on type - # @param string type Data type - # @param string value Value to be deserialized - # @return [Object] Deserialized data - def _deserialize(type, value) - case type.to_sym - when :DateTime - DateTime.parse(value) - when :Date - Date.parse(value) - when :String - value.to_s - when :Integer - value.to_i - when :Float - value.to_f - when :Boolean - if value.to_s =~ /\A(true|t|yes|y|1)\z/i - true - else - false - end - when :Object - # generic object (usually a Hash), return directly - value - when /\AArray<(?.+)>\z/ - inner_type = Regexp.last_match[:inner_type] - value.map { |v| _deserialize(inner_type, v) } - when /\AHash<(?.+?), (?.+)>\z/ - k_type = Regexp.last_match[:k_type] - v_type = Regexp.last_match[:v_type] - {}.tap do |hash| - value.each do |k, v| - hash[_deserialize(k_type, k)] = _deserialize(v_type, v) - end - end - else # model - DatadogAPIClient::V2.const_get(type).build_from_hash(value) - end - end - - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - - # Returns the object in the form of hash - # @return [Hash] Returns the object in the form of hash - def to_hash - hash = {} - self.class.attribute_map.each_pair do |attr, param| - value = self.send(attr) - if value.nil? - is_nullable = self.class.openapi_nullable.include?(attr) - next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) - end - - hash[param] = _to_hash(value) - end - hash - end - - # Outputs non-array value in the form of hash - # For object, use to_hash. Otherwise, just return the value - # @param [Object] value Any valid value - # @return [Hash] Returns the value in the form of hash - def _to_hash(value) - if value.is_a?(Array) - value.compact.map { |v| _to_hash(v) } - elsif value.is_a?(Hash) - {}.tap do |hash| - value.each { |k, v| hash[k] = _to_hash(v) } - end - elsif value.respond_to? :to_hash - value.to_hash - else - value - end - end - end -end diff --git a/lib/datadog_api_client/v2/models/logs_group_by_missing.rb b/lib/datadog_api_client/v2/models/logs_group_by_missing.rb deleted file mode 100644 index 9928a489e10..00000000000 --- a/lib/datadog_api_client/v2/models/logs_group_by_missing.rb +++ /dev/null @@ -1,224 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'date' - -module DatadogAPIClient::V2 - # The value to use for logs that don't have the facet used to group by - class LogsGroupByMissing - # Attribute mapping from ruby-style variable name to JSON key. - def self.attribute_map - { - } - end - - # Attribute type mapping. - def self.openapi_types - { - } - end - - # List of attributes with nullable: true - def self.openapi_nullable - Set.new([ - ]) - end - - # List of class defined in oneOf (OpenAPI v3) - def self.openapi_one_of - [ - :'Float', - :'String' - ] - end - - # Initializes the object - # @param [Hash] attributes Model attributes in the form of hash - def initialize(attributes = {}) - if (!attributes.is_a?(Hash)) - fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V2::LogsGroupByMissing` initialize method" - end - - # check to see if the attribute exists and convert string to symbol for hash key - attributes = attributes.each_with_object({}) { |(k, v), h| - if (!self.class.attribute_map.key?(k.to_sym)) - fail ArgumentError, "`#{k}` is not a valid attribute in `DatadogAPIClient::V2::LogsGroupByMissing`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect - end - h[k.to_sym] = v - } - end - - # Show invalid properties with the reasons. Usually used together with valid? - # @return Array for valid properties with the reasons - def list_invalid_properties - invalid_properties = Array.new - invalid_properties - end - - # Check to see if the all the properties in the model are valid - # @return true if the model is valid - def valid? - _one_of_found = false - self.class.openapi_one_of.each do |_class| - _one_of = DatadogAPIClient::V2.const_get(_class).build_from_hash(self.to_hash) - if _one_of.valid? - if _one_of_found - return false - else - _one_of_found = true - end - end - end - - if !_one_of_found - return false - end - - true - end - - # Checks equality by comparing each attribute. - # @param [Object] Object to be compared - def ==(o) - return true if self.equal?(o) - self.class == o.class - end - - # @see the `==` method - # @param [Object] Object to be compared - def eql?(o) - self == o - end - - # Calculates hash code according to all attributes. - # @return [Integer] Hash code - def hash - [].hash - end - - # Builds the object from hash - # @param [Hash] attributes Model attributes in the form of hash - # @return [Object] Returns the model itself - def self.build_from_hash(attributes) - new.build_from_hash(attributes) - end - - # Builds the object from hash - # @param [Hash] attributes Model attributes in the form of hash - # @return [Object] Returns the model itself - def build_from_hash(attributes) - return nil unless attributes.is_a?(Hash) - self.class.openapi_types.each_pair do |key, type| - if type =~ /\AArray<(.*)>/i - # check to ensure the input is an array given that the attribute - # is documented as an array but the input is not - if attributes[self.class.attribute_map[key]].is_a?(Array) - self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) - end - elsif !attributes[self.class.attribute_map[key]].nil? - self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) - elsif attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) - self.send("#{key}=", nil) - end - end - - self - end - - # Deserializes the data based on type - # @param string type Data type - # @param string value Value to be deserialized - # @return [Object] Deserialized data - def _deserialize(type, value) - case type.to_sym - when :DateTime - DateTime.parse(value) - when :Date - Date.parse(value) - when :String - value.to_s - when :Integer - value.to_i - when :Float - value.to_f - when :Boolean - if value.to_s =~ /\A(true|t|yes|y|1)\z/i - true - else - false - end - when :Object - # generic object (usually a Hash), return directly - value - when /\AArray<(?.+)>\z/ - inner_type = Regexp.last_match[:inner_type] - value.map { |v| _deserialize(inner_type, v) } - when /\AHash<(?.+?), (?.+)>\z/ - k_type = Regexp.last_match[:k_type] - v_type = Regexp.last_match[:v_type] - {}.tap do |hash| - value.each do |k, v| - hash[_deserialize(k_type, k)] = _deserialize(v_type, v) - end - end - else # model - DatadogAPIClient::V2.const_get(type).build_from_hash(value) - end - end - - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - - # Returns the object in the form of hash - # @return [Hash] Returns the object in the form of hash - def to_hash - hash = {} - self.class.attribute_map.each_pair do |attr, param| - value = self.send(attr) - if value.nil? - is_nullable = self.class.openapi_nullable.include?(attr) - next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) - end - - hash[param] = _to_hash(value) - end - hash - end - - # Outputs non-array value in the form of hash - # For object, use to_hash. Otherwise, just return the value - # @param [Object] value Any valid value - # @return [Hash] Returns the value in the form of hash - def _to_hash(value) - if value.is_a?(Array) - value.compact.map { |v| _to_hash(v) } - elsif value.is_a?(Hash) - {}.tap do |hash| - value.each { |k, v| hash[k] = _to_hash(v) } - end - elsif value.respond_to? :to_hash - value.to_hash - else - value - end - end - end -end diff --git a/lib/datadog_api_client/v2/models/logs_group_by_total.rb b/lib/datadog_api_client/v2/models/logs_group_by_total.rb deleted file mode 100644 index 2a3b50d16d4..00000000000 --- a/lib/datadog_api_client/v2/models/logs_group_by_total.rb +++ /dev/null @@ -1,225 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'date' - -module DatadogAPIClient::V2 - # A resulting object to put the given computes in over all the matching records. - class LogsGroupByTotal - # Attribute mapping from ruby-style variable name to JSON key. - def self.attribute_map - { - } - end - - # Attribute type mapping. - def self.openapi_types - { - } - end - - # List of attributes with nullable: true - def self.openapi_nullable - Set.new([ - ]) - end - - # List of class defined in oneOf (OpenAPI v3) - def self.openapi_one_of - [ - :'Boolean', - :'Float', - :'String' - ] - end - - # Initializes the object - # @param [Hash] attributes Model attributes in the form of hash - def initialize(attributes = {}) - if (!attributes.is_a?(Hash)) - fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V2::LogsGroupByTotal` initialize method" - end - - # check to see if the attribute exists and convert string to symbol for hash key - attributes = attributes.each_with_object({}) { |(k, v), h| - if (!self.class.attribute_map.key?(k.to_sym)) - fail ArgumentError, "`#{k}` is not a valid attribute in `DatadogAPIClient::V2::LogsGroupByTotal`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect - end - h[k.to_sym] = v - } - end - - # Show invalid properties with the reasons. Usually used together with valid? - # @return Array for valid properties with the reasons - def list_invalid_properties - invalid_properties = Array.new - invalid_properties - end - - # Check to see if the all the properties in the model are valid - # @return true if the model is valid - def valid? - _one_of_found = false - self.class.openapi_one_of.each do |_class| - _one_of = DatadogAPIClient::V2.const_get(_class).build_from_hash(self.to_hash) - if _one_of.valid? - if _one_of_found - return false - else - _one_of_found = true - end - end - end - - if !_one_of_found - return false - end - - true - end - - # Checks equality by comparing each attribute. - # @param [Object] Object to be compared - def ==(o) - return true if self.equal?(o) - self.class == o.class - end - - # @see the `==` method - # @param [Object] Object to be compared - def eql?(o) - self == o - end - - # Calculates hash code according to all attributes. - # @return [Integer] Hash code - def hash - [].hash - end - - # Builds the object from hash - # @param [Hash] attributes Model attributes in the form of hash - # @return [Object] Returns the model itself - def self.build_from_hash(attributes) - new.build_from_hash(attributes) - end - - # Builds the object from hash - # @param [Hash] attributes Model attributes in the form of hash - # @return [Object] Returns the model itself - def build_from_hash(attributes) - return nil unless attributes.is_a?(Hash) - self.class.openapi_types.each_pair do |key, type| - if type =~ /\AArray<(.*)>/i - # check to ensure the input is an array given that the attribute - # is documented as an array but the input is not - if attributes[self.class.attribute_map[key]].is_a?(Array) - self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) - end - elsif !attributes[self.class.attribute_map[key]].nil? - self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) - elsif attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) - self.send("#{key}=", nil) - end - end - - self - end - - # Deserializes the data based on type - # @param string type Data type - # @param string value Value to be deserialized - # @return [Object] Deserialized data - def _deserialize(type, value) - case type.to_sym - when :DateTime - DateTime.parse(value) - when :Date - Date.parse(value) - when :String - value.to_s - when :Integer - value.to_i - when :Float - value.to_f - when :Boolean - if value.to_s =~ /\A(true|t|yes|y|1)\z/i - true - else - false - end - when :Object - # generic object (usually a Hash), return directly - value - when /\AArray<(?.+)>\z/ - inner_type = Regexp.last_match[:inner_type] - value.map { |v| _deserialize(inner_type, v) } - when /\AHash<(?.+?), (?.+)>\z/ - k_type = Regexp.last_match[:k_type] - v_type = Regexp.last_match[:v_type] - {}.tap do |hash| - value.each do |k, v| - hash[_deserialize(k_type, k)] = _deserialize(v_type, v) - end - end - else # model - DatadogAPIClient::V2.const_get(type).build_from_hash(value) - end - end - - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - - # Returns the object in the form of hash - # @return [Hash] Returns the object in the form of hash - def to_hash - hash = {} - self.class.attribute_map.each_pair do |attr, param| - value = self.send(attr) - if value.nil? - is_nullable = self.class.openapi_nullable.include?(attr) - next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) - end - - hash[param] = _to_hash(value) - end - hash - end - - # Outputs non-array value in the form of hash - # For object, use to_hash. Otherwise, just return the value - # @param [Object] value Any valid value - # @return [Hash] Returns the value in the form of hash - def _to_hash(value) - if value.is_a?(Array) - value.compact.map { |v| _to_hash(v) } - elsif value.is_a?(Hash) - {}.tap do |hash| - value.each { |k, v| hash[k] = _to_hash(v) } - end - elsif value.respond_to? :to_hash - value.to_hash - else - value - end - end - end -end diff --git a/lib/datadog_api_client/v2/models/logs_list_request.rb b/lib/datadog_api_client/v2/models/logs_list_request.rb deleted file mode 100644 index 64a25b52861..00000000000 --- a/lib/datadog_api_client/v2/models/logs_list_request.rb +++ /dev/null @@ -1,236 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'date' - -module DatadogAPIClient::V2 - # The request for a logs list. - class LogsListRequest - attr_accessor :filter - - attr_accessor :options - - attr_accessor :page - - attr_accessor :sort - - # Attribute mapping from ruby-style variable name to JSON key. - def self.attribute_map - { - :'filter' => :'filter', - :'options' => :'options', - :'page' => :'page', - :'sort' => :'sort' - } - end - - # Attribute type mapping. - def self.openapi_types - { - :'filter' => :'LogsQueryFilter', - :'options' => :'LogsQueryOptions', - :'page' => :'LogsListRequestPage', - :'sort' => :'LogsSort' - } - end - - # List of attributes with nullable: true - def self.openapi_nullable - Set.new([ - ]) - end - - # Initializes the object - # @param [Hash] attributes Model attributes in the form of hash - def initialize(attributes = {}) - if (!attributes.is_a?(Hash)) - fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V2::LogsListRequest` initialize method" - end - - # check to see if the attribute exists and convert string to symbol for hash key - attributes = attributes.each_with_object({}) { |(k, v), h| - if (!self.class.attribute_map.key?(k.to_sym)) - fail ArgumentError, "`#{k}` is not a valid attribute in `DatadogAPIClient::V2::LogsListRequest`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect - end - h[k.to_sym] = v - } - - if attributes.key?(:'filter') - self.filter = attributes[:'filter'] - end - - if attributes.key?(:'options') - self.options = attributes[:'options'] - end - - if attributes.key?(:'page') - self.page = attributes[:'page'] - end - - if attributes.key?(:'sort') - self.sort = attributes[:'sort'] - end - end - - # Show invalid properties with the reasons. Usually used together with valid? - # @return Array for valid properties with the reasons - def list_invalid_properties - invalid_properties = Array.new - invalid_properties - end - - # Check to see if the all the properties in the model are valid - # @return true if the model is valid - def valid? - true - end - - # Checks equality by comparing each attribute. - # @param [Object] Object to be compared - def ==(o) - return true if self.equal?(o) - self.class == o.class && - filter == o.filter && - options == o.options && - page == o.page && - sort == o.sort - end - - # @see the `==` method - # @param [Object] Object to be compared - def eql?(o) - self == o - end - - # Calculates hash code according to all attributes. - # @return [Integer] Hash code - def hash - [filter, options, page, sort].hash - end - - # Builds the object from hash - # @param [Hash] attributes Model attributes in the form of hash - # @return [Object] Returns the model itself - def self.build_from_hash(attributes) - new.build_from_hash(attributes) - end - - # Builds the object from hash - # @param [Hash] attributes Model attributes in the form of hash - # @return [Object] Returns the model itself - def build_from_hash(attributes) - return nil unless attributes.is_a?(Hash) - self.class.openapi_types.each_pair do |key, type| - if type =~ /\AArray<(.*)>/i - # check to ensure the input is an array given that the attribute - # is documented as an array but the input is not - if attributes[self.class.attribute_map[key]].is_a?(Array) - self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) - end - elsif !attributes[self.class.attribute_map[key]].nil? - self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) - elsif attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) - self.send("#{key}=", nil) - end - end - - self - end - - # Deserializes the data based on type - # @param string type Data type - # @param string value Value to be deserialized - # @return [Object] Deserialized data - def _deserialize(type, value) - case type.to_sym - when :DateTime - DateTime.parse(value) - when :Date - Date.parse(value) - when :String - value.to_s - when :Integer - value.to_i - when :Float - value.to_f - when :Boolean - if value.to_s =~ /\A(true|t|yes|y|1)\z/i - true - else - false - end - when :Object - # generic object (usually a Hash), return directly - value - when /\AArray<(?.+)>\z/ - inner_type = Regexp.last_match[:inner_type] - value.map { |v| _deserialize(inner_type, v) } - when /\AHash<(?.+?), (?.+)>\z/ - k_type = Regexp.last_match[:k_type] - v_type = Regexp.last_match[:v_type] - {}.tap do |hash| - value.each do |k, v| - hash[_deserialize(k_type, k)] = _deserialize(v_type, v) - end - end - else # model - DatadogAPIClient::V2.const_get(type).build_from_hash(value) - end - end - - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - - # Returns the object in the form of hash - # @return [Hash] Returns the object in the form of hash - def to_hash - hash = {} - self.class.attribute_map.each_pair do |attr, param| - value = self.send(attr) - if value.nil? - is_nullable = self.class.openapi_nullable.include?(attr) - next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) - end - - hash[param] = _to_hash(value) - end - hash - end - - # Outputs non-array value in the form of hash - # For object, use to_hash. Otherwise, just return the value - # @param [Object] value Any valid value - # @return [Hash] Returns the value in the form of hash - def _to_hash(value) - if value.is_a?(Array) - value.compact.map { |v| _to_hash(v) } - elsif value.is_a?(Hash) - {}.tap do |hash| - value.each { |k, v| hash[k] = _to_hash(v) } - end - elsif value.respond_to? :to_hash - value.to_hash - else - value - end - end - end -end diff --git a/lib/datadog_api_client/v2/models/logs_list_request_page.rb b/lib/datadog_api_client/v2/models/logs_list_request_page.rb deleted file mode 100644 index a8951fe0ec4..00000000000 --- a/lib/datadog_api_client/v2/models/logs_list_request_page.rb +++ /dev/null @@ -1,237 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'date' - -module DatadogAPIClient::V2 - # Paging attributes for listing logs. - class LogsListRequestPage - # List following results with a cursor provided in the previous query. - attr_accessor :cursor - - # Maximum number of logs in the response. - attr_accessor :limit - - # Attribute mapping from ruby-style variable name to JSON key. - def self.attribute_map - { - :'cursor' => :'cursor', - :'limit' => :'limit' - } - end - - # Attribute type mapping. - def self.openapi_types - { - :'cursor' => :'String', - :'limit' => :'Integer' - } - end - - # List of attributes with nullable: true - def self.openapi_nullable - Set.new([ - ]) - end - - # Initializes the object - # @param [Hash] attributes Model attributes in the form of hash - def initialize(attributes = {}) - if (!attributes.is_a?(Hash)) - fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V2::LogsListRequestPage` initialize method" - end - - # check to see if the attribute exists and convert string to symbol for hash key - attributes = attributes.each_with_object({}) { |(k, v), h| - if (!self.class.attribute_map.key?(k.to_sym)) - fail ArgumentError, "`#{k}` is not a valid attribute in `DatadogAPIClient::V2::LogsListRequestPage`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect - end - h[k.to_sym] = v - } - - if attributes.key?(:'cursor') - self.cursor = attributes[:'cursor'] - end - - if attributes.key?(:'limit') - self.limit = attributes[:'limit'] - else - self.limit = 10 - end - end - - # Show invalid properties with the reasons. Usually used together with valid? - # @return Array for valid properties with the reasons - def list_invalid_properties - invalid_properties = Array.new - if !@limit.nil? && @limit > 1000 - invalid_properties.push('invalid value for "limit", must be smaller than or equal to 1000.') - end - - invalid_properties - end - - # Check to see if the all the properties in the model are valid - # @return true if the model is valid - def valid? - return false if !@limit.nil? && @limit > 1000 - true - end - - # Custom attribute writer method with validation - # @param [Object] limit Value to be assigned - def limit=(limit) - if !limit.nil? && limit > 1000 - fail ArgumentError, 'invalid value for "limit", must be smaller than or equal to 1000.' - end - - @limit = limit - end - - # Checks equality by comparing each attribute. - # @param [Object] Object to be compared - def ==(o) - return true if self.equal?(o) - self.class == o.class && - cursor == o.cursor && - limit == o.limit - end - - # @see the `==` method - # @param [Object] Object to be compared - def eql?(o) - self == o - end - - # Calculates hash code according to all attributes. - # @return [Integer] Hash code - def hash - [cursor, limit].hash - end - - # Builds the object from hash - # @param [Hash] attributes Model attributes in the form of hash - # @return [Object] Returns the model itself - def self.build_from_hash(attributes) - new.build_from_hash(attributes) - end - - # Builds the object from hash - # @param [Hash] attributes Model attributes in the form of hash - # @return [Object] Returns the model itself - def build_from_hash(attributes) - return nil unless attributes.is_a?(Hash) - self.class.openapi_types.each_pair do |key, type| - if type =~ /\AArray<(.*)>/i - # check to ensure the input is an array given that the attribute - # is documented as an array but the input is not - if attributes[self.class.attribute_map[key]].is_a?(Array) - self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) - end - elsif !attributes[self.class.attribute_map[key]].nil? - self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) - elsif attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) - self.send("#{key}=", nil) - end - end - - self - end - - # Deserializes the data based on type - # @param string type Data type - # @param string value Value to be deserialized - # @return [Object] Deserialized data - def _deserialize(type, value) - case type.to_sym - when :DateTime - DateTime.parse(value) - when :Date - Date.parse(value) - when :String - value.to_s - when :Integer - value.to_i - when :Float - value.to_f - when :Boolean - if value.to_s =~ /\A(true|t|yes|y|1)\z/i - true - else - false - end - when :Object - # generic object (usually a Hash), return directly - value - when /\AArray<(?.+)>\z/ - inner_type = Regexp.last_match[:inner_type] - value.map { |v| _deserialize(inner_type, v) } - when /\AHash<(?.+?), (?.+)>\z/ - k_type = Regexp.last_match[:k_type] - v_type = Regexp.last_match[:v_type] - {}.tap do |hash| - value.each do |k, v| - hash[_deserialize(k_type, k)] = _deserialize(v_type, v) - end - end - else # model - DatadogAPIClient::V2.const_get(type).build_from_hash(value) - end - end - - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - - # Returns the object in the form of hash - # @return [Hash] Returns the object in the form of hash - def to_hash - hash = {} - self.class.attribute_map.each_pair do |attr, param| - value = self.send(attr) - if value.nil? - is_nullable = self.class.openapi_nullable.include?(attr) - next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) - end - - hash[param] = _to_hash(value) - end - hash - end - - # Outputs non-array value in the form of hash - # For object, use to_hash. Otherwise, just return the value - # @param [Object] value Any valid value - # @return [Hash] Returns the value in the form of hash - def _to_hash(value) - if value.is_a?(Array) - value.compact.map { |v| _to_hash(v) } - elsif value.is_a?(Hash) - {}.tap do |hash| - value.each { |k, v| hash[k] = _to_hash(v) } - end - elsif value.respond_to? :to_hash - value.to_hash - else - value - end - end - end -end diff --git a/lib/datadog_api_client/v2/models/logs_list_response.rb b/lib/datadog_api_client/v2/models/logs_list_response.rb deleted file mode 100644 index d736ce45a96..00000000000 --- a/lib/datadog_api_client/v2/models/logs_list_response.rb +++ /dev/null @@ -1,230 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'date' - -module DatadogAPIClient::V2 - # Response object with all logs matching the request and pagination information. - class LogsListResponse - # Array of logs matching the request. - attr_accessor :data - - attr_accessor :links - - attr_accessor :meta - - # Attribute mapping from ruby-style variable name to JSON key. - def self.attribute_map - { - :'data' => :'data', - :'links' => :'links', - :'meta' => :'meta' - } - end - - # Attribute type mapping. - def self.openapi_types - { - :'data' => :'Array', - :'links' => :'LogsListResponseLinks', - :'meta' => :'LogsResponseMetadata' - } - end - - # List of attributes with nullable: true - def self.openapi_nullable - Set.new([ - ]) - end - - # Initializes the object - # @param [Hash] attributes Model attributes in the form of hash - def initialize(attributes = {}) - if (!attributes.is_a?(Hash)) - fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V2::LogsListResponse` initialize method" - end - - # check to see if the attribute exists and convert string to symbol for hash key - attributes = attributes.each_with_object({}) { |(k, v), h| - if (!self.class.attribute_map.key?(k.to_sym)) - fail ArgumentError, "`#{k}` is not a valid attribute in `DatadogAPIClient::V2::LogsListResponse`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect - end - h[k.to_sym] = v - } - - if attributes.key?(:'data') - if (value = attributes[:'data']).is_a?(Array) - self.data = value - end - end - - if attributes.key?(:'links') - self.links = attributes[:'links'] - end - - if attributes.key?(:'meta') - self.meta = attributes[:'meta'] - end - end - - # Show invalid properties with the reasons. Usually used together with valid? - # @return Array for valid properties with the reasons - def list_invalid_properties - invalid_properties = Array.new - invalid_properties - end - - # Check to see if the all the properties in the model are valid - # @return true if the model is valid - def valid? - true - end - - # Checks equality by comparing each attribute. - # @param [Object] Object to be compared - def ==(o) - return true if self.equal?(o) - self.class == o.class && - data == o.data && - links == o.links && - meta == o.meta - end - - # @see the `==` method - # @param [Object] Object to be compared - def eql?(o) - self == o - end - - # Calculates hash code according to all attributes. - # @return [Integer] Hash code - def hash - [data, links, meta].hash - end - - # Builds the object from hash - # @param [Hash] attributes Model attributes in the form of hash - # @return [Object] Returns the model itself - def self.build_from_hash(attributes) - new.build_from_hash(attributes) - end - - # Builds the object from hash - # @param [Hash] attributes Model attributes in the form of hash - # @return [Object] Returns the model itself - def build_from_hash(attributes) - return nil unless attributes.is_a?(Hash) - self.class.openapi_types.each_pair do |key, type| - if type =~ /\AArray<(.*)>/i - # check to ensure the input is an array given that the attribute - # is documented as an array but the input is not - if attributes[self.class.attribute_map[key]].is_a?(Array) - self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) - end - elsif !attributes[self.class.attribute_map[key]].nil? - self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) - elsif attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) - self.send("#{key}=", nil) - end - end - - self - end - - # Deserializes the data based on type - # @param string type Data type - # @param string value Value to be deserialized - # @return [Object] Deserialized data - def _deserialize(type, value) - case type.to_sym - when :DateTime - DateTime.parse(value) - when :Date - Date.parse(value) - when :String - value.to_s - when :Integer - value.to_i - when :Float - value.to_f - when :Boolean - if value.to_s =~ /\A(true|t|yes|y|1)\z/i - true - else - false - end - when :Object - # generic object (usually a Hash), return directly - value - when /\AArray<(?.+)>\z/ - inner_type = Regexp.last_match[:inner_type] - value.map { |v| _deserialize(inner_type, v) } - when /\AHash<(?.+?), (?.+)>\z/ - k_type = Regexp.last_match[:k_type] - v_type = Regexp.last_match[:v_type] - {}.tap do |hash| - value.each do |k, v| - hash[_deserialize(k_type, k)] = _deserialize(v_type, v) - end - end - else # model - DatadogAPIClient::V2.const_get(type).build_from_hash(value) - end - end - - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - - # Returns the object in the form of hash - # @return [Hash] Returns the object in the form of hash - def to_hash - hash = {} - self.class.attribute_map.each_pair do |attr, param| - value = self.send(attr) - if value.nil? - is_nullable = self.class.openapi_nullable.include?(attr) - next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) - end - - hash[param] = _to_hash(value) - end - hash - end - - # Outputs non-array value in the form of hash - # For object, use to_hash. Otherwise, just return the value - # @param [Object] value Any valid value - # @return [Hash] Returns the value in the form of hash - def _to_hash(value) - if value.is_a?(Array) - value.compact.map { |v| _to_hash(v) } - elsif value.is_a?(Hash) - {}.tap do |hash| - value.each { |k, v| hash[k] = _to_hash(v) } - end - elsif value.respond_to? :to_hash - value.to_hash - else - value - end - end - end -end diff --git a/lib/datadog_api_client/v2/models/logs_list_response_links.rb b/lib/datadog_api_client/v2/models/logs_list_response_links.rb deleted file mode 100644 index ce400f653f1..00000000000 --- a/lib/datadog_api_client/v2/models/logs_list_response_links.rb +++ /dev/null @@ -1,210 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'date' - -module DatadogAPIClient::V2 - # Links attributes. - class LogsListResponseLinks - # Link for the next set of results. Note that the request can also be made using the POST endpoint. - attr_accessor :_next - - # Attribute mapping from ruby-style variable name to JSON key. - def self.attribute_map - { - :'_next' => :'next' - } - end - - # Attribute type mapping. - def self.openapi_types - { - :'_next' => :'String' - } - end - - # List of attributes with nullable: true - def self.openapi_nullable - Set.new([ - ]) - end - - # Initializes the object - # @param [Hash] attributes Model attributes in the form of hash - def initialize(attributes = {}) - if (!attributes.is_a?(Hash)) - fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V2::LogsListResponseLinks` initialize method" - end - - # check to see if the attribute exists and convert string to symbol for hash key - attributes = attributes.each_with_object({}) { |(k, v), h| - if (!self.class.attribute_map.key?(k.to_sym)) - fail ArgumentError, "`#{k}` is not a valid attribute in `DatadogAPIClient::V2::LogsListResponseLinks`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect - end - h[k.to_sym] = v - } - - if attributes.key?(:'_next') - self._next = attributes[:'_next'] - end - end - - # Show invalid properties with the reasons. Usually used together with valid? - # @return Array for valid properties with the reasons - def list_invalid_properties - invalid_properties = Array.new - invalid_properties - end - - # Check to see if the all the properties in the model are valid - # @return true if the model is valid - def valid? - true - end - - # Checks equality by comparing each attribute. - # @param [Object] Object to be compared - def ==(o) - return true if self.equal?(o) - self.class == o.class && - _next == o._next - end - - # @see the `==` method - # @param [Object] Object to be compared - def eql?(o) - self == o - end - - # Calculates hash code according to all attributes. - # @return [Integer] Hash code - def hash - [_next].hash - end - - # Builds the object from hash - # @param [Hash] attributes Model attributes in the form of hash - # @return [Object] Returns the model itself - def self.build_from_hash(attributes) - new.build_from_hash(attributes) - end - - # Builds the object from hash - # @param [Hash] attributes Model attributes in the form of hash - # @return [Object] Returns the model itself - def build_from_hash(attributes) - return nil unless attributes.is_a?(Hash) - self.class.openapi_types.each_pair do |key, type| - if type =~ /\AArray<(.*)>/i - # check to ensure the input is an array given that the attribute - # is documented as an array but the input is not - if attributes[self.class.attribute_map[key]].is_a?(Array) - self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) - end - elsif !attributes[self.class.attribute_map[key]].nil? - self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) - elsif attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) - self.send("#{key}=", nil) - end - end - - self - end - - # Deserializes the data based on type - # @param string type Data type - # @param string value Value to be deserialized - # @return [Object] Deserialized data - def _deserialize(type, value) - case type.to_sym - when :DateTime - DateTime.parse(value) - when :Date - Date.parse(value) - when :String - value.to_s - when :Integer - value.to_i - when :Float - value.to_f - when :Boolean - if value.to_s =~ /\A(true|t|yes|y|1)\z/i - true - else - false - end - when :Object - # generic object (usually a Hash), return directly - value - when /\AArray<(?.+)>\z/ - inner_type = Regexp.last_match[:inner_type] - value.map { |v| _deserialize(inner_type, v) } - when /\AHash<(?.+?), (?.+)>\z/ - k_type = Regexp.last_match[:k_type] - v_type = Regexp.last_match[:v_type] - {}.tap do |hash| - value.each do |k, v| - hash[_deserialize(k_type, k)] = _deserialize(v_type, v) - end - end - else # model - DatadogAPIClient::V2.const_get(type).build_from_hash(value) - end - end - - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - - # Returns the object in the form of hash - # @return [Hash] Returns the object in the form of hash - def to_hash - hash = {} - self.class.attribute_map.each_pair do |attr, param| - value = self.send(attr) - if value.nil? - is_nullable = self.class.openapi_nullable.include?(attr) - next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) - end - - hash[param] = _to_hash(value) - end - hash - end - - # Outputs non-array value in the form of hash - # For object, use to_hash. Otherwise, just return the value - # @param [Object] value Any valid value - # @return [Hash] Returns the value in the form of hash - def _to_hash(value) - if value.is_a?(Array) - value.compact.map { |v| _to_hash(v) } - elsif value.is_a?(Hash) - {}.tap do |hash| - value.each { |k, v| hash[k] = _to_hash(v) } - end - elsif value.respond_to? :to_hash - value.to_hash - else - value - end - end - end -end diff --git a/lib/datadog_api_client/v2/models/logs_query_filter.rb b/lib/datadog_api_client/v2/models/logs_query_filter.rb deleted file mode 100644 index 1be76923fe5..00000000000 --- a/lib/datadog_api_client/v2/models/logs_query_filter.rb +++ /dev/null @@ -1,248 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'date' - -module DatadogAPIClient::V2 - # The search and filter query settings - class LogsQueryFilter - # The minimum time for the requested logs, supports date math and regular timestamps - attr_accessor :from - - # For customers with multiple indexes, the indexes to search. Defaults to ['*'] which means all indexes. - attr_accessor :indexes - - # The search query - following the log search syntax. - attr_accessor :query - - # The maximum time for the requested logs, supports date math and regular timestamps - attr_accessor :to - - # Attribute mapping from ruby-style variable name to JSON key. - def self.attribute_map - { - :'from' => :'from', - :'indexes' => :'indexes', - :'query' => :'query', - :'to' => :'to' - } - end - - # Attribute type mapping. - def self.openapi_types - { - :'from' => :'String', - :'indexes' => :'Array', - :'query' => :'String', - :'to' => :'String' - } - end - - # List of attributes with nullable: true - def self.openapi_nullable - Set.new([ - ]) - end - - # Initializes the object - # @param [Hash] attributes Model attributes in the form of hash - def initialize(attributes = {}) - if (!attributes.is_a?(Hash)) - fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V2::LogsQueryFilter` initialize method" - end - - # check to see if the attribute exists and convert string to symbol for hash key - attributes = attributes.each_with_object({}) { |(k, v), h| - if (!self.class.attribute_map.key?(k.to_sym)) - fail ArgumentError, "`#{k}` is not a valid attribute in `DatadogAPIClient::V2::LogsQueryFilter`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect - end - h[k.to_sym] = v - } - - if attributes.key?(:'from') - self.from = attributes[:'from'] - else - self.from = 'now-15m' - end - - if attributes.key?(:'indexes') - if (value = attributes[:'indexes']).is_a?(Array) - self.indexes = value - end - end - - if attributes.key?(:'query') - self.query = attributes[:'query'] - else - self.query = '*' - end - - if attributes.key?(:'to') - self.to = attributes[:'to'] - else - self.to = 'now' - end - end - - # Show invalid properties with the reasons. Usually used together with valid? - # @return Array for valid properties with the reasons - def list_invalid_properties - invalid_properties = Array.new - invalid_properties - end - - # Check to see if the all the properties in the model are valid - # @return true if the model is valid - def valid? - true - end - - # Checks equality by comparing each attribute. - # @param [Object] Object to be compared - def ==(o) - return true if self.equal?(o) - self.class == o.class && - from == o.from && - indexes == o.indexes && - query == o.query && - to == o.to - end - - # @see the `==` method - # @param [Object] Object to be compared - def eql?(o) - self == o - end - - # Calculates hash code according to all attributes. - # @return [Integer] Hash code - def hash - [from, indexes, query, to].hash - end - - # Builds the object from hash - # @param [Hash] attributes Model attributes in the form of hash - # @return [Object] Returns the model itself - def self.build_from_hash(attributes) - new.build_from_hash(attributes) - end - - # Builds the object from hash - # @param [Hash] attributes Model attributes in the form of hash - # @return [Object] Returns the model itself - def build_from_hash(attributes) - return nil unless attributes.is_a?(Hash) - self.class.openapi_types.each_pair do |key, type| - if type =~ /\AArray<(.*)>/i - # check to ensure the input is an array given that the attribute - # is documented as an array but the input is not - if attributes[self.class.attribute_map[key]].is_a?(Array) - self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) - end - elsif !attributes[self.class.attribute_map[key]].nil? - self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) - elsif attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) - self.send("#{key}=", nil) - end - end - - self - end - - # Deserializes the data based on type - # @param string type Data type - # @param string value Value to be deserialized - # @return [Object] Deserialized data - def _deserialize(type, value) - case type.to_sym - when :DateTime - DateTime.parse(value) - when :Date - Date.parse(value) - when :String - value.to_s - when :Integer - value.to_i - when :Float - value.to_f - when :Boolean - if value.to_s =~ /\A(true|t|yes|y|1)\z/i - true - else - false - end - when :Object - # generic object (usually a Hash), return directly - value - when /\AArray<(?.+)>\z/ - inner_type = Regexp.last_match[:inner_type] - value.map { |v| _deserialize(inner_type, v) } - when /\AHash<(?.+?), (?.+)>\z/ - k_type = Regexp.last_match[:k_type] - v_type = Regexp.last_match[:v_type] - {}.tap do |hash| - value.each do |k, v| - hash[_deserialize(k_type, k)] = _deserialize(v_type, v) - end - end - else # model - DatadogAPIClient::V2.const_get(type).build_from_hash(value) - end - end - - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - - # Returns the object in the form of hash - # @return [Hash] Returns the object in the form of hash - def to_hash - hash = {} - self.class.attribute_map.each_pair do |attr, param| - value = self.send(attr) - if value.nil? - is_nullable = self.class.openapi_nullable.include?(attr) - next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) - end - - hash[param] = _to_hash(value) - end - hash - end - - # Outputs non-array value in the form of hash - # For object, use to_hash. Otherwise, just return the value - # @param [Object] value Any valid value - # @return [Hash] Returns the value in the form of hash - def _to_hash(value) - if value.is_a?(Array) - value.compact.map { |v| _to_hash(v) } - elsif value.is_a?(Hash) - {}.tap do |hash| - value.each { |k, v| hash[k] = _to_hash(v) } - end - elsif value.respond_to? :to_hash - value.to_hash - else - value - end - end - end -end diff --git a/lib/datadog_api_client/v2/models/logs_query_options.rb b/lib/datadog_api_client/v2/models/logs_query_options.rb deleted file mode 100644 index 2c08423bbf8..00000000000 --- a/lib/datadog_api_client/v2/models/logs_query_options.rb +++ /dev/null @@ -1,222 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'date' - -module DatadogAPIClient::V2 - # Global query options that are used during the query. Note: You should only supply timezone or time offset but not both otherwise the query will fail. - class LogsQueryOptions - # The time offset (in seconds) to apply to the query. - attr_accessor :time_offset - - # The timezone can be specified both as an offset, for example: \"UTC+03:00\". - attr_accessor :timezone - - # Attribute mapping from ruby-style variable name to JSON key. - def self.attribute_map - { - :'time_offset' => :'timeOffset', - :'timezone' => :'timezone' - } - end - - # Attribute type mapping. - def self.openapi_types - { - :'time_offset' => :'Integer', - :'timezone' => :'String' - } - end - - # List of attributes with nullable: true - def self.openapi_nullable - Set.new([ - ]) - end - - # Initializes the object - # @param [Hash] attributes Model attributes in the form of hash - def initialize(attributes = {}) - if (!attributes.is_a?(Hash)) - fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V2::LogsQueryOptions` initialize method" - end - - # check to see if the attribute exists and convert string to symbol for hash key - attributes = attributes.each_with_object({}) { |(k, v), h| - if (!self.class.attribute_map.key?(k.to_sym)) - fail ArgumentError, "`#{k}` is not a valid attribute in `DatadogAPIClient::V2::LogsQueryOptions`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect - end - h[k.to_sym] = v - } - - if attributes.key?(:'time_offset') - self.time_offset = attributes[:'time_offset'] - end - - if attributes.key?(:'timezone') - self.timezone = attributes[:'timezone'] - else - self.timezone = 'UTC' - end - end - - # Show invalid properties with the reasons. Usually used together with valid? - # @return Array for valid properties with the reasons - def list_invalid_properties - invalid_properties = Array.new - invalid_properties - end - - # Check to see if the all the properties in the model are valid - # @return true if the model is valid - def valid? - true - end - - # Checks equality by comparing each attribute. - # @param [Object] Object to be compared - def ==(o) - return true if self.equal?(o) - self.class == o.class && - time_offset == o.time_offset && - timezone == o.timezone - end - - # @see the `==` method - # @param [Object] Object to be compared - def eql?(o) - self == o - end - - # Calculates hash code according to all attributes. - # @return [Integer] Hash code - def hash - [time_offset, timezone].hash - end - - # Builds the object from hash - # @param [Hash] attributes Model attributes in the form of hash - # @return [Object] Returns the model itself - def self.build_from_hash(attributes) - new.build_from_hash(attributes) - end - - # Builds the object from hash - # @param [Hash] attributes Model attributes in the form of hash - # @return [Object] Returns the model itself - def build_from_hash(attributes) - return nil unless attributes.is_a?(Hash) - self.class.openapi_types.each_pair do |key, type| - if type =~ /\AArray<(.*)>/i - # check to ensure the input is an array given that the attribute - # is documented as an array but the input is not - if attributes[self.class.attribute_map[key]].is_a?(Array) - self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) - end - elsif !attributes[self.class.attribute_map[key]].nil? - self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) - elsif attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) - self.send("#{key}=", nil) - end - end - - self - end - - # Deserializes the data based on type - # @param string type Data type - # @param string value Value to be deserialized - # @return [Object] Deserialized data - def _deserialize(type, value) - case type.to_sym - when :DateTime - DateTime.parse(value) - when :Date - Date.parse(value) - when :String - value.to_s - when :Integer - value.to_i - when :Float - value.to_f - when :Boolean - if value.to_s =~ /\A(true|t|yes|y|1)\z/i - true - else - false - end - when :Object - # generic object (usually a Hash), return directly - value - when /\AArray<(?.+)>\z/ - inner_type = Regexp.last_match[:inner_type] - value.map { |v| _deserialize(inner_type, v) } - when /\AHash<(?.+?), (?.+)>\z/ - k_type = Regexp.last_match[:k_type] - v_type = Regexp.last_match[:v_type] - {}.tap do |hash| - value.each do |k, v| - hash[_deserialize(k_type, k)] = _deserialize(v_type, v) - end - end - else # model - DatadogAPIClient::V2.const_get(type).build_from_hash(value) - end - end - - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - - # Returns the object in the form of hash - # @return [Hash] Returns the object in the form of hash - def to_hash - hash = {} - self.class.attribute_map.each_pair do |attr, param| - value = self.send(attr) - if value.nil? - is_nullable = self.class.openapi_nullable.include?(attr) - next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) - end - - hash[param] = _to_hash(value) - end - hash - end - - # Outputs non-array value in the form of hash - # For object, use to_hash. Otherwise, just return the value - # @param [Object] value Any valid value - # @return [Hash] Returns the value in the form of hash - def _to_hash(value) - if value.is_a?(Array) - value.compact.map { |v| _to_hash(v) } - elsif value.is_a?(Hash) - {}.tap do |hash| - value.each { |k, v| hash[k] = _to_hash(v) } - end - elsif value.respond_to? :to_hash - value.to_hash - else - value - end - end - end -end diff --git a/lib/datadog_api_client/v2/models/logs_response_metadata.rb b/lib/datadog_api_client/v2/models/logs_response_metadata.rb deleted file mode 100644 index 89ae116336f..00000000000 --- a/lib/datadog_api_client/v2/models/logs_response_metadata.rb +++ /dev/null @@ -1,250 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'date' - -module DatadogAPIClient::V2 - # The metadata associated with a request - class LogsResponseMetadata - # The time elapsed in milliseconds - attr_accessor :elapsed - - attr_accessor :page - - # The identifier of the request - attr_accessor :request_id - - attr_accessor :status - - # A list of warnings (non fatal errors) encountered, partial results might be returned if warnings are present in the response. - attr_accessor :warnings - - # Attribute mapping from ruby-style variable name to JSON key. - def self.attribute_map - { - :'elapsed' => :'elapsed', - :'page' => :'page', - :'request_id' => :'request_id', - :'status' => :'status', - :'warnings' => :'warnings' - } - end - - # Attribute type mapping. - def self.openapi_types - { - :'elapsed' => :'Integer', - :'page' => :'LogsResponseMetadataPage', - :'request_id' => :'String', - :'status' => :'LogsAggregateResponseStatus', - :'warnings' => :'Array' - } - end - - # List of attributes with nullable: true - def self.openapi_nullable - Set.new([ - ]) - end - - # Initializes the object - # @param [Hash] attributes Model attributes in the form of hash - def initialize(attributes = {}) - if (!attributes.is_a?(Hash)) - fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V2::LogsResponseMetadata` initialize method" - end - - # check to see if the attribute exists and convert string to symbol for hash key - attributes = attributes.each_with_object({}) { |(k, v), h| - if (!self.class.attribute_map.key?(k.to_sym)) - fail ArgumentError, "`#{k}` is not a valid attribute in `DatadogAPIClient::V2::LogsResponseMetadata`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect - end - h[k.to_sym] = v - } - - if attributes.key?(:'elapsed') - self.elapsed = attributes[:'elapsed'] - end - - if attributes.key?(:'page') - self.page = attributes[:'page'] - end - - if attributes.key?(:'request_id') - self.request_id = attributes[:'request_id'] - end - - if attributes.key?(:'status') - self.status = attributes[:'status'] - end - - if attributes.key?(:'warnings') - if (value = attributes[:'warnings']).is_a?(Array) - self.warnings = value - end - end - end - - # Show invalid properties with the reasons. Usually used together with valid? - # @return Array for valid properties with the reasons - def list_invalid_properties - invalid_properties = Array.new - invalid_properties - end - - # Check to see if the all the properties in the model are valid - # @return true if the model is valid - def valid? - true - end - - # Checks equality by comparing each attribute. - # @param [Object] Object to be compared - def ==(o) - return true if self.equal?(o) - self.class == o.class && - elapsed == o.elapsed && - page == o.page && - request_id == o.request_id && - status == o.status && - warnings == o.warnings - end - - # @see the `==` method - # @param [Object] Object to be compared - def eql?(o) - self == o - end - - # Calculates hash code according to all attributes. - # @return [Integer] Hash code - def hash - [elapsed, page, request_id, status, warnings].hash - end - - # Builds the object from hash - # @param [Hash] attributes Model attributes in the form of hash - # @return [Object] Returns the model itself - def self.build_from_hash(attributes) - new.build_from_hash(attributes) - end - - # Builds the object from hash - # @param [Hash] attributes Model attributes in the form of hash - # @return [Object] Returns the model itself - def build_from_hash(attributes) - return nil unless attributes.is_a?(Hash) - self.class.openapi_types.each_pair do |key, type| - if type =~ /\AArray<(.*)>/i - # check to ensure the input is an array given that the attribute - # is documented as an array but the input is not - if attributes[self.class.attribute_map[key]].is_a?(Array) - self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) - end - elsif !attributes[self.class.attribute_map[key]].nil? - self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) - elsif attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) - self.send("#{key}=", nil) - end - end - - self - end - - # Deserializes the data based on type - # @param string type Data type - # @param string value Value to be deserialized - # @return [Object] Deserialized data - def _deserialize(type, value) - case type.to_sym - when :DateTime - DateTime.parse(value) - when :Date - Date.parse(value) - when :String - value.to_s - when :Integer - value.to_i - when :Float - value.to_f - when :Boolean - if value.to_s =~ /\A(true|t|yes|y|1)\z/i - true - else - false - end - when :Object - # generic object (usually a Hash), return directly - value - when /\AArray<(?.+)>\z/ - inner_type = Regexp.last_match[:inner_type] - value.map { |v| _deserialize(inner_type, v) } - when /\AHash<(?.+?), (?.+)>\z/ - k_type = Regexp.last_match[:k_type] - v_type = Regexp.last_match[:v_type] - {}.tap do |hash| - value.each do |k, v| - hash[_deserialize(k_type, k)] = _deserialize(v_type, v) - end - end - else # model - DatadogAPIClient::V2.const_get(type).build_from_hash(value) - end - end - - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - - # Returns the object in the form of hash - # @return [Hash] Returns the object in the form of hash - def to_hash - hash = {} - self.class.attribute_map.each_pair do |attr, param| - value = self.send(attr) - if value.nil? - is_nullable = self.class.openapi_nullable.include?(attr) - next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) - end - - hash[param] = _to_hash(value) - end - hash - end - - # Outputs non-array value in the form of hash - # For object, use to_hash. Otherwise, just return the value - # @param [Object] value Any valid value - # @return [Hash] Returns the value in the form of hash - def _to_hash(value) - if value.is_a?(Array) - value.compact.map { |v| _to_hash(v) } - elsif value.is_a?(Hash) - {}.tap do |hash| - value.each { |k, v| hash[k] = _to_hash(v) } - end - elsif value.respond_to? :to_hash - value.to_hash - else - value - end - end - end -end diff --git a/lib/datadog_api_client/v2/models/logs_response_metadata_page.rb b/lib/datadog_api_client/v2/models/logs_response_metadata_page.rb deleted file mode 100644 index 78853aae9d3..00000000000 --- a/lib/datadog_api_client/v2/models/logs_response_metadata_page.rb +++ /dev/null @@ -1,210 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'date' - -module DatadogAPIClient::V2 - # Paging attributes. - class LogsResponseMetadataPage - # The cursor to use to get the next results, if any. To make the next request, use the same. parameters with the addition of the `page[cursor]`. - attr_accessor :after - - # Attribute mapping from ruby-style variable name to JSON key. - def self.attribute_map - { - :'after' => :'after' - } - end - - # Attribute type mapping. - def self.openapi_types - { - :'after' => :'String' - } - end - - # List of attributes with nullable: true - def self.openapi_nullable - Set.new([ - ]) - end - - # Initializes the object - # @param [Hash] attributes Model attributes in the form of hash - def initialize(attributes = {}) - if (!attributes.is_a?(Hash)) - fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V2::LogsResponseMetadataPage` initialize method" - end - - # check to see if the attribute exists and convert string to symbol for hash key - attributes = attributes.each_with_object({}) { |(k, v), h| - if (!self.class.attribute_map.key?(k.to_sym)) - fail ArgumentError, "`#{k}` is not a valid attribute in `DatadogAPIClient::V2::LogsResponseMetadataPage`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect - end - h[k.to_sym] = v - } - - if attributes.key?(:'after') - self.after = attributes[:'after'] - end - end - - # Show invalid properties with the reasons. Usually used together with valid? - # @return Array for valid properties with the reasons - def list_invalid_properties - invalid_properties = Array.new - invalid_properties - end - - # Check to see if the all the properties in the model are valid - # @return true if the model is valid - def valid? - true - end - - # Checks equality by comparing each attribute. - # @param [Object] Object to be compared - def ==(o) - return true if self.equal?(o) - self.class == o.class && - after == o.after - end - - # @see the `==` method - # @param [Object] Object to be compared - def eql?(o) - self == o - end - - # Calculates hash code according to all attributes. - # @return [Integer] Hash code - def hash - [after].hash - end - - # Builds the object from hash - # @param [Hash] attributes Model attributes in the form of hash - # @return [Object] Returns the model itself - def self.build_from_hash(attributes) - new.build_from_hash(attributes) - end - - # Builds the object from hash - # @param [Hash] attributes Model attributes in the form of hash - # @return [Object] Returns the model itself - def build_from_hash(attributes) - return nil unless attributes.is_a?(Hash) - self.class.openapi_types.each_pair do |key, type| - if type =~ /\AArray<(.*)>/i - # check to ensure the input is an array given that the attribute - # is documented as an array but the input is not - if attributes[self.class.attribute_map[key]].is_a?(Array) - self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) - end - elsif !attributes[self.class.attribute_map[key]].nil? - self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) - elsif attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) - self.send("#{key}=", nil) - end - end - - self - end - - # Deserializes the data based on type - # @param string type Data type - # @param string value Value to be deserialized - # @return [Object] Deserialized data - def _deserialize(type, value) - case type.to_sym - when :DateTime - DateTime.parse(value) - when :Date - Date.parse(value) - when :String - value.to_s - when :Integer - value.to_i - when :Float - value.to_f - when :Boolean - if value.to_s =~ /\A(true|t|yes|y|1)\z/i - true - else - false - end - when :Object - # generic object (usually a Hash), return directly - value - when /\AArray<(?.+)>\z/ - inner_type = Regexp.last_match[:inner_type] - value.map { |v| _deserialize(inner_type, v) } - when /\AHash<(?.+?), (?.+)>\z/ - k_type = Regexp.last_match[:k_type] - v_type = Regexp.last_match[:v_type] - {}.tap do |hash| - value.each do |k, v| - hash[_deserialize(k_type, k)] = _deserialize(v_type, v) - end - end - else # model - DatadogAPIClient::V2.const_get(type).build_from_hash(value) - end - end - - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - - # Returns the object in the form of hash - # @return [Hash] Returns the object in the form of hash - def to_hash - hash = {} - self.class.attribute_map.each_pair do |attr, param| - value = self.send(attr) - if value.nil? - is_nullable = self.class.openapi_nullable.include?(attr) - next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) - end - - hash[param] = _to_hash(value) - end - hash - end - - # Outputs non-array value in the form of hash - # For object, use to_hash. Otherwise, just return the value - # @param [Object] value Any valid value - # @return [Hash] Returns the value in the form of hash - def _to_hash(value) - if value.is_a?(Array) - value.compact.map { |v| _to_hash(v) } - elsif value.is_a?(Hash) - {}.tap do |hash| - value.each { |k, v| hash[k] = _to_hash(v) } - end - elsif value.respond_to? :to_hash - value.to_hash - else - value - end - end - end -end diff --git a/lib/datadog_api_client/v2/models/logs_sort.rb b/lib/datadog_api_client/v2/models/logs_sort.rb deleted file mode 100644 index 2f1e7577292..00000000000 --- a/lib/datadog_api_client/v2/models/logs_sort.rb +++ /dev/null @@ -1,36 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'date' - -module DatadogAPIClient::V2 - class LogsSort - TIMESTAMP_ASCENDING = "timestamp".freeze - TIMESTAMP_DESCENDING = "-timestamp".freeze - - # Builds the enum from string - # @param [String] The enum value in the form of the string - # @return [String] The enum value - def self.build_from_hash(value) - new.build_from_hash(value) - end - - # Builds the enum from string - # @param [String] The enum value in the form of the string - # @return [String] The enum value - def build_from_hash(value) - constantValues = LogsSort.constants.select { |c| LogsSort::const_get(c) == value } - raise "Invalid ENUM value #{value} for class #LogsSort" if constantValues.empty? - value - end - end -end diff --git a/lib/datadog_api_client/v2/models/logs_sort_order.rb b/lib/datadog_api_client/v2/models/logs_sort_order.rb deleted file mode 100644 index 059e227b512..00000000000 --- a/lib/datadog_api_client/v2/models/logs_sort_order.rb +++ /dev/null @@ -1,36 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'date' - -module DatadogAPIClient::V2 - class LogsSortOrder - ASCENDING = "asc".freeze - DESCENDING = "desc".freeze - - # Builds the enum from string - # @param [String] The enum value in the form of the string - # @return [String] The enum value - def self.build_from_hash(value) - new.build_from_hash(value) - end - - # Builds the enum from string - # @param [String] The enum value in the form of the string - # @return [String] The enum value - def build_from_hash(value) - constantValues = LogsSortOrder.constants.select { |c| LogsSortOrder::const_get(c) == value } - raise "Invalid ENUM value #{value} for class #LogsSortOrder" if constantValues.empty? - value - end - end -end diff --git a/lib/datadog_api_client/v2/models/logs_warning.rb b/lib/datadog_api_client/v2/models/logs_warning.rb deleted file mode 100644 index a55b833c47d..00000000000 --- a/lib/datadog_api_client/v2/models/logs_warning.rb +++ /dev/null @@ -1,230 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'date' - -module DatadogAPIClient::V2 - # A warning message indicating something that went wrong with the query - class LogsWarning - # A unique code for this type of warning - attr_accessor :code - - # A detailed explanation of this specific warning - attr_accessor :detail - - # A short human-readable summary of the warning - attr_accessor :title - - # Attribute mapping from ruby-style variable name to JSON key. - def self.attribute_map - { - :'code' => :'code', - :'detail' => :'detail', - :'title' => :'title' - } - end - - # Attribute type mapping. - def self.openapi_types - { - :'code' => :'String', - :'detail' => :'String', - :'title' => :'String' - } - end - - # List of attributes with nullable: true - def self.openapi_nullable - Set.new([ - ]) - end - - # Initializes the object - # @param [Hash] attributes Model attributes in the form of hash - def initialize(attributes = {}) - if (!attributes.is_a?(Hash)) - fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V2::LogsWarning` initialize method" - end - - # check to see if the attribute exists and convert string to symbol for hash key - attributes = attributes.each_with_object({}) { |(k, v), h| - if (!self.class.attribute_map.key?(k.to_sym)) - fail ArgumentError, "`#{k}` is not a valid attribute in `DatadogAPIClient::V2::LogsWarning`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect - end - h[k.to_sym] = v - } - - if attributes.key?(:'code') - self.code = attributes[:'code'] - end - - if attributes.key?(:'detail') - self.detail = attributes[:'detail'] - end - - if attributes.key?(:'title') - self.title = attributes[:'title'] - end - end - - # Show invalid properties with the reasons. Usually used together with valid? - # @return Array for valid properties with the reasons - def list_invalid_properties - invalid_properties = Array.new - invalid_properties - end - - # Check to see if the all the properties in the model are valid - # @return true if the model is valid - def valid? - true - end - - # Checks equality by comparing each attribute. - # @param [Object] Object to be compared - def ==(o) - return true if self.equal?(o) - self.class == o.class && - code == o.code && - detail == o.detail && - title == o.title - end - - # @see the `==` method - # @param [Object] Object to be compared - def eql?(o) - self == o - end - - # Calculates hash code according to all attributes. - # @return [Integer] Hash code - def hash - [code, detail, title].hash - end - - # Builds the object from hash - # @param [Hash] attributes Model attributes in the form of hash - # @return [Object] Returns the model itself - def self.build_from_hash(attributes) - new.build_from_hash(attributes) - end - - # Builds the object from hash - # @param [Hash] attributes Model attributes in the form of hash - # @return [Object] Returns the model itself - def build_from_hash(attributes) - return nil unless attributes.is_a?(Hash) - self.class.openapi_types.each_pair do |key, type| - if type =~ /\AArray<(.*)>/i - # check to ensure the input is an array given that the attribute - # is documented as an array but the input is not - if attributes[self.class.attribute_map[key]].is_a?(Array) - self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) - end - elsif !attributes[self.class.attribute_map[key]].nil? - self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) - elsif attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) - self.send("#{key}=", nil) - end - end - - self - end - - # Deserializes the data based on type - # @param string type Data type - # @param string value Value to be deserialized - # @return [Object] Deserialized data - def _deserialize(type, value) - case type.to_sym - when :DateTime - DateTime.parse(value) - when :Date - Date.parse(value) - when :String - value.to_s - when :Integer - value.to_i - when :Float - value.to_f - when :Boolean - if value.to_s =~ /\A(true|t|yes|y|1)\z/i - true - else - false - end - when :Object - # generic object (usually a Hash), return directly - value - when /\AArray<(?.+)>\z/ - inner_type = Regexp.last_match[:inner_type] - value.map { |v| _deserialize(inner_type, v) } - when /\AHash<(?.+?), (?.+)>\z/ - k_type = Regexp.last_match[:k_type] - v_type = Regexp.last_match[:v_type] - {}.tap do |hash| - value.each do |k, v| - hash[_deserialize(k_type, k)] = _deserialize(v_type, v) - end - end - else # model - DatadogAPIClient::V2.const_get(type).build_from_hash(value) - end - end - - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - - # Returns the object in the form of hash - # @return [Hash] Returns the object in the form of hash - def to_hash - hash = {} - self.class.attribute_map.each_pair do |attr, param| - value = self.send(attr) - if value.nil? - is_nullable = self.class.openapi_nullable.include?(attr) - next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) - end - - hash[param] = _to_hash(value) - end - hash - end - - # Outputs non-array value in the form of hash - # For object, use to_hash. Otherwise, just return the value - # @param [Object] value Any valid value - # @return [Hash] Returns the value in the form of hash - def _to_hash(value) - if value.is_a?(Array) - value.compact.map { |v| _to_hash(v) } - elsif value.is_a?(Hash) - {}.tap do |hash| - value.each { |k, v| hash[k] = _to_hash(v) } - end - elsif value.respond_to? :to_hash - value.to_hash - else - value - end - end - end -end diff --git a/lib/datadog_api_client/v2/models/user_response_included_item.rb b/lib/datadog_api_client/v2/models/user_response_included_item.rb index 92a64012242..58537eb761f 100644 --- a/lib/datadog_api_client/v2/models/user_response_included_item.rb +++ b/lib/datadog_api_client/v2/models/user_response_included_item.rb @@ -160,6 +160,16 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + + unless self.class.openapi_one_of.empty? + for _class in self.class.openapi_one_of.each do + _one_of = DatadogAPIClient::V2.const_get(_class).build_from_hash(attributes) rescue nil + if _one_of != nil && _one_of.valid? + return _one_of + end + end + end + self.class.openapi_types.each_pair do |key, type| if type =~ /\AArray<(.*)>/i # check to ensure the input is an array given that the attribute @@ -240,7 +250,7 @@ def to_hash is_nullable = self.class.openapi_nullable.include?(attr) next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) end - + hash[param] = _to_hash(value) end hash diff --git a/run-tests.sh b/run-tests.sh index fb326b1056e..9b9c474c746 100755 --- a/run-tests.sh +++ b/run-tests.sh @@ -1,3 +1,15 @@ #!/usr/bin/env bash set -e -echo "TODO" + +function finish { + rm -rf rerun.txt +} +trap finish EXIT + +bundle exec cucumber -t 'not @skip' -f rerun -o rerun.txt -f pretty +RESULT=$? +if [ "$RERECORD_FAILED_TESTS" == "true" -a "$RESULT" -ne 0 ]; then + RECORD=true bundle exec cucumber @rerun.txt + RESULT=$? +fi +exit $RESULT diff --git a/spec/v1/api/authentication_api_spec.rb b/spec/v1/api/authentication_api_spec.rb deleted file mode 100644 index 833e6adc2fb..00000000000 --- a/spec/v1/api/authentication_api_spec.rb +++ /dev/null @@ -1,46 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' - -# Unit tests for DatadogAPIClient::V1::AuthenticationApi -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'AuthenticationApi' do - before do - # run before each test - @api_instance = DatadogAPIClient::V1::AuthenticationApi.new - end - - after do - # run after each test - end - - describe 'test an instance of AuthenticationApi' do - it 'should create an instance of AuthenticationApi' do - expect(@api_instance).to be_instance_of(DatadogAPIClient::V1::AuthenticationApi) - end - end - - # unit tests for validate - # Validate API key - # Check if the API key (not the APP key) is valid. If invalid, a 403 is returned. - # @param [Hash] opts the optional parameters - # @return [AuthenticationValidationResponse] - describe 'validate test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/api/aws_integration_api_spec.rb b/spec/v1/api/aws_integration_api_spec.rb deleted file mode 100644 index 7b62fb365a8..00000000000 --- a/spec/v1/api/aws_integration_api_spec.rb +++ /dev/null @@ -1,111 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' - -# Unit tests for DatadogAPIClient::V1::AWSIntegrationApi -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'AWSIntegrationApi' do - before do - # run before each test - @api_instance = DatadogAPIClient::V1::AWSIntegrationApi.new - end - - after do - # run after each test - end - - describe 'test an instance of AWSIntegrationApi' do - it 'should create an instance of AWSIntegrationApi' do - expect(@api_instance).to be_instance_of(DatadogAPIClient::V1::AWSIntegrationApi) - end - end - - # unit tests for create_aws_account - # Create an AWS integration - # Create a Datadog-Amazon Web Services integration. Using the `POST` method updates your integration configuration by adding your new configuration to the existing one in your Datadog organization. A unique AWS Account ID for role based authentication. - # @param body AWS Request Object - # @param [Hash] opts the optional parameters - # @return [AWSAccountCreateResponse] - describe 'create_aws_account test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for create_new_aws_external_id - # Generate a new external ID - # Generate a new AWS external ID for a given AWS account ID and role name pair. - # @param body Your Datadog role delegation name. For more information about your AWS account Role name, see the [Datadog AWS integration configuration info](https://github.com/DataDog/documentation/blob/master/integrations/amazon_web_services/#installation). - # @param [Hash] opts the optional parameters - # @return [AWSAccountCreateResponse] - describe 'create_new_aws_external_id test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_aws_account - # Delete an AWS integration - # Delete a Datadog-AWS integration matching the specified `account_id` and `role_name parameters`. - # @param body AWS request object - # @param [Hash] opts the optional parameters - # @return [Object] - describe 'delete_aws_account test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_available_aws_namespaces - # List namespace rules - # List all namespace rules for a given Datadog-AWS integration. This endpoint takes no arguments. - # @param [Hash] opts the optional parameters - # @return [Array] - describe 'list_available_aws_namespaces test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_aws_accounts - # List all AWS integrations - # List all Datadog-AWS integrations available in your Datadog organization. - # @param [Hash] opts the optional parameters - # @option opts [String] :account_id Only return AWS accounts that matches this `account_id`. - # @option opts [String] :role_name Only return AWS accounts that matches this role_name. - # @option opts [String] :access_key_id Only return AWS accounts that matches this `access_key_id`. - # @return [AWSAccountListResponse] - describe 'list_aws_accounts test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for update_aws_account - # Update an AWS integration - # Update a Datadog-Amazon Web Services integration. - # @param body AWS request object - # @param [Hash] opts the optional parameters - # @option opts [String] :account_id Only return AWS accounts that matches this `account_id`. - # @option opts [String] :role_name Only return AWS accounts that match this `role_name`. Required if `account_id` is specified. - # @option opts [String] :access_key_id Only return AWS accounts that matches this `access_key_id`. Required if none of the other two options are specified. - # @return [Object] - describe 'update_aws_account test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/api/aws_logs_integration_api_spec.rb b/spec/v1/api/aws_logs_integration_api_spec.rb deleted file mode 100644 index 85d15518260..00000000000 --- a/spec/v1/api/aws_logs_integration_api_spec.rb +++ /dev/null @@ -1,117 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' - -# Unit tests for DatadogAPIClient::V1::AWSLogsIntegrationApi -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'AWSLogsIntegrationApi' do - before do - # run before each test - @api_instance = DatadogAPIClient::V1::AWSLogsIntegrationApi.new - end - - after do - # run after each test - end - - describe 'test an instance of AWSLogsIntegrationApi' do - it 'should create an instance of AWSLogsIntegrationApi' do - expect(@api_instance).to be_instance_of(DatadogAPIClient::V1::AWSLogsIntegrationApi) - end - end - - # unit tests for check_aws_logs_lambda_async - # Check that an AWS Lambda Function exists - # Test if permissions are present to add a log-forwarding triggers for the given services and AWS account. The input is the same as for Enable an AWS service log collection. Subsequent requests will always repeat the above, so this endpoint can be polled intermittently instead of blocking. - Returns a status of 'created' when it's checking if the Lambda exists in the account. - Returns a status of 'waiting' while checking. - Returns a status of 'checked and ok' if the Lambda exists. - Returns a status of 'error' if the Lambda does not exist. - # @param body Check AWS Log Lambda Async request body. - # @param [Hash] opts the optional parameters - # @return [AWSLogsAsyncResponse] - describe 'check_aws_logs_lambda_async test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for check_aws_logs_services_async - # Check permissions for log services - # Test if permissions are present to add log-forwarding triggers for the given services and AWS account. Input is the same as for `EnableAWSLogServices`. Done async, so can be repeatedly polled in a non-blocking fashion until the async request completes. - Returns a status of `created` when it's checking if the permissions exists in the AWS account. - Returns a status of `waiting` while checking. - Returns a status of `checked and ok` if the Lambda exists. - Returns a status of `error` if the Lambda does not exist. - # @param body Check AWS Logs Async Services request body. - # @param [Hash] opts the optional parameters - # @return [AWSLogsAsyncResponse] - describe 'check_aws_logs_services_async test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for create_aws_lambda_arn - # Add AWS Log Lambda ARN - # Attach the Lambda ARN of the Lambda created for the Datadog-AWS log collection to your AWS account ID to enable log collection. - # @param body AWS Log Lambda Async request body. - # @param [Hash] opts the optional parameters - # @return [Object] - describe 'create_aws_lambda_arn test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_aws_lambda_arn - # Delete an AWS Logs integration - # Delete a Datadog-AWS logs configuration by removing the specific Lambda ARN associated with a given AWS account. - # @param body Delete AWS Lambda ARN request body. - # @param [Hash] opts the optional parameters - # @return [Object] - describe 'delete_aws_lambda_arn test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for enable_aws_log_services - # Enable an AWS Logs integration - # Enable automatic log collection for a list of services. This should be run after running `CreateAWSLambdaARN` to save the configuration. - # @param body Enable AWS Log Services request body. - # @param [Hash] opts the optional parameters - # @return [Object] - describe 'enable_aws_log_services test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_aws_logs_integrations - # List all AWS Logs integrations - # List all Datadog-AWS Logs integrations configured in your Datadog account. - # @param [Hash] opts the optional parameters - # @return [Array] - describe 'list_aws_logs_integrations test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_aws_logs_services - # Get list of AWS log ready services - # Get the list of current AWS services that Datadog offers automatic log collection. Use returned service IDs with the services parameter for the Enable an AWS service log collection API endpoint. - # @param [Hash] opts the optional parameters - # @return [Array] - describe 'list_aws_logs_services test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/api/azure_integration_api_spec.rb b/spec/v1/api/azure_integration_api_spec.rb deleted file mode 100644 index 20c8cb3a7bc..00000000000 --- a/spec/v1/api/azure_integration_api_spec.rb +++ /dev/null @@ -1,94 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' - -# Unit tests for DatadogAPIClient::V1::AzureIntegrationApi -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'AzureIntegrationApi' do - before do - # run before each test - @api_instance = DatadogAPIClient::V1::AzureIntegrationApi.new - end - - after do - # run after each test - end - - describe 'test an instance of AzureIntegrationApi' do - it 'should create an instance of AzureIntegrationApi' do - expect(@api_instance).to be_instance_of(DatadogAPIClient::V1::AzureIntegrationApi) - end - end - - # unit tests for create_azure_integration - # Create an Azure integration - # Create a Datadog-Azure integration. Using the `POST` method updates your integration configuration by adding your new configuration to the existing one in your Datadog organization. Using the `PUT` method updates your integration configuration by replacing your current configuration with the new one sent to your Datadog organization. - # @param body Create a Datadog-Azure integration for your Datadog account request body. - # @param [Hash] opts the optional parameters - # @return [Object] - describe 'create_azure_integration test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_azure_integration - # Delete an Azure integration - # Delete a given Datadog-Azure integration from your Datadog account. - # @param body Delete a given Datadog-Azure integration request body. - # @param [Hash] opts the optional parameters - # @return [Object] - describe 'delete_azure_integration test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_azure_integration - # List all Azure integrations - # List all Datadog-Azure integrations configured in your Datadog account. - # @param [Hash] opts the optional parameters - # @return [Array] - describe 'list_azure_integration test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for update_azure_host_filters - # Update Azure integration host filters - # Update the defined list of host filters for a given Datadog-Azure integration. - # @param body Update a Datadog-Azure integration's host filters request body. - # @param [Hash] opts the optional parameters - # @return [Object] - describe 'update_azure_host_filters test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for update_azure_integration - # Update an Azure integration - # Update a Datadog-Azure integration. Requires an existing `tenant_name` and `client_id`. Any other fields supplied will overwrite existing values. To overwrite `tenant_name` or `client_id`, use `new_tenant_name` and `new_client_id`. To leave a field unchanged, do not supply that field in the payload. - # @param body Update a Datadog-Azure integration request body. - # @param [Hash] opts the optional parameters - # @return [Object] - describe 'update_azure_integration test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/api/dashboard_lists_api_spec.rb b/spec/v1/api/dashboard_lists_api_spec.rb deleted file mode 100644 index cd7b3b75cd4..00000000000 --- a/spec/v1/api/dashboard_lists_api_spec.rb +++ /dev/null @@ -1,95 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' - -# Unit tests for DatadogAPIClient::V1::DashboardListsApi -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'DashboardListsApi' do - before do - # run before each test - @api_instance = DatadogAPIClient::V1::DashboardListsApi.new - end - - after do - # run after each test - end - - describe 'test an instance of DashboardListsApi' do - it 'should create an instance of DashboardListsApi' do - expect(@api_instance).to be_instance_of(DatadogAPIClient::V1::DashboardListsApi) - end - end - - # unit tests for create_dashboard_list - # Create a dashboard list - # Create an empty dashboard list. - # @param body Create a dashboard list request body. - # @param [Hash] opts the optional parameters - # @return [DashboardList] - describe 'create_dashboard_list test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_dashboard_list - # Delete a dashboard list - # Delete a dashboard list. - # @param list_id ID of the dashboard list to delete. - # @param [Hash] opts the optional parameters - # @return [DashboardListDeleteResponse] - describe 'delete_dashboard_list test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for get_dashboard_list - # Get a dashboard list - # Fetch an existing dashboard list's definition. - # @param list_id ID of the dashboard list to fetch. - # @param [Hash] opts the optional parameters - # @return [DashboardList] - describe 'get_dashboard_list test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_dashboard_lists - # Get all dashboard lists - # Fetch all of your existing dashboard list definitions. - # @param [Hash] opts the optional parameters - # @return [DashboardListListResponse] - describe 'list_dashboard_lists test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for update_dashboard_list - # Update a dashboard list - # Update the name of a dashboard list. - # @param list_id ID of the dashboard list to update. - # @param body Update a dashboard list request body. - # @param [Hash] opts the optional parameters - # @return [DashboardList] - describe 'update_dashboard_list test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/api/dashboards_api_spec.rb b/spec/v1/api/dashboards_api_spec.rb deleted file mode 100644 index 0cf175ae320..00000000000 --- a/spec/v1/api/dashboards_api_spec.rb +++ /dev/null @@ -1,95 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' - -# Unit tests for DatadogAPIClient::V1::DashboardsApi -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'DashboardsApi' do - before do - # run before each test - @api_instance = DatadogAPIClient::V1::DashboardsApi.new - end - - after do - # run after each test - end - - describe 'test an instance of DashboardsApi' do - it 'should create an instance of DashboardsApi' do - expect(@api_instance).to be_instance_of(DatadogAPIClient::V1::DashboardsApi) - end - end - - # unit tests for create_dashboard - # Create a new dashboard - # Create a dashboard using the specified options. - # @param body Create a dashboard request body. - # @param [Hash] opts the optional parameters - # @return [Dashboard] - describe 'create_dashboard test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_dashboard - # Delete a dashboard - # Delete a dashboard using the specified ID. - # @param dashboard_id The ID of the dashboard. - # @param [Hash] opts the optional parameters - # @return [DashboardDeleteResponse] - describe 'delete_dashboard test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for get_dashboard - # Get a dashboard - # Get a dashboard using the specified ID. - # @param dashboard_id The ID of the dashboard. - # @param [Hash] opts the optional parameters - # @return [Dashboard] - describe 'get_dashboard test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_dashboards - # Get all dashboards - # Get all dashboards. **Note**: This query will only return custom created or cloned dashboards. This query will not return preset dashboards. - # @param [Hash] opts the optional parameters - # @return [DashboardSummary] - describe 'list_dashboards test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for update_dashboard - # Update a dashboard - # Update a dashboard using the specified ID. - # @param dashboard_id The ID of the dashboard. - # @param body Update Dashboard request body. - # @param [Hash] opts the optional parameters - # @return [Dashboard] - describe 'update_dashboard test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/api/downtimes_api_spec.rb b/spec/v1/api/downtimes_api_spec.rb deleted file mode 100644 index de7abb27731..00000000000 --- a/spec/v1/api/downtimes_api_spec.rb +++ /dev/null @@ -1,108 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' - -# Unit tests for DatadogAPIClient::V1::DowntimesApi -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'DowntimesApi' do - before do - # run before each test - @api_instance = DatadogAPIClient::V1::DowntimesApi.new - end - - after do - # run after each test - end - - describe 'test an instance of DowntimesApi' do - it 'should create an instance of DowntimesApi' do - expect(@api_instance).to be_instance_of(DatadogAPIClient::V1::DowntimesApi) - end - end - - # unit tests for cancel_downtime - # Cancel a downtime - # Cancel a downtime. - # @param downtime_id ID of the downtime to cancel. - # @param [Hash] opts the optional parameters - # @return [nil] - describe 'cancel_downtime test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for cancel_downtimes_by_scope - # Cancel downtimes by scope - # Delete all downtimes that match the scope of `X`. - # @param body Scope to cancel downtimes for. - # @param [Hash] opts the optional parameters - # @return [CanceledDowntimesIds] - describe 'cancel_downtimes_by_scope test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for create_downtime - # Schedule a downtime - # Schedule a downtime. - # @param body Schedule a downtime request body. - # @param [Hash] opts the optional parameters - # @return [Downtime] - describe 'create_downtime test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for get_downtime - # Get a downtime - # Get downtime detail by `downtime_id`. - # @param downtime_id ID of the downtime to fetch. - # @param [Hash] opts the optional parameters - # @return [Downtime] - describe 'get_downtime test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_downtimes - # Get all downtimes - # Get all scheduled downtimes. - # @param [Hash] opts the optional parameters - # @option opts [Boolean] :current_only Only return downtimes that are active when the request is made. - # @return [Array] - describe 'list_downtimes test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for update_downtime - # Update a downtime - # Update a single downtime by `downtime_id`. - # @param downtime_id ID of the downtime to update. - # @param body Update a downtime request body. - # @param [Hash] opts the optional parameters - # @return [Downtime] - describe 'update_downtime test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/api/events_api_spec.rb b/spec/v1/api/events_api_spec.rb deleted file mode 100644 index cb92092b32b..00000000000 --- a/spec/v1/api/events_api_spec.rb +++ /dev/null @@ -1,64 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' - -# Unit tests for DatadogAPIClient::V1::EventsApi -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'EventsApi' do - before do - # run before each test - @api_instance = DatadogAPIClient::V1::EventsApi.new - end - - after do - # run after each test - end - - describe 'test an instance of EventsApi' do - it 'should create an instance of EventsApi' do - expect(@api_instance).to be_instance_of(DatadogAPIClient::V1::EventsApi) - end - end - - # unit tests for get_event - # Get an event - # This endpoint allows you to query for event details. **Note**: If the event you’re querying contains markdown formatting of any kind, you may see characters such as `%`,`\\`,`n` in your output. - # @param event_id The ID of the event. - # @param [Hash] opts the optional parameters - # @return [EventResponse] - describe 'get_event test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_events - # Query the event stream - # The event stream can be queried and filtered by time, priority, sources and tags. **Note**: If the event you’re querying contains markdown formatting of any kind, you may see characters such as %,\\,n in your output. - # @param start POSIX timestamp. - # @param _end POSIX timestamp. - # @param [Hash] opts the optional parameters - # @option opts [EventPriority] :priority Priority of your events, either `low` or `normal`. - # @option opts [String] :sources A comma separated string of sources. - # @option opts [String] :tags A comma separated list indicating what tags, if any, should be used to filter the list of monitors by scope. - # @option opts [Boolean] :unaggregated Set unaggregated to `true` to return all events within the specified [`start`,`end`] timeframe. Otherwise if an event is aggregated to a parent event with a timestamp outside of the timeframe, it won't be available in the output. - # @return [EventListResponse] - describe 'list_events test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/api/gcp_integration_api_spec.rb b/spec/v1/api/gcp_integration_api_spec.rb deleted file mode 100644 index ab44d5f41c5..00000000000 --- a/spec/v1/api/gcp_integration_api_spec.rb +++ /dev/null @@ -1,82 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' - -# Unit tests for DatadogAPIClient::V1::GCPIntegrationApi -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'GCPIntegrationApi' do - before do - # run before each test - @api_instance = DatadogAPIClient::V1::GCPIntegrationApi.new - end - - after do - # run after each test - end - - describe 'test an instance of GCPIntegrationApi' do - it 'should create an instance of GCPIntegrationApi' do - expect(@api_instance).to be_instance_of(DatadogAPIClient::V1::GCPIntegrationApi) - end - end - - # unit tests for create_gcp_integration - # Create a GCP integration - # Create a Datadog-GCP integration. - # @param body Create a Datadog-GCP integration. - # @param [Hash] opts the optional parameters - # @return [Object] - describe 'create_gcp_integration test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_gcp_integration - # Delete a GCP integration - # Delete a given Datadog-GCP integration. - # @param body Delete a given Datadog-GCP integration. - # @param [Hash] opts the optional parameters - # @return [Object] - describe 'delete_gcp_integration test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_gcp_integration - # List all GCP integrations - # List all Datadog-GCP integrations configured in your Datadog account. - # @param [Hash] opts the optional parameters - # @return [Array] - describe 'list_gcp_integration test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for update_gcp_integration - # Update a GCP integration - # Update a Datadog-GCP integrations host_filters and/or auto-mute. Requires a `project_id` and `client_email`, however these fields cannot be updated. If you need to update these fields, delete and use the create (`POST`) endpoint. The unspecified fields will keep their original values. - # @param body Update a Datadog-GCP integration. - # @param [Hash] opts the optional parameters - # @return [Object] - describe 'update_gcp_integration test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/api/hosts_api_spec.rb b/spec/v1/api/hosts_api_spec.rb deleted file mode 100644 index f1aa6e244b0..00000000000 --- a/spec/v1/api/hosts_api_spec.rb +++ /dev/null @@ -1,91 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' - -# Unit tests for DatadogAPIClient::V1::HostsApi -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'HostsApi' do - before do - # run before each test - @api_instance = DatadogAPIClient::V1::HostsApi.new - end - - after do - # run after each test - end - - describe 'test an instance of HostsApi' do - it 'should create an instance of HostsApi' do - expect(@api_instance).to be_instance_of(DatadogAPIClient::V1::HostsApi) - end - end - - # unit tests for get_host_totals - # Get the total number of active hosts - # This endpoint returns the total number of active and up hosts in your Datadog account. Active means the host has reported in the past hour, and up means it has reported in the past two hours. - # @param [Hash] opts the optional parameters - # @option opts [Integer] :from Number of seconds from which you want to get total number of active hosts. - # @return [HostTotals] - describe 'get_host_totals test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_hosts - # Get all hosts for your organization - # This endpoint allows searching for hosts by name, alias, or tag. Hosts live within the past 3 hours are included by default. Retention is 7 days. Results are paginated with a max of 1000 results at a time. - # @param [Hash] opts the optional parameters - # @option opts [String] :filter String to filter search results. - # @option opts [String] :sort_field Sort hosts by this field. - # @option opts [String] :sort_dir Direction of sort. Options include `asc` and `desc`. - # @option opts [Integer] :start Host result to start search from. - # @option opts [Integer] :count Number of hosts to return. Max 1000. - # @option opts [Integer] :from Number of seconds since UNIX epoch from which you want to search your hosts. - # @option opts [Boolean] :include_muted_hosts_data Include information on the muted status of hosts and when the mute expires. - # @option opts [Boolean] :include_hosts_metadata Include additional metadata about the hosts (agent_version, machine, platform, processor, etc.). - # @return [HostListResponse] - describe 'list_hosts test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for mute_host - # Mute a host - # Mute a host. - # @param host_name Name of the host to mute. - # @param [Hash] opts the optional parameters - # @option opts [HostMuteSettings] :body Mute a host request body. - # @return [HostMuteResponse] - describe 'mute_host test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for unmute_host - # Unmute a host - # Unmutes a host. This endpoint takes no JSON arguments. - # @param host_name Name of the host to unmute. - # @param [Hash] opts the optional parameters - # @return [HostMuteResponse] - describe 'unmute_host test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/api/ip_ranges_api_spec.rb b/spec/v1/api/ip_ranges_api_spec.rb deleted file mode 100644 index a1852963c17..00000000000 --- a/spec/v1/api/ip_ranges_api_spec.rb +++ /dev/null @@ -1,46 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' - -# Unit tests for DatadogAPIClient::V1::IPRangesApi -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'IPRangesApi' do - before do - # run before each test - @api_instance = DatadogAPIClient::V1::IPRangesApi.new - end - - after do - # run after each test - end - - describe 'test an instance of IPRangesApi' do - it 'should create an instance of IPRangesApi' do - expect(@api_instance).to be_instance_of(DatadogAPIClient::V1::IPRangesApi) - end - end - - # unit tests for get_ip_ranges - # List IP Ranges - # Get information about Datadog IP ranges. - # @param [Hash] opts the optional parameters - # @return [IPRanges] - describe 'get_ip_ranges test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/api/key_management_api_spec.rb b/spec/v1/api/key_management_api_spec.rb deleted file mode 100644 index 82c60fea5ab..00000000000 --- a/spec/v1/api/key_management_api_spec.rb +++ /dev/null @@ -1,155 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' - -# Unit tests for DatadogAPIClient::V1::KeyManagementApi -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'KeyManagementApi' do - before do - # run before each test - @api_instance = DatadogAPIClient::V1::KeyManagementApi.new - end - - after do - # run after each test - end - - describe 'test an instance of KeyManagementApi' do - it 'should create an instance of KeyManagementApi' do - expect(@api_instance).to be_instance_of(DatadogAPIClient::V1::KeyManagementApi) - end - end - - # unit tests for create_api_key - # Create an API key - # Creates an API key with a given name. - # @param body - # @param [Hash] opts the optional parameters - # @return [ApiKeyResponse] - describe 'create_api_key test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for create_application_key - # Create an application key - # Create an application key with a given name. - # @param body - # @param [Hash] opts the optional parameters - # @return [ApplicationKeyResponse] - describe 'create_application_key test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_api_key - # Delete an API key - # Delete a given API key. - # @param key The specific API key you are working with. - # @param [Hash] opts the optional parameters - # @return [ApiKeyResponse] - describe 'delete_api_key test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_application_key - # Delete an application key - # Delete a given application key. - # @param key The specific APP key you are working with. - # @param [Hash] opts the optional parameters - # @return [ApplicationKeyResponse] - describe 'delete_application_key test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for get_api_key - # Get API key - # Get a given API key. - # @param key The specific API key you are working with. - # @param [Hash] opts the optional parameters - # @return [ApiKeyResponse] - describe 'get_api_key test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for get_application_key - # Get an application key - # Get a given application key. - # @param key The specific APP key you are working with. - # @param [Hash] opts the optional parameters - # @return [ApplicationKeyResponse] - describe 'get_application_key test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_api_keys - # Get all API keys - # Get all API keys available for your account. - # @param [Hash] opts the optional parameters - # @return [ApiKeyListResponse] - describe 'list_api_keys test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_application_keys - # Get all application keys - # Get all application keys available for your Datadog account. - # @param [Hash] opts the optional parameters - # @return [ApplicationKeyListResponse] - describe 'list_application_keys test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for update_api_key - # Edit an API key - # Edit an API key name. - # @param key The specific API key you are working with. - # @param body - # @param [Hash] opts the optional parameters - # @return [ApiKeyResponse] - describe 'update_api_key test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for update_application_key - # Edit an application key - # Edit an application key name. - # @param key The specific APP key you are working with. - # @param body - # @param [Hash] opts the optional parameters - # @return [ApplicationKeyResponse] - describe 'update_application_key test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/api/logs_api_spec.rb b/spec/v1/api/logs_api_spec.rb deleted file mode 100644 index 6aca20f9293..00000000000 --- a/spec/v1/api/logs_api_spec.rb +++ /dev/null @@ -1,47 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' - -# Unit tests for DatadogAPIClient::V1::LogsApi -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogsApi' do - before do - # run before each test - @api_instance = DatadogAPIClient::V1::LogsApi.new - end - - after do - # run after each test - end - - describe 'test an instance of LogsApi' do - it 'should create an instance of LogsApi' do - expect(@api_instance).to be_instance_of(DatadogAPIClient::V1::LogsApi) - end - end - - # unit tests for list_logs - # Get a list of logs - # List endpoint returns logs that match a log search query. [Results are paginated][1]. **If you are considering archiving logs for your organization, consider use of the Datadog archive capabilities instead of the log list API. See [Datadog Logs Archive documentation][2].** [1]: /logs/guide/collect-multiple-logs-with-pagination [2]: https://docs.datadoghq.com/logs/archives - # @param body Logs filter - # @param [Hash] opts the optional parameters - # @return [LogsListResponse] - describe 'list_logs test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/api/logs_indexes_api_spec.rb b/spec/v1/api/logs_indexes_api_spec.rb deleted file mode 100644 index 71874ba9242..00000000000 --- a/spec/v1/api/logs_indexes_api_spec.rb +++ /dev/null @@ -1,94 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' - -# Unit tests for DatadogAPIClient::V1::LogsIndexesApi -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogsIndexesApi' do - before do - # run before each test - @api_instance = DatadogAPIClient::V1::LogsIndexesApi.new - end - - after do - # run after each test - end - - describe 'test an instance of LogsIndexesApi' do - it 'should create an instance of LogsIndexesApi' do - expect(@api_instance).to be_instance_of(DatadogAPIClient::V1::LogsIndexesApi) - end - end - - # unit tests for get_logs_index - # Get an index - # Get one log index from your organization. This endpoint takes no JSON arguments. - # @param name Name of the log index. - # @param [Hash] opts the optional parameters - # @return [LogsIndex] - describe 'get_logs_index test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for get_logs_index_order - # Get indexes order - # Get the current order of your log indexes. This endpoint takes no JSON arguments. - # @param [Hash] opts the optional parameters - # @return [LogsIndexesOrder] - describe 'get_logs_index_order test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_log_indexes - # Get all indexes - # The Index object describes the configuration of a log index. This endpoint returns an array of the `LogIndex` objects of your organization. - # @param [Hash] opts the optional parameters - # @return [LogsIndexListResponse] - describe 'list_log_indexes test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for update_logs_index - # Update an index - # Update an index as identified by its name. Returns the Index object passed in the request body when the request is successful. Using the `PUT` method updates your index’s configuration by **replacing** your current configuration with the new one sent to your Datadog organization. - # @param name Name of the log index. - # @param [Hash] opts the optional parameters - # @option opts [LogsIndex] :body Object containing the new `LogsIndex`. - # @return [LogsIndex] - describe 'update_logs_index test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for update_logs_index_order - # Update indexes order - # This endpoint updates the index order of your organization. It returns the index order object passed in the request body when the request is successful. - # @param [Hash] opts the optional parameters - # @option opts [LogsIndexesOrder] :body Object containing the new ordered list of index names - # @return [LogsIndexesOrder] - describe 'update_logs_index_order test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/api/logs_pipelines_api_spec.rb b/spec/v1/api/logs_pipelines_api_spec.rb deleted file mode 100644 index 9224d38b908..00000000000 --- a/spec/v1/api/logs_pipelines_api_spec.rb +++ /dev/null @@ -1,118 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' - -# Unit tests for DatadogAPIClient::V1::LogsPipelinesApi -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogsPipelinesApi' do - before do - # run before each test - @api_instance = DatadogAPIClient::V1::LogsPipelinesApi.new - end - - after do - # run after each test - end - - describe 'test an instance of LogsPipelinesApi' do - it 'should create an instance of LogsPipelinesApi' do - expect(@api_instance).to be_instance_of(DatadogAPIClient::V1::LogsPipelinesApi) - end - end - - # unit tests for create_logs_pipeline - # Create a pipeline - # Create a pipeline in your organization. - # @param body Definition of the new pipeline. - # @param [Hash] opts the optional parameters - # @return [LogsPipeline] - describe 'create_logs_pipeline test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_logs_pipeline - # Delete a pipeline - # Delete a given pipeline from your organization. This endpoint takes no JSON arguments. - # @param pipeline_id ID of the pipeline to delete. - # @param [Hash] opts the optional parameters - # @return [nil] - describe 'delete_logs_pipeline test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for get_logs_pipeline - # Get a pipeline - # Get a specific pipeline from your organization. This endpoint takes no JSON arguments. - # @param pipeline_id ID of the pipeline to get. - # @param [Hash] opts the optional parameters - # @return [LogsPipeline] - describe 'get_logs_pipeline test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for get_logs_pipeline_order - # Get pipeline order - # Get the current order of your pipelines. This endpoint takes no JSON arguments. - # @param [Hash] opts the optional parameters - # @return [LogsPipelinesOrder] - describe 'get_logs_pipeline_order test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_logs_pipelines - # Get all pipelines - # Get all pipelines from your organization. This endpoint takes no JSON arguments. - # @param [Hash] opts the optional parameters - # @return [Array] - describe 'list_logs_pipelines test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for update_logs_pipeline - # Update a pipeline - # Update a given pipeline configuration to change it’s processors or their order. **Note**: Using this method updates your pipeline configuration by **replacing** your current configuration with the new one sent to your Datadog organization. - # @param pipeline_id ID of the pipeline to delete. - # @param body New definition of the pipeline. - # @param [Hash] opts the optional parameters - # @return [LogsPipeline] - describe 'update_logs_pipeline test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for update_logs_pipeline_order - # Update pipeline order - # Update the order of your pipelines. Since logs are processed sequentially, reordering a pipeline may change the structure and content of the data processed by other pipelines and their processors. **Note**: Using the `PUT` method updates your pipeline order by replacing your current order with the new one sent to your Datadog organization. - # @param body Object containing the new ordered list of pipeline IDs. - # @param [Hash] opts the optional parameters - # @return [LogsPipelinesOrder] - describe 'update_logs_pipeline_order test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/api/metrics_api_spec.rb b/spec/v1/api/metrics_api_spec.rb deleted file mode 100644 index 21f0eb21eff..00000000000 --- a/spec/v1/api/metrics_api_spec.rb +++ /dev/null @@ -1,99 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' - -# Unit tests for DatadogAPIClient::V1::MetricsApi -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'MetricsApi' do - before do - # run before each test - @api_instance = DatadogAPIClient::V1::MetricsApi.new - end - - after do - # run after each test - end - - describe 'test an instance of MetricsApi' do - it 'should create an instance of MetricsApi' do - expect(@api_instance).to be_instance_of(DatadogAPIClient::V1::MetricsApi) - end - end - - # unit tests for get_metric_metadata - # Get metric metadata - # Get metadata about a specific metric. - # @param metric_name Name of the metric for which to get metadata. - # @param [Hash] opts the optional parameters - # @return [MetricMetadata] - describe 'get_metric_metadata test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_active_metrics - # Get active metrics list - # Get the list of actively reporting metrics from a given time until now. - # @param from Seconds since the Unix epoch. - # @param [Hash] opts the optional parameters - # @option opts [String] :host Hostname for filtering the list of metrics returned. If set, metrics retrieved are those with the corresponding hostname tag. - # @return [MetricsListResponse] - describe 'list_active_metrics test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_metrics - # Search metrics - # Search for metrics from the last 24 hours in Datadog. - # @param q Query string to search metrics upon. Must be prefixed with `metrics:`. - # @param [Hash] opts the optional parameters - # @return [MetricSearchResponse] - describe 'list_metrics test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for query_metrics - # Query timeseries points - # Query timeseries points. - # @param from Start of the queried time period, seconds since the Unix epoch. - # @param to End of the queried time period, seconds since the Unix epoch. - # @param query Query string. - # @param [Hash] opts the optional parameters - # @return [MetricsQueryResponse] - describe 'query_metrics test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for update_metric_metadata - # Edit metric metadata - # Edit metadata of a specific metric. Find out more about [supported types](https://docs.datadoghq.com/developers/metrics). - # @param metric_name Name of the metric for which to edit metadata. - # @param body New metadata. - # @param [Hash] opts the optional parameters - # @return [MetricMetadata] - describe 'update_metric_metadata test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/api/monitors_api_spec.rb b/spec/v1/api/monitors_api_spec.rb deleted file mode 100644 index cbc1fdb3760..00000000000 --- a/spec/v1/api/monitors_api_spec.rb +++ /dev/null @@ -1,129 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' - -# Unit tests for DatadogAPIClient::V1::MonitorsApi -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'MonitorsApi' do - before do - # run before each test - @api_instance = DatadogAPIClient::V1::MonitorsApi.new - end - - after do - # run after each test - end - - describe 'test an instance of MonitorsApi' do - it 'should create an instance of MonitorsApi' do - expect(@api_instance).to be_instance_of(DatadogAPIClient::V1::MonitorsApi) - end - end - - # unit tests for check_can_delete_monitor - # Check if a monitor can be deleted - # Check if the given monitors can be deleted. - # @param monitor_ids The IDs of the monitor to check. - # @param [Hash] opts the optional parameters - # @return [CheckCanDeleteMonitorResponse] - describe 'check_can_delete_monitor test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for create_monitor - # Create a monitor - # Create a monitor using the specified options. #### Monitor Types The type of monitor chosen from: - anomaly: `query alert` - APM: `query alert` or `trace-analytics alert` - composite: `composite` - custom: `service check` - event: `event alert` - forecast: `query alert` - host: `service check` - integration: `query alert` or `service check` - live process: `process alert` - logs: `log alert` - metric: `metric alert` - network: `service check` - outlier: `query alert` - process: `service check` - rum: `rum alert` - watchdog: `event alert` #### Query Types **Metric Alert Query** Example: `time_aggr(time_window):space_aggr:metric{tags} [by {key}] operator #` - `time_aggr`: avg, sum, max, min, change, or pct_change - `time_window`: `last_#m` (with `#` being 5, 10, 15, or 30) or `last_#h`(with `#` being 1, 2, or 4), or `last_1d` - `space_aggr`: avg, sum, min, or max - `tags`: one or more tags (comma-separated), or * - `key`: a 'key' in key:value tag syntax; defines a separate alert for each tag in the group (multi-alert) - `operator`: <, <=, >, >=, ==, or != - `#`: an integer or decimal number used to set the threshold If you are using the `_change_` or `_pct_change_` time aggregator, instead use `change_aggr(time_aggr(time_window), timeshift):space_aggr:metric{tags} [by {key}] operator #` with: - `change_aggr` change, pct_change - `time_aggr` avg, sum, max, min [Learn more](https://docs.datadoghq.com/monitors/monitor_types/#define-the-conditions) - `time_window` last\\_#m (1, 5, 10, 15, or 30), last\\_#h (1, 2, or 4), or last_#d (1 or 2) - `timeshift` #m_ago (5, 10, 15, or 30), #h_ago (1, 2, or 4), or 1d_ago Use this to create an outlier monitor using the following query: `avg(last_30m):outliers(avg:system.cpu.user{role:es-events-data} by {host}, 'dbscan', 7) > 0` **Service Check Query** Example: `\"check\".over(tags).last(count).count_by_status()` - **`check`** name of the check, e.g. `datadog.agent.up` - **`tags`** one or more quoted tags (comma-separated), or \"*\". e.g.: `.over(\"env:prod\", \"role:db\")` - **`count`** must be at >= your max threshold (defined in the `options`). e.g. if you want to notify on 1 critical, 3 ok and 2 warn statuses count should be 3. It is limited to 100. **Event Alert Query** Example: `events('sources:nagios status:error,warning priority:normal tags: \"string query\"').rollup(\"count\").last(\"1h\")\"` - **`event`**, the event query string: - **`string_query`** free text query to match against event title and text. - **`sources`** event sources (comma-separated). - **`status`** event statuses (comma-separated). Valid options: error, warn, and info. - **`priority`** event priorities (comma-separated). Valid options: low, normal, all. - **`host`** event reporting host (comma-separated). - **`tags`** event tags (comma-separated). - **`excluded_tags`** excluded event tags (comma-separated). - **`rollup`** the stats roll-up method. `count` is the only supported method now. - **`last`** the timeframe to roll up the counts. Examples: 60s, 4h. Supported timeframes: s, m, h and d. This value should not exceed 48 hours. **Process Alert Query** Example: `processes(search).over(tags).rollup('count').last(timeframe) operator #` - **`search`** free text search string for querying processes. Matching processes match results on the [Live Processes](https://docs.datadoghq.com/infrastructure/process/?tab=linuxwindows) page. - **`tags`** one or more tags (comma-separated) - **`timeframe`** the timeframe to roll up the counts. Examples: 60s, 4h. Supported timeframes: s, m, h and d - **`operator`** <, <=, >, >=, ==, or != - **`#`** an integer or decimal number used to set the threshold **Logs Alert Query** Example: `logs(query).index(index_name).rollup(rollup_method[, measure]).last(time_window) operator #` - **`query`** The search query - following the [Log search syntax](https://docs.datadoghq.com/logs/search_syntax/). - **`index_name`** For multi-index organizations, the log index in which the request is performed. - **`rollup_method`** The stats roll-up method - supports `count`, `avg` and `cardinality`. - **`measure`** For `avg` and cardinality `rollup_method` - specify the measure or the facet name you want to use. - **`time_window`** #m (5, 10, 15, or 30), #h (1, 2, or 4, 24) - **`operator`** `<`, `<=`, `>`, `>=`, `==`, or `!=`. - **`#`** an integer or decimal number used to set the threshold. **Composite Query** Example: `12345 && 67890`, where `12345` and `67890` are the IDs of non-composite monitors * **`name`** [*required*, *default* = **dynamic, based on query**]: The name of the alert. * **`message`** [*required*, *default* = **dynamic, based on query**]: A message to include with notifications for this monitor. Email notifications can be sent to specific users by using the same '@username' notation as events. * **`tags`** [*optional*, *default* = **empty list**]: A list of tags to associate with your monitor. When getting all monitor details via the API, use the `monitor_tags` argument to filter results by these tags. It is only available via the API and isn't visible or editable in the Datadog UI. - # @param body Create a monitor request body. - # @param [Hash] opts the optional parameters - # @return [Monitor] - describe 'create_monitor test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_monitor - # Delete a monitor - # Delete the specified monitor - # @param monitor_id The ID of the monitor. - # @param [Hash] opts the optional parameters - # @option opts [String] :force Delete the monitor even if it's referenced by other resources (e.g. SLO, composite monitor). - # @return [DeletedMonitor] - describe 'delete_monitor test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for get_monitor - # Get a monitor's details - # Get details about the specified monitor from your organization. - # @param monitor_id The ID of the monitor - # @param [Hash] opts the optional parameters - # @option opts [String] :group_states When specified, shows additional information about the group states. Choose one or more from `all`, `alert`, `warn`, and `no data`. - # @return [Monitor] - describe 'get_monitor test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_monitors - # Get all monitor details - # Get details about the specified monitor from your organization. - # @param [Hash] opts the optional parameters - # @option opts [String] :group_states When specified, shows additional information about the group states. Choose one or more from `all`, `alert`, `warn`, and `no data`. - # @option opts [String] :name A string to filter monitors by name. - # @option opts [String] :tags A comma separated list indicating what tags, if any, should be used to filter the list of monitors by scope. For example, `host:host0`. - # @option opts [String] :monitor_tags A comma separated list indicating what service and/or custom tags, if any, should be used to filter the list of monitors. Tags created in the Datadog UI automatically have the service key prepended. For example, `service:my-app`. - # @option opts [Boolean] :with_downtimes If this argument is set to true, then the returned data includes all current downtimes for each monitor. - # @option opts [Integer] :id_offset Monitor ID offset. - # @option opts [Integer] :page The page to start paginating from. If this argument is not specified, the request returns all monitors without pagination. - # @option opts [Integer] :page_size The number of monitors to return per page. If the page argument is not specified, the default behavior returns all monitors without a `page_size` limit. However, if page is specified and `page_size` is not, the argument defaults to 100. - # @return [Array] - describe 'list_monitors test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for update_monitor - # Edit a monitor - # Edit the specified monitor. - # @param monitor_id The ID of the monitor. - # @param body Edit a monitor request body. - # @param [Hash] opts the optional parameters - # @return [Monitor] - describe 'update_monitor test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for validate_monitor - # Validate a monitor - # Validate the monitor provided in the request. - # @param body Monitor request object - # @param [Hash] opts the optional parameters - # @return [Monitor] - describe 'validate_monitor test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/api/organizations_api_spec.rb b/spec/v1/api/organizations_api_spec.rb deleted file mode 100644 index 71e876027e5..00000000000 --- a/spec/v1/api/organizations_api_spec.rb +++ /dev/null @@ -1,96 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' - -# Unit tests for DatadogAPIClient::V1::OrganizationsApi -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'OrganizationsApi' do - before do - # run before each test - @api_instance = DatadogAPIClient::V1::OrganizationsApi.new - end - - after do - # run after each test - end - - describe 'test an instance of OrganizationsApi' do - it 'should create an instance of OrganizationsApi' do - expect(@api_instance).to be_instance_of(DatadogAPIClient::V1::OrganizationsApi) - end - end - - # unit tests for create_child_org - # Create a child organization - # Create a child organization. This endpoint requires the [multi-organization account](https://docs.datadoghq.com/account_management/multi_organization/) feature and must be enabled by [contacting support](https://docs.datadoghq.com/help/). Once a new child organization is created, you can interact with it by using the `org.public_id`, `pi_key.key`, and `application_key.hash` provided in the response. - # @param body Organization object that needs to be created - # @param [Hash] opts the optional parameters - # @return [OrganizationCreateResponse] - describe 'create_child_org test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for get_org - # Get organization information - # Get organization information. - # @param public_id The `public_id` of the organization you are operating within. - # @param [Hash] opts the optional parameters - # @return [OrganizationResponse] - describe 'get_org test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_orgs - # List your managed organizations - # List your managed organizations. - # @param [Hash] opts the optional parameters - # @return [OrganizationListResponse] - describe 'list_orgs test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for update_org - # Update your organization - # Update your organization. - # @param public_id The `public_id` of the organization you are operating within. - # @param body - # @param [Hash] opts the optional parameters - # @return [OrganizationResponse] - describe 'update_org test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for upload_id_p_for_org - # Upload IdP metadata - # There are a couple of options for updating the Identity Provider (IdP) metadata from your SAML IdP. * **Multipart Form-Data**: Post the IdP metadata file using a form post. * **XML Body:** Post the IdP metadata file as the body of the request. - # @param public_id The `public_id` of the organization you are operating with - # @param idp_file The path to the XML metadata file you wish to upload. - # @param [Hash] opts the optional parameters - # @return [IdpResponse] - describe 'upload_id_p_for_org test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/api/pager_duty_integration_api_spec.rb b/spec/v1/api/pager_duty_integration_api_spec.rb deleted file mode 100644 index 1a10ef92f7f..00000000000 --- a/spec/v1/api/pager_duty_integration_api_spec.rb +++ /dev/null @@ -1,84 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' - -# Unit tests for DatadogAPIClient::V1::PagerDutyIntegrationApi -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'PagerDutyIntegrationApi' do - before do - # run before each test - @api_instance = DatadogAPIClient::V1::PagerDutyIntegrationApi.new - end - - after do - # run after each test - end - - describe 'test an instance of PagerDutyIntegrationApi' do - it 'should create an instance of PagerDutyIntegrationApi' do - expect(@api_instance).to be_instance_of(DatadogAPIClient::V1::PagerDutyIntegrationApi) - end - end - - # unit tests for create_pager_duty_integration_service - # Create a new service object - # Create a new service object in the PagerDuty integration. - # @param body Create a new service object request body. - # @param [Hash] opts the optional parameters - # @return [PagerDutyServiceName] - describe 'create_pager_duty_integration_service test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_pager_duty_integration_service - # Delete a single service object - # Delete a single service object in the Datadog-PagerDuty integration. - # @param service_name The service name - # @param [Hash] opts the optional parameters - # @return [nil] - describe 'delete_pager_duty_integration_service test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for get_pager_duty_integration_service - # Get a single service object - # Get service name in the Datadog-PagerDuty integration. - # @param service_name The service name. - # @param [Hash] opts the optional parameters - # @return [PagerDutyServiceName] - describe 'get_pager_duty_integration_service test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for update_pager_duty_integration_service - # Update a single service object - # Update a single service object in the Datadog-PagerDuty integration. - # @param service_name The service name - # @param body Update an existing service object request body. - # @param [Hash] opts the optional parameters - # @return [nil] - describe 'update_pager_duty_integration_service test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/api/service_level_objectives_api_spec.rb b/spec/v1/api/service_level_objectives_api_spec.rb deleted file mode 100644 index b5021109e9c..00000000000 --- a/spec/v1/api/service_level_objectives_api_spec.rb +++ /dev/null @@ -1,135 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' - -# Unit tests for DatadogAPIClient::V1::ServiceLevelObjectivesApi -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'ServiceLevelObjectivesApi' do - before do - # run before each test - @api_instance = DatadogAPIClient::V1::ServiceLevelObjectivesApi.new - end - - after do - # run after each test - end - - describe 'test an instance of ServiceLevelObjectivesApi' do - it 'should create an instance of ServiceLevelObjectivesApi' do - expect(@api_instance).to be_instance_of(DatadogAPIClient::V1::ServiceLevelObjectivesApi) - end - end - - # unit tests for check_can_delete_slo - # Check if SLOs can be safely deleted - # Check if a SLO can be safely deleted. For example, assure an SLO can be deleted without disrupting a dashboard. - # @param ids A comma separated list of the IDs of the service level objectives objects. - # @param [Hash] opts the optional parameters - # @return [CheckCanDeleteSLOResponse] - describe 'check_can_delete_slo test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for create_slo - # Create a SLO object - # Create a service level objective object. - # @param body Service level objective request object. - # @param [Hash] opts the optional parameters - # @return [SLOListResponse] - describe 'create_slo test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_slo - # Delete a SLO - # Permanently delete the specified service level objective object. If an SLO is used in a dashboard, the `DELETE /v1/slo/` endpoint returns a 409 conflict error because the SLO is referenced in a dashboard. - # @param slo_id The ID of the service level objective. - # @param [Hash] opts the optional parameters - # @option opts [String] :force Delete the monitor even if it's referenced by other resources (e.g. SLO, composite monitor). - # @return [SLODeleteResponse] - describe 'delete_slo test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_slo_timeframe_in_bulk - # Bulk Delete SLO Timeframes - # Delete (or partially delete) multiple service level objective objects. This endpoint facilitates deletion of one or more thresholds for one or more service level objective objects. If all thresholds are deleted, the service level objective object is deleted as well. - # @param body Delete multiple service level objective objects request body. - # @param [Hash] opts the optional parameters - # @return [SLOBulkDeleteResponse] - describe 'delete_slo_timeframe_in_bulk test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for get_slo - # Get a SLO's details - # Get a service level objective object. - # @param slo_id The ID of the service level objective object. - # @param [Hash] opts the optional parameters - # @return [SLOResponse] - describe 'get_slo test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for get_slo_history - # Get an SLO's history - # Get a specific SLO’s history, regardless of its SLO type. The detailed history data is structured according to the source data type. For example, metric data is included for event SLOs that use the metric source, and monitor SLO types include the monitor transition history. **Note:** There are different response formats for event based and time based SLOs. Examples of both are shown. - # @param slo_id The ID of the service level objective object. - # @param from_ts The `from` timestamp for the query window in epoch seconds. - # @param to_ts The `to` timestamp for the query window in epoch seconds. - # @param [Hash] opts the optional parameters - # @return [SLOHistoryResponse] - describe 'get_slo_history test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_sl_os - # Search SLOs - # Get multiple service level objective objects by their IDs. - # @param ids A comma separated list of the IDs of the service level objectives objects. - # @param [Hash] opts the optional parameters - # @return [SLOListResponse] - describe 'list_sl_os test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for update_slo - # Update a SLO - # Update the specified service level objective object. - # @param slo_id The ID of the service level objective object. - # @param body The edited service level objective request object. - # @param [Hash] opts the optional parameters - # @return [SLOListResponse] - describe 'update_slo test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/api/snapshots_api_spec.rb b/spec/v1/api/snapshots_api_spec.rb deleted file mode 100644 index bb4d412186f..00000000000 --- a/spec/v1/api/snapshots_api_spec.rb +++ /dev/null @@ -1,52 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' - -# Unit tests for DatadogAPIClient::V1::SnapshotsApi -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SnapshotsApi' do - before do - # run before each test - @api_instance = DatadogAPIClient::V1::SnapshotsApi.new - end - - after do - # run after each test - end - - describe 'test an instance of SnapshotsApi' do - it 'should create an instance of SnapshotsApi' do - expect(@api_instance).to be_instance_of(DatadogAPIClient::V1::SnapshotsApi) - end - end - - # unit tests for get_graph_snapshot - # Take graph snapshots - # Take graph snapshots. **Note**: When a snapshot is created, there is some delay before it is available. - # @param start The POSIX timestamp of the start of the query. - # @param _end The POSIX timestamp of the end of the query. - # @param [Hash] opts the optional parameters - # @option opts [String] :metric_query The metric query. - # @option opts [String] :event_query A query that adds event bands to the graph. - # @option opts [String] :graph_def A JSON document defining the graph. `graph_def` can be used instead of `metric_query`. The JSON document uses the [grammar defined here](https://docs.datadoghq.com/graphing/graphing_json/#grammar) and should be formatted to a single line then URL encoded. - # @option opts [String] :title A title for the graph. If no title is specified, the graph does not have a title. - # @return [GraphSnapshot] - describe 'get_graph_snapshot test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/api/synthetics_api_spec.rb b/spec/v1/api/synthetics_api_spec.rb deleted file mode 100644 index 8f37eb9fe46..00000000000 --- a/spec/v1/api/synthetics_api_spec.rb +++ /dev/null @@ -1,237 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' - -# Unit tests for DatadogAPIClient::V1::SyntheticsApi -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SyntheticsApi' do - before do - # run before each test - @api_instance = DatadogAPIClient::V1::SyntheticsApi.new - end - - after do - # run after each test - end - - describe 'test an instance of SyntheticsApi' do - it 'should create an instance of SyntheticsApi' do - expect(@api_instance).to be_instance_of(DatadogAPIClient::V1::SyntheticsApi) - end - end - - # unit tests for create_global_variable - # Create a global variable - # Create a Synthetics global variable. - # @param body Details of the global variable to create. - # @param [Hash] opts the optional parameters - # @return [SyntheticsGlobalVariable] - describe 'create_global_variable test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for create_test - # Create a test - # Create a Synthetic test. - # @param body Details of the test to create. - # @param [Hash] opts the optional parameters - # @return [SyntheticsTestDetails] - describe 'create_test test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_global_variable - # Delete a global variable - # Delete a Synthetics global variable. - # @param variable_id The ID of the global variable. - # @param [Hash] opts the optional parameters - # @return [nil] - describe 'delete_global_variable test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_tests - # Delete tests - # Delete multiple Synthetic tests by ID. - # @param body Public ID list of the Synthetic tests to be deleted. - # @param [Hash] opts the optional parameters - # @return [SyntheticsDeleteTestsResponse] - describe 'delete_tests test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for edit_global_variable - # Edit a global variable - # Edit a Synthetics global variable. - # @param variable_id The ID of the global variable. - # @param body Details of the global variable to update. - # @param [Hash] opts the optional parameters - # @return [SyntheticsGlobalVariable] - describe 'edit_global_variable test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for get_api_test_latest_results - # Get the test's latest results summaries (API) - # Get the last 50 test results summaries for a given Synthetics API test. - # @param public_id The public ID of the test for which to search results for. - # @param [Hash] opts the optional parameters - # @option opts [Integer] :from_ts Timestamp from which to start querying results. - # @option opts [Integer] :to_ts Timestamp up to which to query results. - # @option opts [Array] :probe_dc Locations for which to query results. - # @return [SyntheticsGetAPITestLatestResultsResponse] - describe 'get_api_test_latest_results test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for get_api_test_result - # Get a test result (API) - # Get a specific full result from a given (API) Synthetic test. - # @param public_id The public ID of the API test to which the target result belongs. - # @param result_id The ID of the result to get. - # @param [Hash] opts the optional parameters - # @return [SyntheticsAPITestResultFull] - describe 'get_api_test_result test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for get_browser_test - # Get a test configuration (browser) - # Get the detailed configuration (including steps) associated with a Synthetics browser test. - # @param public_id The public ID of the test to get details from. - # @param [Hash] opts the optional parameters - # @return [SyntheticsTestDetails] - describe 'get_browser_test test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for get_browser_test_latest_results - # Get the test's latest results summaries (browser) - # Get the last 50 test results summaries for a given Synthetics Browser test. - # @param public_id The public ID of the browser test for which to search results for. - # @param [Hash] opts the optional parameters - # @option opts [Integer] :from_ts Timestamp from which to start querying results. - # @option opts [Integer] :to_ts Timestamp up to which to query results. - # @option opts [Array] :probe_dc Locations for which to query results. - # @return [SyntheticsGetBrowserTestLatestResultsResponse] - describe 'get_browser_test_latest_results test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for get_browser_test_result - # Get a test result (browser) - # Get a specific full result from a given (browser) Synthetic test. - # @param public_id The public ID of the browser test to which the target result belongs. - # @param result_id The ID of the result to get. - # @param [Hash] opts the optional parameters - # @return [SyntheticsBrowserTestResultFull] - describe 'get_browser_test_result test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for get_test - # Get a test configuration (API) - # Get the detailed configuration associated with a Synthetics test. - # @param public_id The public ID of the test to get details from. - # @param [Hash] opts the optional parameters - # @return [SyntheticsTestDetails] - describe 'get_test test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_locations - # Get all locations (public and private) - # Get the list of public and private locations available for Synthetics tests. No arguments required. - # @param [Hash] opts the optional parameters - # @return [SyntheticsLocations] - describe 'list_locations test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_tests - # Get a list of tests - # Get the list of all Synthetic tests (can be filtered by type). - # @param [Hash] opts the optional parameters - # @option opts [String] :check_type API or browser to filter the list by test type, undefined to get the unfiltered list. - # @return [SyntheticsListTestsResponse] - describe 'list_tests test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for trigger_ci_tests - # Trigger some Synthetics tests for CI - # Trigger a set of Synthetics tests for continuous integration - # @param body Details of the test to trigger. - # @param [Hash] opts the optional parameters - # @return [SyntheticsTriggerCITestsResponse] - describe 'trigger_ci_tests test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for update_test - # Edit a test - # Edit the configuration of a Synthetic test. - # @param public_id The public ID of the test to get details from. - # @param body New test details to be saved. - # @param [Hash] opts the optional parameters - # @return [SyntheticsTestDetails] - describe 'update_test test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for update_test_pause_status - # Pause or start a test - # Pause or start a Synthetics test by changing the status. - # @param public_id The public ID of the Synthetic test to update. - # @param body Status to set the given Synthetic test to. - # @param [Hash] opts the optional parameters - # @return [Boolean] - describe 'update_test_pause_status test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/api/tags_api_spec.rb b/spec/v1/api/tags_api_spec.rb deleted file mode 100644 index 2d4e38e534d..00000000000 --- a/spec/v1/api/tags_api_spec.rb +++ /dev/null @@ -1,101 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' - -# Unit tests for DatadogAPIClient::V1::TagsApi -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'TagsApi' do - before do - # run before each test - @api_instance = DatadogAPIClient::V1::TagsApi.new - end - - after do - # run after each test - end - - describe 'test an instance of TagsApi' do - it 'should create an instance of TagsApi' do - expect(@api_instance).to be_instance_of(DatadogAPIClient::V1::TagsApi) - end - end - - # unit tests for create_host_tags - # Add tags to a host - # This endpoint allows you to add new tags to a host, optionally specifying where these tags come from. - # @param host_name This endpoint allows you to add new tags to a host, optionally specifying where the tags came from. - # @param body Update host tags request body. - # @param [Hash] opts the optional parameters - # @option opts [String] :source The source of the tags. [Complete list of source attribute values](https://docs.datadoghq.com/integrations/faq/list-of-api-source-attribute-value). - # @return [HostTags] - describe 'create_host_tags test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_host_tags - # Remove host tags - # This endpoint allows you to remove all user-assigned tags for a single host. - # @param host_name This endpoint allows you to remove all user-assigned tags for a single host. - # @param [Hash] opts the optional parameters - # @option opts [String] :source The source of the tags (e.g. chef, puppet). [Complete list of source attribute values](https://docs.datadoghq.com/integrations/faq/list-of-api-source-attribute-value). - # @return [nil] - describe 'delete_host_tags test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for get_host_tags - # Get host tags - # Return the list of tags that apply to a given host. - # @param host_name When specified, filters list of tags to those tags with the specified source. - # @param [Hash] opts the optional parameters - # @option opts [String] :source Source to filter. - # @return [HostTags] - describe 'get_host_tags test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_host_tags - # Get Tags - # Return a mapping of tags to hosts for your whole infrastructure. - # @param [Hash] opts the optional parameters - # @option opts [String] :source When specified, filters host list to those tags with the specified source. - # @return [TagToHosts] - describe 'list_host_tags test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for update_host_tags - # Update host tags - # This endpoint allows you to update/replace all tags in an integration source with those supplied in the request. - # @param host_name This endpoint allows you to update/replace all in an integration source with those supplied in the request. - # @param body Add tags to host - # @param [Hash] opts the optional parameters - # @option opts [String] :source The source of the tags (e.g. chef, puppet). [Complete list of source attribute values](https://docs.datadoghq.com/integrations/faq/list-of-api-source-attribute-value) - # @return [HostTags] - describe 'update_host_tags test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/api/usage_metering_api_spec.rb b/spec/v1/api/usage_metering_api_spec.rb deleted file mode 100644 index affcf20cbd7..00000000000 --- a/spec/v1/api/usage_metering_api_spec.rb +++ /dev/null @@ -1,350 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' - -# Unit tests for DatadogAPIClient::V1::UsageMeteringApi -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'UsageMeteringApi' do - before do - # run before each test - @api_instance = DatadogAPIClient::V1::UsageMeteringApi.new - end - - after do - # run after each test - end - - describe 'test an instance of UsageMeteringApi' do - it 'should create an instance of UsageMeteringApi' do - expect(@api_instance).to be_instance_of(DatadogAPIClient::V1::UsageMeteringApi) - end - end - - # unit tests for get_daily_custom_reports - # Get the list of available daily custom reports - # Get daily custom reports. - # @param [Hash] opts the optional parameters - # @option opts [Integer] :page_size The number of files to return in the response. `[default=60]`. - # @option opts [Integer] :page_number The identifier of the first page to return. This parameter is used for the pagination feature `[default=0]`. - # @option opts [UsageSortDirection] :sort_dir The direction to sort by: `[desc, asc]`. - # @option opts [UsageSort] :sort The field to sort by: `[computed_on, size, start_date, end_date]`. - # @return [UsageCustomReportsResponse] - describe 'get_daily_custom_reports test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for get_monthly_custom_reports - # Get the list of available monthly custom reports - # Get monthly custom reports. - # @param [Hash] opts the optional parameters - # @option opts [Integer] :page_size The number of files to return in the response `[default=60].` - # @option opts [Integer] :page_number The identifier of the first page to return. This parameter is used for the pagination feature `[default=0]`. - # @option opts [UsageSortDirection] :sort_dir The direction to sort by: `[desc, asc]`. - # @option opts [UsageSort] :sort The field to sort by: `[computed_on, size, start_date, end_date]`. - # @return [UsageCustomReportsResponse] - describe 'get_monthly_custom_reports test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for get_specified_daily_custom_reports - # Get specified daily custom reports - # Get specified daily custom reports. - # @param report_id The specified ID to search results for. - # @param [Hash] opts the optional parameters - # @return [UsageSpecifiedCustomReportsResponse] - describe 'get_specified_daily_custom_reports test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for get_specified_monthly_custom_reports - # Get specified monthly custom reports - # Get specified monthly custom reports. - # @param report_id The specified ID to search results for. - # @param [Hash] opts the optional parameters - # @return [UsageSpecifiedCustomReportsResponse] - describe 'get_specified_monthly_custom_reports test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for get_tracing_without_limits - # Get hourly usage for tracing without limits - # Get hourly usage for tracing without limits. - # @param start_hr Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage beginning at this hour. - # @param [Hash] opts the optional parameters - # @option opts [DateTime] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage ending **before** this hour. - # @return [UsageTracingWithoutLimitsResponse] - describe 'get_tracing_without_limits test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for get_usage_analyzed_logs - # Get hourly usage for analyzed logs - # Get hourly usage for analyzed logs (Security Monitoring). - # @param start_hr Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage beginning at this hour. - # @param [Hash] opts the optional parameters - # @option opts [DateTime] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage ending **before** this hour. - # @return [UsageAnalyzedLogsResponse] - describe 'get_usage_analyzed_logs test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for get_usage_billable_summary - # Get billable usage across your multi-org account - # Get billable usage across your multi-org account. - # @param [Hash] opts the optional parameters - # @option opts [DateTime] :month Datetime in ISO-8601 format, UTC, precise to month: `[YYYY-MM]` for usage starting this month. - # @return [UsageBillableSummaryResponse] - describe 'get_usage_billable_summary test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for get_usage_fargate - # Get hourly usage for Fargate - # Get hourly usage for [Fargate](https://docs.datadoghq.com/integrations/ecs_fargate/). - # @param start_hr Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage beginning at this hour. - # @param [Hash] opts the optional parameters - # @option opts [DateTime] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage ending **before** this hour. - # @return [UsageFargateResponse] - describe 'get_usage_fargate test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for get_usage_hosts - # Get hourly usage for hosts and containers - # Get hourly usage for hosts and containers. - # @param start_hr Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage beginning at this hour. - # @param [Hash] opts the optional parameters - # @option opts [DateTime] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage ending **before** this hour. - # @return [UsageHostsResponse] - describe 'get_usage_hosts test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for get_usage_lambda - # Get hourly usage for Lambda - # Get hourly usage for lambda. - # @param start_hr Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage beginning at this hour. - # @param [Hash] opts the optional parameters - # @option opts [DateTime] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage ending **before** this hour. - # @return [UsageLambdaResponse] - describe 'get_usage_lambda test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for get_usage_logs - # Get hourly usage for Logs - # Get hourly usage for logs. - # @param start_hr Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage beginning at this hour. - # @param [Hash] opts the optional parameters - # @option opts [DateTime] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage ending **before** this hour. - # @return [UsageLogsResponse] - describe 'get_usage_logs test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for get_usage_logs_by_index - # Get hourly usage for Logs by Index - # Get hourly usage for logs by index. - # @param start_hr Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage beginning at this hour. - # @param [Hash] opts the optional parameters - # @option opts [DateTime] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage ending **before** this hour. - # @option opts [Array] :index_name Comma-separated list of log index names. - # @return [UsageLogsByIndexResponse] - describe 'get_usage_logs_by_index test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for get_usage_network_flows - # Get hourly usage for Network Flows - # Get hourly usage for network flows. - # @param start_hr Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage beginning at this hour. - # @param [Hash] opts the optional parameters - # @option opts [DateTime] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage ending **before** this hour. - # @return [UsageNetworkFlowsResponse] - describe 'get_usage_network_flows test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for get_usage_network_hosts - # Get hourly usage for Network Hosts - # Get hourly usage for network hosts. - # @param start_hr Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage beginning at this hour. - # @param [Hash] opts the optional parameters - # @option opts [DateTime] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage ending **before** this hour. - # @return [UsageNetworkHostsResponse] - describe 'get_usage_network_hosts test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for get_usage_profiling - # Get hourly usage for profiled hosts - # Get hourly usage for profiled hosts. - # @param start_hr Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage beginning at this hour. - # @param [Hash] opts the optional parameters - # @option opts [DateTime] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage ending **before** this hour. - # @return [UsageProfilingResponse] - describe 'get_usage_profiling test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for get_usage_rum_sessions - # Get hourly usage for RUM Sessions - # Get hourly usage for [RUM](https://docs.datadoghq.com/real_user_monitoring/) Sessions. - # @param start_hr Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage beginning at this hour. - # @param [Hash] opts the optional parameters - # @option opts [DateTime] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage ending **before** this hour. - # @return [UsageRumSessionsResponse] - describe 'get_usage_rum_sessions test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for get_usage_snmp - # Get hourly usage for SNMP devices - # Get hourly usage for SNMP devices. - # @param start_hr Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage beginning at this hour. - # @param [Hash] opts the optional parameters - # @option opts [DateTime] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage ending **before** this hour. - # @return [UsageSNMPResponse] - describe 'get_usage_snmp test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for get_usage_summary - # Get usage across your multi-org account - # Get usage across your multi-org account. - # @param start_month Datetime in ISO-8601 format, UTC, precise to month: `[YYYY-MM]` for usage beginning in this month. Maximum of 15 months ago. - # @param [Hash] opts the optional parameters - # @option opts [DateTime] :end_month Datetime in ISO-8601 format, UTC, precise to month: `[YYYY-MM]` for usage ending this month. - # @option opts [Boolean] :include_org_details Include usage summaries for each sub-org. - # @return [UsageSummaryResponse] - describe 'get_usage_summary test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for get_usage_synthetics - # Get hourly usage for Synthetics Checks - # Get hourly usage for [Synthetics checks](https://docs.datadoghq.com/synthetics/). - # @param start_hr Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage beginning at this hour. - # @param [Hash] opts the optional parameters - # @option opts [DateTime] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage ending **before** this hour. - # @return [UsageSyntheticsResponse] - describe 'get_usage_synthetics test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for get_usage_synthetics_api - # Get hourly usage for Synthetics API Checks - # Get hourly usage for [synthetics API checks](https://docs.datadoghq.com/synthetics/). - # @param start_hr Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage beginning at this hour. - # @param [Hash] opts the optional parameters - # @option opts [DateTime] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage ending **before** this hour. - # @return [UsageSyntheticsAPIResponse] - describe 'get_usage_synthetics_api test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for get_usage_synthetics_browser - # Get hourly usage for Synthetics Browser Checks - # Get hourly usage for synthetics browser checks. - # @param start_hr Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage beginning at this hour. - # @param [Hash] opts the optional parameters - # @option opts [DateTime] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage ending **before** this hour. - # @return [UsageSyntheticsBrowserResponse] - describe 'get_usage_synthetics_browser test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for get_usage_timeseries - # Get hourly usage for custom metrics - # Get hourly usage for [custom metrics](https://docs.datadoghq.com/developers/metrics/custom_metrics/). - # @param start_hr Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage beginning at this hour. - # @param [Hash] opts the optional parameters - # @option opts [DateTime] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage ending **before** this hour. - # @return [UsageTimeseriesResponse] - describe 'get_usage_timeseries test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for get_usage_top_avg_metrics - # Get top 500 custom metrics by hourly average - # Get top [custom metrics](https://docs.datadoghq.com/developers/metrics/custom_metrics/) by hourly average. - # @param month Datetime in ISO-8601 format, UTC, precise to month: [YYYY-MM] for usage beginning at this hour. - # @param [Hash] opts the optional parameters - # @option opts [Array] :names Comma-separated list of metric names. - # @return [UsageTopAvgMetricsResponse] - describe 'get_usage_top_avg_metrics test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for get_usage_trace - # Get hourly usage for Trace Search - # Get hourly usage for trace search. - # @param start_hr Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage beginning at this hour. - # @param [Hash] opts the optional parameters - # @option opts [DateTime] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage ending **before** this hour. - # @return [UsageTraceResponse] - describe 'get_usage_trace test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/api/users_api_spec.rb b/spec/v1/api/users_api_spec.rb deleted file mode 100644 index 493999a6446..00000000000 --- a/spec/v1/api/users_api_spec.rb +++ /dev/null @@ -1,95 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' - -# Unit tests for DatadogAPIClient::V1::UsersApi -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'UsersApi' do - before do - # run before each test - @api_instance = DatadogAPIClient::V1::UsersApi.new - end - - after do - # run after each test - end - - describe 'test an instance of UsersApi' do - it 'should create an instance of UsersApi' do - expect(@api_instance).to be_instance_of(DatadogAPIClient::V1::UsersApi) - end - end - - # unit tests for create_user - # Create a user - # Create a user for your organization. **Note**: Users can only be created with the admin access role if application keys belong to administrators. - # @param body User object that needs to be created. - # @param [Hash] opts the optional parameters - # @return [UserResponse] - describe 'create_user test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for disable_user - # Disable a user - # Delete a user from an organization. **Note**: This endpoint can only be used with application keys belonging to administrators. - # @param user_handle The handle of the user. - # @param [Hash] opts the optional parameters - # @return [UserDisableResponse] - describe 'disable_user test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for get_user - # Get user details - # Get a user's details. - # @param user_handle The ID of the user. - # @param [Hash] opts the optional parameters - # @return [UserResponse] - describe 'get_user test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_users - # Get all users - # Get all users for your organization. - # @param [Hash] opts the optional parameters - # @return [UserListResponse] - describe 'list_users test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for update_user - # Update a user - # Update a user information. **Note**: It can only be used with application keys belonging to administrators. - # @param user_handle The ID of the user. - # @param body Description of the update. - # @param [Hash] opts the optional parameters - # @return [UserResponse] - describe 'update_user test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/api_client_spec.rb b/spec/v1/api_client_spec.rb deleted file mode 100644 index 824c0a12868..00000000000 --- a/spec/v1/api_client_spec.rb +++ /dev/null @@ -1,226 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' - -describe DatadogAPIClient::V1::ApiClient do - context 'initialization' do - context 'URL stuff' do - context 'host' do - it 'removes http from host' do - DatadogAPIClient::V1.configure { |c| c.host = 'http://example.com' } - expect(DatadogAPIClient::V1::Configuration.default.host).to eq('example.com') - end - - it 'removes https from host' do - DatadogAPIClient::V1.configure { |c| c.host = 'https://wookiee.com' } - expect(DatadogAPIClient::V1::ApiClient.default.config.host).to eq('wookiee.com') - end - - it 'removes trailing path from host' do - DatadogAPIClient::V1.configure { |c| c.host = 'hobo.com/v4' } - expect(DatadogAPIClient::V1::Configuration.default.host).to eq('hobo.com') - end - end - - context 'base_path' do - it "prepends a slash to base_path" do - DatadogAPIClient::V1.configure { |c| c.base_path = 'v4/dog' } - expect(DatadogAPIClient::V1::Configuration.default.base_path).to eq('/v4/dog') - end - - it "doesn't prepend a slash if one is already there" do - DatadogAPIClient::V1.configure { |c| c.base_path = '/v4/dog' } - expect(DatadogAPIClient::V1::Configuration.default.base_path).to eq('/v4/dog') - end - - it "ends up as a blank string if nil" do - DatadogAPIClient::V1.configure { |c| c.base_path = nil } - expect(DatadogAPIClient::V1::Configuration.default.base_path).to eq('') - end - end - end - end - - describe 'params_encoding in #build_request' do - let(:config) { DatadogAPIClient::V1::Configuration.new } - let(:api_client) { DatadogAPIClient::V1::ApiClient.new(config) } - - it 'defaults to nil' do - expect(DatadogAPIClient::V1::Configuration.default.params_encoding).to eq(nil) - expect(config.params_encoding).to eq(nil) - - request = api_client.build_request(:get, '/test') - expect(request.options[:params_encoding]).to eq(nil) - end - - it 'can be customized' do - config.params_encoding = :multi - request = api_client.build_request(:get, '/test') - expect(request.options[:params_encoding]).to eq(:multi) - end - end - - describe 'timeout in #build_request' do - let(:config) { DatadogAPIClient::V1::Configuration.new } - let(:api_client) { DatadogAPIClient::V1::ApiClient.new(config) } - - it 'defaults to 0' do - expect(DatadogAPIClient::V1::Configuration.default.timeout).to eq(0) - expect(config.timeout).to eq(0) - - request = api_client.build_request(:get, '/test') - expect(request.options[:timeout]).to eq(0) - end - - it 'can be customized' do - config.timeout = 100 - request = api_client.build_request(:get, '/test') - expect(request.options[:timeout]).to eq(100) - end - end - - describe '#deserialize' do - it "handles Array" do - api_client = DatadogAPIClient::V1::ApiClient.new - headers = { 'Content-Type' => 'application/json' } - response = double('response', headers: headers, body: '[12, 34]') - data = api_client.deserialize(response, 'Array') - expect(data).to be_instance_of(Array) - expect(data).to eq([12, 34]) - end - - it 'handles Array>' do - api_client = DatadogAPIClient::V1::ApiClient.new - headers = { 'Content-Type' => 'application/json' } - response = double('response', headers: headers, body: '[[12, 34], [56]]') - data = api_client.deserialize(response, 'Array>') - expect(data).to be_instance_of(Array) - expect(data).to eq([[12, 34], [56]]) - end - - it 'handles Hash' do - api_client = DatadogAPIClient::V1::ApiClient.new - headers = { 'Content-Type' => 'application/json' } - response = double('response', headers: headers, body: '{"message": "Hello"}') - data = api_client.deserialize(response, 'Hash') - expect(data).to be_instance_of(Hash) - expect(data).to eq(:message => 'Hello') - end - end - - describe "#object_to_hash" do - it 'ignores nils and includes empty arrays' do - # uncomment below to test object_to_hash for model - # api_client = DatadogAPIClient::V1::ApiClient.new - # _model = DatadogAPIClient::V1::ModelName.new - # update the model attribute below - # _model.id = 1 - # update the expected value (hash) below - # expected = {id: 1, name: '', tags: []} - # expect(api_client.object_to_hash(_model)).to eq(expected) - end - end - - describe '#build_collection_param' do - let(:param) { ['aa', 'bb', 'cc'] } - let(:api_client) { DatadogAPIClient::V1::ApiClient.new } - - it 'works for csv' do - expect(api_client.build_collection_param(param, :csv)).to eq('aa,bb,cc') - end - - it 'works for ssv' do - expect(api_client.build_collection_param(param, :ssv)).to eq('aa bb cc') - end - - it 'works for tsv' do - expect(api_client.build_collection_param(param, :tsv)).to eq("aa\tbb\tcc") - end - - it 'works for pipes' do - expect(api_client.build_collection_param(param, :pipes)).to eq('aa|bb|cc') - end - - it 'works for multi' do - expect(api_client.build_collection_param(param, :multi)).to eq(['aa', 'bb', 'cc']) - end - - it 'fails for invalid collection format' do - expect { api_client.build_collection_param(param, :INVALID) }.to raise_error(RuntimeError, 'unknown collection format: :INVALID') - end - end - - describe '#json_mime?' do - let(:api_client) { DatadogAPIClient::V1::ApiClient.new } - - it 'works' do - expect(api_client.json_mime?(nil)).to eq false - expect(api_client.json_mime?('')).to eq false - - expect(api_client.json_mime?('application/json')).to eq true - expect(api_client.json_mime?('application/json; charset=UTF8')).to eq true - expect(api_client.json_mime?('APPLICATION/JSON')).to eq true - - expect(api_client.json_mime?('application/xml')).to eq false - expect(api_client.json_mime?('text/plain')).to eq false - expect(api_client.json_mime?('application/jsonp')).to eq false - end - end - - describe '#select_header_accept' do - let(:api_client) { DatadogAPIClient::V1::ApiClient.new } - - it 'works' do - expect(api_client.select_header_accept(nil)).to be_nil - expect(api_client.select_header_accept([])).to be_nil - - expect(api_client.select_header_accept(['application/json'])).to eq('application/json') - expect(api_client.select_header_accept(['application/xml', 'application/json; charset=UTF8'])).to eq('application/json; charset=UTF8') - expect(api_client.select_header_accept(['APPLICATION/JSON', 'text/html'])).to eq('APPLICATION/JSON') - - expect(api_client.select_header_accept(['application/xml'])).to eq('application/xml') - expect(api_client.select_header_accept(['text/html', 'application/xml'])).to eq('text/html,application/xml') - end - end - - describe '#select_header_content_type' do - let(:api_client) { DatadogAPIClient::V1::ApiClient.new } - - it 'works' do - expect(api_client.select_header_content_type(nil)).to eq('application/json') - expect(api_client.select_header_content_type([])).to eq('application/json') - - expect(api_client.select_header_content_type(['application/json'])).to eq('application/json') - expect(api_client.select_header_content_type(['application/xml', 'application/json; charset=UTF8'])).to eq('application/json; charset=UTF8') - expect(api_client.select_header_content_type(['APPLICATION/JSON', 'text/html'])).to eq('APPLICATION/JSON') - expect(api_client.select_header_content_type(['application/xml'])).to eq('application/xml') - expect(api_client.select_header_content_type(['text/plain', 'application/xml'])).to eq('text/plain') - end - end - - describe '#sanitize_filename' do - let(:api_client) { DatadogAPIClient::V1::ApiClient.new } - - it 'works' do - expect(api_client.sanitize_filename('sun')).to eq('sun') - expect(api_client.sanitize_filename('sun.gif')).to eq('sun.gif') - expect(api_client.sanitize_filename('../sun.gif')).to eq('sun.gif') - expect(api_client.sanitize_filename('/var/tmp/sun.gif')).to eq('sun.gif') - expect(api_client.sanitize_filename('./sun.gif')).to eq('sun.gif') - expect(api_client.sanitize_filename('..\sun.gif')).to eq('sun.gif') - expect(api_client.sanitize_filename('\var\tmp\sun.gif')).to eq('sun.gif') - expect(api_client.sanitize_filename('c:\var\tmp\sun.gif')).to eq('sun.gif') - expect(api_client.sanitize_filename('.\sun.gif')).to eq('sun.gif') - end - end -end diff --git a/spec/v1/configuration_spec.rb b/spec/v1/configuration_spec.rb deleted file mode 100644 index 57d027685ac..00000000000 --- a/spec/v1/configuration_spec.rb +++ /dev/null @@ -1,42 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' - -describe DatadogAPIClient::V1::Configuration do - let(:config) { DatadogAPIClient::V1::Configuration.default } - - before(:each) do - # uncomment below to setup host and base_path - # require 'URI' - # uri = URI.parse("https://api.datadoghq.com") - # DatadogAPIClient::V1.configure do |c| - # c.host = uri.host - # c.base_path = uri.path - # end - end - - describe '#base_url' do - it 'should have the default value' do - # uncomment below to test default value of the base path - # expect(config.base_url).to eq("https://api.datadoghq.com") - end - - it 'should remove trailing slashes' do - [nil, '', '/', '//'].each do |base_path| - config.base_path = base_path - # uncomment below to test trailing slashes - # expect(config.base_url).to eq("https://api.datadoghq.com") - end - end - end -end diff --git a/spec/v1/models/access_role_spec.rb b/spec/v1/models/access_role_spec.rb deleted file mode 100644 index fd4a6b39f30..00000000000 --- a/spec/v1/models/access_role_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::AccessRole -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'AccessRole' do - before do - # run before each test - @instance = DatadogAPIClient::V1::AccessRole.new - end - - after do - # run after each test - end - - describe 'test an instance of AccessRole' do - it 'should create an instance of AccessRole' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::AccessRole) - end - end -end diff --git a/spec/v1/models/alert_graph_widget_definition_spec.rb b/spec/v1/models/alert_graph_widget_definition_spec.rb deleted file mode 100644 index ca1a0f7940d..00000000000 --- a/spec/v1/models/alert_graph_widget_definition_spec.rb +++ /dev/null @@ -1,77 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::AlertGraphWidgetDefinition -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'AlertGraphWidgetDefinition' do - before do - # run before each test - @instance = DatadogAPIClient::V1::AlertGraphWidgetDefinition.new - end - - after do - # run after each test - end - - describe 'test an instance of AlertGraphWidgetDefinition' do - it 'should create an instance of AlertGraphWidgetDefinition' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::AlertGraphWidgetDefinition) - end - end - describe 'test attribute "alert_id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "time"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "title"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "title_align"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "title_size"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "viz_type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/alert_graph_widget_definition_type_spec.rb b/spec/v1/models/alert_graph_widget_definition_type_spec.rb deleted file mode 100644 index 67d34fc8551..00000000000 --- a/spec/v1/models/alert_graph_widget_definition_type_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::AlertGraphWidgetDefinitionType -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'AlertGraphWidgetDefinitionType' do - before do - # run before each test - @instance = DatadogAPIClient::V1::AlertGraphWidgetDefinitionType.new - end - - after do - # run after each test - end - - describe 'test an instance of AlertGraphWidgetDefinitionType' do - it 'should create an instance of AlertGraphWidgetDefinitionType' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::AlertGraphWidgetDefinitionType) - end - end -end diff --git a/spec/v1/models/alert_value_widget_definition_spec.rb b/spec/v1/models/alert_value_widget_definition_spec.rb deleted file mode 100644 index 73234def80b..00000000000 --- a/spec/v1/models/alert_value_widget_definition_spec.rb +++ /dev/null @@ -1,83 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::AlertValueWidgetDefinition -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'AlertValueWidgetDefinition' do - before do - # run before each test - @instance = DatadogAPIClient::V1::AlertValueWidgetDefinition.new - end - - after do - # run after each test - end - - describe 'test an instance of AlertValueWidgetDefinition' do - it 'should create an instance of AlertValueWidgetDefinition' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::AlertValueWidgetDefinition) - end - end - describe 'test attribute "alert_id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "precision"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "text_align"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "title"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "title_align"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "title_size"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "unit"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/alert_value_widget_definition_type_spec.rb b/spec/v1/models/alert_value_widget_definition_type_spec.rb deleted file mode 100644 index d859e96e84c..00000000000 --- a/spec/v1/models/alert_value_widget_definition_type_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::AlertValueWidgetDefinitionType -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'AlertValueWidgetDefinitionType' do - before do - # run before each test - @instance = DatadogAPIClient::V1::AlertValueWidgetDefinitionType.new - end - - after do - # run after each test - end - - describe 'test an instance of AlertValueWidgetDefinitionType' do - it 'should create an instance of AlertValueWidgetDefinitionType' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::AlertValueWidgetDefinitionType) - end - end -end diff --git a/spec/v1/models/api_error_response_spec.rb b/spec/v1/models/api_error_response_spec.rb deleted file mode 100644 index 1a7c1a2996b..00000000000 --- a/spec/v1/models/api_error_response_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::APIErrorResponse -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'APIErrorResponse' do - before do - # run before each test - @instance = DatadogAPIClient::V1::APIErrorResponse.new - end - - after do - # run after each test - end - - describe 'test an instance of APIErrorResponse' do - it 'should create an instance of APIErrorResponse' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::APIErrorResponse) - end - end - describe 'test attribute "errors"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/api_key_list_response_spec.rb b/spec/v1/models/api_key_list_response_spec.rb deleted file mode 100644 index 5e60035b8b4..00000000000 --- a/spec/v1/models/api_key_list_response_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::ApiKeyListResponse -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'ApiKeyListResponse' do - before do - # run before each test - @instance = DatadogAPIClient::V1::ApiKeyListResponse.new - end - - after do - # run after each test - end - - describe 'test an instance of ApiKeyListResponse' do - it 'should create an instance of ApiKeyListResponse' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::ApiKeyListResponse) - end - end - describe 'test attribute "api_keys"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/api_key_response_spec.rb b/spec/v1/models/api_key_response_spec.rb deleted file mode 100644 index 1cdf5f09b87..00000000000 --- a/spec/v1/models/api_key_response_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::ApiKeyResponse -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'ApiKeyResponse' do - before do - # run before each test - @instance = DatadogAPIClient::V1::ApiKeyResponse.new - end - - after do - # run after each test - end - - describe 'test an instance of ApiKeyResponse' do - it 'should create an instance of ApiKeyResponse' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::ApiKeyResponse) - end - end - describe 'test attribute "api_key"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/api_key_spec.rb b/spec/v1/models/api_key_spec.rb deleted file mode 100644 index f9f0d4401b8..00000000000 --- a/spec/v1/models/api_key_spec.rb +++ /dev/null @@ -1,59 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::ApiKey -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'ApiKey' do - before do - # run before each test - @instance = DatadogAPIClient::V1::ApiKey.new - end - - after do - # run after each test - end - - describe 'test an instance of ApiKey' do - it 'should create an instance of ApiKey' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::ApiKey) - end - end - describe 'test attribute "created"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "created_by"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "key"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/apm_resources_query_definition_spec.rb b/spec/v1/models/apm_resources_query_definition_spec.rb deleted file mode 100644 index bd6fb946a69..00000000000 --- a/spec/v1/models/apm_resources_query_definition_spec.rb +++ /dev/null @@ -1,65 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::ApmResourcesQueryDefinition -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'ApmResourcesQueryDefinition' do - before do - # run before each test - @instance = DatadogAPIClient::V1::ApmResourcesQueryDefinition.new - end - - after do - # run after each test - end - - describe 'test an instance of ApmResourcesQueryDefinition' do - it 'should create an instance of ApmResourcesQueryDefinition' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::ApmResourcesQueryDefinition) - end - end - describe 'test attribute "columns"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "env"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "resource"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "service"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/application_key_list_response_spec.rb b/spec/v1/models/application_key_list_response_spec.rb deleted file mode 100644 index 7898e06d559..00000000000 --- a/spec/v1/models/application_key_list_response_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::ApplicationKeyListResponse -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'ApplicationKeyListResponse' do - before do - # run before each test - @instance = DatadogAPIClient::V1::ApplicationKeyListResponse.new - end - - after do - # run after each test - end - - describe 'test an instance of ApplicationKeyListResponse' do - it 'should create an instance of ApplicationKeyListResponse' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::ApplicationKeyListResponse) - end - end - describe 'test attribute "application_keys"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/application_key_response_spec.rb b/spec/v1/models/application_key_response_spec.rb deleted file mode 100644 index f658e904e18..00000000000 --- a/spec/v1/models/application_key_response_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::ApplicationKeyResponse -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'ApplicationKeyResponse' do - before do - # run before each test - @instance = DatadogAPIClient::V1::ApplicationKeyResponse.new - end - - after do - # run after each test - end - - describe 'test an instance of ApplicationKeyResponse' do - it 'should create an instance of ApplicationKeyResponse' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::ApplicationKeyResponse) - end - end - describe 'test attribute "application_key"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/application_key_spec.rb b/spec/v1/models/application_key_spec.rb deleted file mode 100644 index b6f8c83770e..00000000000 --- a/spec/v1/models/application_key_spec.rb +++ /dev/null @@ -1,53 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::ApplicationKey -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'ApplicationKey' do - before do - # run before each test - @instance = DatadogAPIClient::V1::ApplicationKey.new - end - - after do - # run after each test - end - - describe 'test an instance of ApplicationKey' do - it 'should create an instance of ApplicationKey' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::ApplicationKey) - end - end - describe 'test attribute "hash"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "owner"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/authentication_validation_response_spec.rb b/spec/v1/models/authentication_validation_response_spec.rb deleted file mode 100644 index 206c456be35..00000000000 --- a/spec/v1/models/authentication_validation_response_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::AuthenticationValidationResponse -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'AuthenticationValidationResponse' do - before do - # run before each test - @instance = DatadogAPIClient::V1::AuthenticationValidationResponse.new - end - - after do - # run after each test - end - - describe 'test an instance of AuthenticationValidationResponse' do - it 'should create an instance of AuthenticationValidationResponse' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::AuthenticationValidationResponse) - end - end - describe 'test attribute "valid"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/aws_account_and_lambda_request_spec.rb b/spec/v1/models/aws_account_and_lambda_request_spec.rb deleted file mode 100644 index 6b7278d8be6..00000000000 --- a/spec/v1/models/aws_account_and_lambda_request_spec.rb +++ /dev/null @@ -1,47 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::AWSAccountAndLambdaRequest -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'AWSAccountAndLambdaRequest' do - before do - # run before each test - @instance = DatadogAPIClient::V1::AWSAccountAndLambdaRequest.new - end - - after do - # run after each test - end - - describe 'test an instance of AWSAccountAndLambdaRequest' do - it 'should create an instance of AWSAccountAndLambdaRequest' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::AWSAccountAndLambdaRequest) - end - end - describe 'test attribute "account_id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "lambda_arn"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/aws_account_create_response_spec.rb b/spec/v1/models/aws_account_create_response_spec.rb deleted file mode 100644 index 0186ffd01e5..00000000000 --- a/spec/v1/models/aws_account_create_response_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::AWSAccountCreateResponse -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'AWSAccountCreateResponse' do - before do - # run before each test - @instance = DatadogAPIClient::V1::AWSAccountCreateResponse.new - end - - after do - # run after each test - end - - describe 'test an instance of AWSAccountCreateResponse' do - it 'should create an instance of AWSAccountCreateResponse' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::AWSAccountCreateResponse) - end - end - describe 'test attribute "external_id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/aws_account_list_response_spec.rb b/spec/v1/models/aws_account_list_response_spec.rb deleted file mode 100644 index b9de41ba5a1..00000000000 --- a/spec/v1/models/aws_account_list_response_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::AWSAccountListResponse -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'AWSAccountListResponse' do - before do - # run before each test - @instance = DatadogAPIClient::V1::AWSAccountListResponse.new - end - - after do - # run after each test - end - - describe 'test an instance of AWSAccountListResponse' do - it 'should create an instance of AWSAccountListResponse' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::AWSAccountListResponse) - end - end - describe 'test attribute "accounts"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/aws_account_spec.rb b/spec/v1/models/aws_account_spec.rb deleted file mode 100644 index e2483fe7153..00000000000 --- a/spec/v1/models/aws_account_spec.rb +++ /dev/null @@ -1,83 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::AWSAccount -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'AWSAccount' do - before do - # run before each test - @instance = DatadogAPIClient::V1::AWSAccount.new - end - - after do - # run after each test - end - - describe 'test an instance of AWSAccount' do - it 'should create an instance of AWSAccount' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::AWSAccount) - end - end - describe 'test attribute "access_key_id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "account_id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "account_specific_namespace_rules"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "excluded_regions"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "filter_tags"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "host_tags"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "role_name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "secret_access_key"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/aws_logs_async_response_errors_spec.rb b/spec/v1/models/aws_logs_async_response_errors_spec.rb deleted file mode 100644 index c7c96df7947..00000000000 --- a/spec/v1/models/aws_logs_async_response_errors_spec.rb +++ /dev/null @@ -1,47 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::AWSLogsAsyncResponseErrors -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'AWSLogsAsyncResponseErrors' do - before do - # run before each test - @instance = DatadogAPIClient::V1::AWSLogsAsyncResponseErrors.new - end - - after do - # run after each test - end - - describe 'test an instance of AWSLogsAsyncResponseErrors' do - it 'should create an instance of AWSLogsAsyncResponseErrors' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::AWSLogsAsyncResponseErrors) - end - end - describe 'test attribute "code"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "message"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/aws_logs_async_response_spec.rb b/spec/v1/models/aws_logs_async_response_spec.rb deleted file mode 100644 index 0c561626647..00000000000 --- a/spec/v1/models/aws_logs_async_response_spec.rb +++ /dev/null @@ -1,47 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::AWSLogsAsyncResponse -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'AWSLogsAsyncResponse' do - before do - # run before each test - @instance = DatadogAPIClient::V1::AWSLogsAsyncResponse.new - end - - after do - # run after each test - end - - describe 'test an instance of AWSLogsAsyncResponse' do - it 'should create an instance of AWSLogsAsyncResponse' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::AWSLogsAsyncResponse) - end - end - describe 'test attribute "errors"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "status"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/aws_logs_list_response_lambdas_spec.rb b/spec/v1/models/aws_logs_list_response_lambdas_spec.rb deleted file mode 100644 index bbdb68c80c7..00000000000 --- a/spec/v1/models/aws_logs_list_response_lambdas_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::AWSLogsListResponseLambdas -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'AWSLogsListResponseLambdas' do - before do - # run before each test - @instance = DatadogAPIClient::V1::AWSLogsListResponseLambdas.new - end - - after do - # run after each test - end - - describe 'test an instance of AWSLogsListResponseLambdas' do - it 'should create an instance of AWSLogsListResponseLambdas' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::AWSLogsListResponseLambdas) - end - end - describe 'test attribute "arn"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/aws_logs_list_response_spec.rb b/spec/v1/models/aws_logs_list_response_spec.rb deleted file mode 100644 index f2ca59bde42..00000000000 --- a/spec/v1/models/aws_logs_list_response_spec.rb +++ /dev/null @@ -1,53 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::AWSLogsListResponse -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'AWSLogsListResponse' do - before do - # run before each test - @instance = DatadogAPIClient::V1::AWSLogsListResponse.new - end - - after do - # run after each test - end - - describe 'test an instance of AWSLogsListResponse' do - it 'should create an instance of AWSLogsListResponse' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::AWSLogsListResponse) - end - end - describe 'test attribute "account_id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "lambdas"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "services"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/aws_logs_list_services_response_spec.rb b/spec/v1/models/aws_logs_list_services_response_spec.rb deleted file mode 100644 index be7cf1386c6..00000000000 --- a/spec/v1/models/aws_logs_list_services_response_spec.rb +++ /dev/null @@ -1,47 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::AWSLogsListServicesResponse -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'AWSLogsListServicesResponse' do - before do - # run before each test - @instance = DatadogAPIClient::V1::AWSLogsListServicesResponse.new - end - - after do - # run after each test - end - - describe 'test an instance of AWSLogsListServicesResponse' do - it 'should create an instance of AWSLogsListServicesResponse' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::AWSLogsListServicesResponse) - end - end - describe 'test attribute "id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "label"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/aws_logs_services_request_spec.rb b/spec/v1/models/aws_logs_services_request_spec.rb deleted file mode 100644 index 01cf909937d..00000000000 --- a/spec/v1/models/aws_logs_services_request_spec.rb +++ /dev/null @@ -1,47 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::AWSLogsServicesRequest -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'AWSLogsServicesRequest' do - before do - # run before each test - @instance = DatadogAPIClient::V1::AWSLogsServicesRequest.new - end - - after do - # run after each test - end - - describe 'test an instance of AWSLogsServicesRequest' do - it 'should create an instance of AWSLogsServicesRequest' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::AWSLogsServicesRequest) - end - end - describe 'test attribute "account_id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "services"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/azure_account_spec.rb b/spec/v1/models/azure_account_spec.rb deleted file mode 100644 index 65dc7b53e1d..00000000000 --- a/spec/v1/models/azure_account_spec.rb +++ /dev/null @@ -1,77 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::AzureAccount -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'AzureAccount' do - before do - # run before each test - @instance = DatadogAPIClient::V1::AzureAccount.new - end - - after do - # run after each test - end - - describe 'test an instance of AzureAccount' do - it 'should create an instance of AzureAccount' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::AzureAccount) - end - end - describe 'test attribute "client_id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "client_secret"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "errors"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "host_filters"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "new_client_id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "new_tenant_name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "tenant_name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/cancel_downtimes_by_scope_request_spec.rb b/spec/v1/models/cancel_downtimes_by_scope_request_spec.rb deleted file mode 100644 index 89261e5ff7e..00000000000 --- a/spec/v1/models/cancel_downtimes_by_scope_request_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::CancelDowntimesByScopeRequest -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'CancelDowntimesByScopeRequest' do - before do - # run before each test - @instance = DatadogAPIClient::V1::CancelDowntimesByScopeRequest.new - end - - after do - # run after each test - end - - describe 'test an instance of CancelDowntimesByScopeRequest' do - it 'should create an instance of CancelDowntimesByScopeRequest' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::CancelDowntimesByScopeRequest) - end - end - describe 'test attribute "scope"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/canceled_downtimes_ids_spec.rb b/spec/v1/models/canceled_downtimes_ids_spec.rb deleted file mode 100644 index 72a8237b817..00000000000 --- a/spec/v1/models/canceled_downtimes_ids_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::CanceledDowntimesIds -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'CanceledDowntimesIds' do - before do - # run before each test - @instance = DatadogAPIClient::V1::CanceledDowntimesIds.new - end - - after do - # run after each test - end - - describe 'test an instance of CanceledDowntimesIds' do - it 'should create an instance of CanceledDowntimesIds' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::CanceledDowntimesIds) - end - end - describe 'test attribute "cancelled_ids"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/change_widget_definition_spec.rb b/spec/v1/models/change_widget_definition_spec.rb deleted file mode 100644 index 55baab8e33b..00000000000 --- a/spec/v1/models/change_widget_definition_spec.rb +++ /dev/null @@ -1,77 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::ChangeWidgetDefinition -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'ChangeWidgetDefinition' do - before do - # run before each test - @instance = DatadogAPIClient::V1::ChangeWidgetDefinition.new - end - - after do - # run after each test - end - - describe 'test an instance of ChangeWidgetDefinition' do - it 'should create an instance of ChangeWidgetDefinition' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::ChangeWidgetDefinition) - end - end - describe 'test attribute "custom_links"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "requests"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "time"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "title"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "title_align"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "title_size"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/change_widget_definition_type_spec.rb b/spec/v1/models/change_widget_definition_type_spec.rb deleted file mode 100644 index 2c4fcae7da5..00000000000 --- a/spec/v1/models/change_widget_definition_type_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::ChangeWidgetDefinitionType -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'ChangeWidgetDefinitionType' do - before do - # run before each test - @instance = DatadogAPIClient::V1::ChangeWidgetDefinitionType.new - end - - after do - # run after each test - end - - describe 'test an instance of ChangeWidgetDefinitionType' do - it 'should create an instance of ChangeWidgetDefinitionType' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::ChangeWidgetDefinitionType) - end - end -end diff --git a/spec/v1/models/change_widget_request_spec.rb b/spec/v1/models/change_widget_request_spec.rb deleted file mode 100644 index 2e48db64441..00000000000 --- a/spec/v1/models/change_widget_request_spec.rb +++ /dev/null @@ -1,119 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::ChangeWidgetRequest -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'ChangeWidgetRequest' do - before do - # run before each test - @instance = DatadogAPIClient::V1::ChangeWidgetRequest.new - end - - after do - # run after each test - end - - describe 'test an instance of ChangeWidgetRequest' do - it 'should create an instance of ChangeWidgetRequest' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::ChangeWidgetRequest) - end - end - describe 'test attribute "apm_query"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "change_type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "compare_to"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "event_query"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "increase_good"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "log_query"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "network_query"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "order_by"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "order_dir"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "process_query"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "q"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "rum_query"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "security_query"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "show_present"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/check_can_delete_monitor_response_data_spec.rb b/spec/v1/models/check_can_delete_monitor_response_data_spec.rb deleted file mode 100644 index 5ac0d268f79..00000000000 --- a/spec/v1/models/check_can_delete_monitor_response_data_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::CheckCanDeleteMonitorResponseData -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'CheckCanDeleteMonitorResponseData' do - before do - # run before each test - @instance = DatadogAPIClient::V1::CheckCanDeleteMonitorResponseData.new - end - - after do - # run after each test - end - - describe 'test an instance of CheckCanDeleteMonitorResponseData' do - it 'should create an instance of CheckCanDeleteMonitorResponseData' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::CheckCanDeleteMonitorResponseData) - end - end - describe 'test attribute "ok"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/check_can_delete_monitor_response_spec.rb b/spec/v1/models/check_can_delete_monitor_response_spec.rb deleted file mode 100644 index 3f771bfa6ee..00000000000 --- a/spec/v1/models/check_can_delete_monitor_response_spec.rb +++ /dev/null @@ -1,47 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::CheckCanDeleteMonitorResponse -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'CheckCanDeleteMonitorResponse' do - before do - # run before each test - @instance = DatadogAPIClient::V1::CheckCanDeleteMonitorResponse.new - end - - after do - # run after each test - end - - describe 'test an instance of CheckCanDeleteMonitorResponse' do - it 'should create an instance of CheckCanDeleteMonitorResponse' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::CheckCanDeleteMonitorResponse) - end - end - describe 'test attribute "data"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "errors"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/check_can_delete_slo_response_data_spec.rb b/spec/v1/models/check_can_delete_slo_response_data_spec.rb deleted file mode 100644 index 190ef62781c..00000000000 --- a/spec/v1/models/check_can_delete_slo_response_data_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::CheckCanDeleteSLOResponseData -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'CheckCanDeleteSLOResponseData' do - before do - # run before each test - @instance = DatadogAPIClient::V1::CheckCanDeleteSLOResponseData.new - end - - after do - # run after each test - end - - describe 'test an instance of CheckCanDeleteSLOResponseData' do - it 'should create an instance of CheckCanDeleteSLOResponseData' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::CheckCanDeleteSLOResponseData) - end - end - describe 'test attribute "ok"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/check_can_delete_slo_response_spec.rb b/spec/v1/models/check_can_delete_slo_response_spec.rb deleted file mode 100644 index bdd09e2401b..00000000000 --- a/spec/v1/models/check_can_delete_slo_response_spec.rb +++ /dev/null @@ -1,47 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::CheckCanDeleteSLOResponse -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'CheckCanDeleteSLOResponse' do - before do - # run before each test - @instance = DatadogAPIClient::V1::CheckCanDeleteSLOResponse.new - end - - after do - # run after each test - end - - describe 'test an instance of CheckCanDeleteSLOResponse' do - it 'should create an instance of CheckCanDeleteSLOResponse' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::CheckCanDeleteSLOResponse) - end - end - describe 'test attribute "data"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "errors"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/check_status_widget_definition_spec.rb b/spec/v1/models/check_status_widget_definition_spec.rb deleted file mode 100644 index 128b9e7754f..00000000000 --- a/spec/v1/models/check_status_widget_definition_spec.rb +++ /dev/null @@ -1,95 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::CheckStatusWidgetDefinition -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'CheckStatusWidgetDefinition' do - before do - # run before each test - @instance = DatadogAPIClient::V1::CheckStatusWidgetDefinition.new - end - - after do - # run after each test - end - - describe 'test an instance of CheckStatusWidgetDefinition' do - it 'should create an instance of CheckStatusWidgetDefinition' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::CheckStatusWidgetDefinition) - end - end - describe 'test attribute "check"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "group"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "group_by"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "grouping"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "tags"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "time"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "title"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "title_align"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "title_size"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/check_status_widget_definition_type_spec.rb b/spec/v1/models/check_status_widget_definition_type_spec.rb deleted file mode 100644 index 247fc433caf..00000000000 --- a/spec/v1/models/check_status_widget_definition_type_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::CheckStatusWidgetDefinitionType -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'CheckStatusWidgetDefinitionType' do - before do - # run before each test - @instance = DatadogAPIClient::V1::CheckStatusWidgetDefinitionType.new - end - - after do - # run after each test - end - - describe 'test an instance of CheckStatusWidgetDefinitionType' do - it 'should create an instance of CheckStatusWidgetDefinitionType' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::CheckStatusWidgetDefinitionType) - end - end -end diff --git a/spec/v1/models/creator_spec.rb b/spec/v1/models/creator_spec.rb deleted file mode 100644 index b8e68009959..00000000000 --- a/spec/v1/models/creator_spec.rb +++ /dev/null @@ -1,53 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::Creator -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'Creator' do - before do - # run before each test - @instance = DatadogAPIClient::V1::Creator.new - end - - after do - # run after each test - end - - describe 'test an instance of Creator' do - it 'should create an instance of Creator' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::Creator) - end - end - describe 'test attribute "email"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "handle"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/dashboard_delete_response_spec.rb b/spec/v1/models/dashboard_delete_response_spec.rb deleted file mode 100644 index b0f3a9fd7d5..00000000000 --- a/spec/v1/models/dashboard_delete_response_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::DashboardDeleteResponse -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'DashboardDeleteResponse' do - before do - # run before each test - @instance = DatadogAPIClient::V1::DashboardDeleteResponse.new - end - - after do - # run after each test - end - - describe 'test an instance of DashboardDeleteResponse' do - it 'should create an instance of DashboardDeleteResponse' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::DashboardDeleteResponse) - end - end - describe 'test attribute "deleted_dashboard_id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/dashboard_layout_type_spec.rb b/spec/v1/models/dashboard_layout_type_spec.rb deleted file mode 100644 index af80d24ead6..00000000000 --- a/spec/v1/models/dashboard_layout_type_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::DashboardLayoutType -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'DashboardLayoutType' do - before do - # run before each test - @instance = DatadogAPIClient::V1::DashboardLayoutType.new - end - - after do - # run after each test - end - - describe 'test an instance of DashboardLayoutType' do - it 'should create an instance of DashboardLayoutType' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::DashboardLayoutType) - end - end -end diff --git a/spec/v1/models/dashboard_list_delete_response_spec.rb b/spec/v1/models/dashboard_list_delete_response_spec.rb deleted file mode 100644 index a434be18b42..00000000000 --- a/spec/v1/models/dashboard_list_delete_response_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::DashboardListDeleteResponse -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'DashboardListDeleteResponse' do - before do - # run before each test - @instance = DatadogAPIClient::V1::DashboardListDeleteResponse.new - end - - after do - # run after each test - end - - describe 'test an instance of DashboardListDeleteResponse' do - it 'should create an instance of DashboardListDeleteResponse' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::DashboardListDeleteResponse) - end - end - describe 'test attribute "deleted_dashboard_list_id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/dashboard_list_list_response_spec.rb b/spec/v1/models/dashboard_list_list_response_spec.rb deleted file mode 100644 index 30d6f41fe08..00000000000 --- a/spec/v1/models/dashboard_list_list_response_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::DashboardListListResponse -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'DashboardListListResponse' do - before do - # run before each test - @instance = DatadogAPIClient::V1::DashboardListListResponse.new - end - - after do - # run after each test - end - - describe 'test an instance of DashboardListListResponse' do - it 'should create an instance of DashboardListListResponse' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::DashboardListListResponse) - end - end - describe 'test attribute "dashboard_lists"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/dashboard_list_spec.rb b/spec/v1/models/dashboard_list_spec.rb deleted file mode 100644 index 9d1065fae99..00000000000 --- a/spec/v1/models/dashboard_list_spec.rb +++ /dev/null @@ -1,83 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::DashboardList -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'DashboardList' do - before do - # run before each test - @instance = DatadogAPIClient::V1::DashboardList.new - end - - after do - # run after each test - end - - describe 'test an instance of DashboardList' do - it 'should create an instance of DashboardList' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::DashboardList) - end - end - describe 'test attribute "author"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "created"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "dashboard_count"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "is_favorite"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "modified"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/dashboard_spec.rb b/spec/v1/models/dashboard_spec.rb deleted file mode 100644 index d9e492ffbff..00000000000 --- a/spec/v1/models/dashboard_spec.rb +++ /dev/null @@ -1,113 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::Dashboard -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'Dashboard' do - before do - # run before each test - @instance = DatadogAPIClient::V1::Dashboard.new - end - - after do - # run after each test - end - - describe 'test an instance of Dashboard' do - it 'should create an instance of Dashboard' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::Dashboard) - end - end - describe 'test attribute "author_handle"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "created_at"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "description"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "is_read_only"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "layout_type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "modified_at"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "notify_list"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "template_variable_presets"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "template_variables"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "title"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "url"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "widgets"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/dashboard_summary_dashboards_spec.rb b/spec/v1/models/dashboard_summary_dashboards_spec.rb deleted file mode 100644 index 3437412d7e9..00000000000 --- a/spec/v1/models/dashboard_summary_dashboards_spec.rb +++ /dev/null @@ -1,89 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::DashboardSummaryDashboards -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'DashboardSummaryDashboards' do - before do - # run before each test - @instance = DatadogAPIClient::V1::DashboardSummaryDashboards.new - end - - after do - # run after each test - end - - describe 'test an instance of DashboardSummaryDashboards' do - it 'should create an instance of DashboardSummaryDashboards' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::DashboardSummaryDashboards) - end - end - describe 'test attribute "author_handle"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "created_at"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "description"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "is_read_only"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "layout_type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "modified_at"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "title"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "url"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/dashboard_summary_spec.rb b/spec/v1/models/dashboard_summary_spec.rb deleted file mode 100644 index fae38ceeb13..00000000000 --- a/spec/v1/models/dashboard_summary_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::DashboardSummary -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'DashboardSummary' do - before do - # run before each test - @instance = DatadogAPIClient::V1::DashboardSummary.new - end - - after do - # run after each test - end - - describe 'test an instance of DashboardSummary' do - it 'should create an instance of DashboardSummary' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::DashboardSummary) - end - end - describe 'test attribute "dashboards"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/dashboard_template_variable_preset_spec.rb b/spec/v1/models/dashboard_template_variable_preset_spec.rb deleted file mode 100644 index 21a9ad7487a..00000000000 --- a/spec/v1/models/dashboard_template_variable_preset_spec.rb +++ /dev/null @@ -1,47 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::DashboardTemplateVariablePreset -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'DashboardTemplateVariablePreset' do - before do - # run before each test - @instance = DatadogAPIClient::V1::DashboardTemplateVariablePreset.new - end - - after do - # run after each test - end - - describe 'test an instance of DashboardTemplateVariablePreset' do - it 'should create an instance of DashboardTemplateVariablePreset' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::DashboardTemplateVariablePreset) - end - end - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "template_variables"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/dashboard_template_variable_preset_value_spec.rb b/spec/v1/models/dashboard_template_variable_preset_value_spec.rb deleted file mode 100644 index ba76ddf70d8..00000000000 --- a/spec/v1/models/dashboard_template_variable_preset_value_spec.rb +++ /dev/null @@ -1,47 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::DashboardTemplateVariablePresetValue -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'DashboardTemplateVariablePresetValue' do - before do - # run before each test - @instance = DatadogAPIClient::V1::DashboardTemplateVariablePresetValue.new - end - - after do - # run after each test - end - - describe 'test an instance of DashboardTemplateVariablePresetValue' do - it 'should create an instance of DashboardTemplateVariablePresetValue' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::DashboardTemplateVariablePresetValue) - end - end - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "value"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/dashboard_template_variables_spec.rb b/spec/v1/models/dashboard_template_variables_spec.rb deleted file mode 100644 index ee83ca7a53f..00000000000 --- a/spec/v1/models/dashboard_template_variables_spec.rb +++ /dev/null @@ -1,53 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::DashboardTemplateVariables -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'DashboardTemplateVariables' do - before do - # run before each test - @instance = DatadogAPIClient::V1::DashboardTemplateVariables.new - end - - after do - # run after each test - end - - describe 'test an instance of DashboardTemplateVariables' do - it 'should create an instance of DashboardTemplateVariables' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::DashboardTemplateVariables) - end - end - describe 'test attribute "default"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "prefix"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/deleted_monitor_spec.rb b/spec/v1/models/deleted_monitor_spec.rb deleted file mode 100644 index b8a5adb41e6..00000000000 --- a/spec/v1/models/deleted_monitor_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::DeletedMonitor -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'DeletedMonitor' do - before do - # run before each test - @instance = DatadogAPIClient::V1::DeletedMonitor.new - end - - after do - # run after each test - end - - describe 'test an instance of DeletedMonitor' do - it 'should create an instance of DeletedMonitor' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::DeletedMonitor) - end - end - describe 'test attribute "deleted_monitor_id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/distribution_widget_definition_spec.rb b/spec/v1/models/distribution_widget_definition_spec.rb deleted file mode 100644 index 877fa59ca40..00000000000 --- a/spec/v1/models/distribution_widget_definition_spec.rb +++ /dev/null @@ -1,83 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::DistributionWidgetDefinition -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'DistributionWidgetDefinition' do - before do - # run before each test - @instance = DatadogAPIClient::V1::DistributionWidgetDefinition.new - end - - after do - # run after each test - end - - describe 'test an instance of DistributionWidgetDefinition' do - it 'should create an instance of DistributionWidgetDefinition' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::DistributionWidgetDefinition) - end - end - describe 'test attribute "legend_size"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "requests"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "show_legend"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "time"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "title"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "title_align"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "title_size"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/distribution_widget_definition_type_spec.rb b/spec/v1/models/distribution_widget_definition_type_spec.rb deleted file mode 100644 index 0a0f787b9e8..00000000000 --- a/spec/v1/models/distribution_widget_definition_type_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::DistributionWidgetDefinitionType -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'DistributionWidgetDefinitionType' do - before do - # run before each test - @instance = DatadogAPIClient::V1::DistributionWidgetDefinitionType.new - end - - after do - # run after each test - end - - describe 'test an instance of DistributionWidgetDefinitionType' do - it 'should create an instance of DistributionWidgetDefinitionType' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::DistributionWidgetDefinitionType) - end - end -end diff --git a/spec/v1/models/distribution_widget_request_spec.rb b/spec/v1/models/distribution_widget_request_spec.rb deleted file mode 100644 index d759d6ffdbb..00000000000 --- a/spec/v1/models/distribution_widget_request_spec.rb +++ /dev/null @@ -1,89 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::DistributionWidgetRequest -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'DistributionWidgetRequest' do - before do - # run before each test - @instance = DatadogAPIClient::V1::DistributionWidgetRequest.new - end - - after do - # run after each test - end - - describe 'test an instance of DistributionWidgetRequest' do - it 'should create an instance of DistributionWidgetRequest' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::DistributionWidgetRequest) - end - end - describe 'test attribute "apm_query"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "event_query"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "log_query"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "network_query"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "process_query"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "q"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "rum_query"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "security_query"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "style"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/downtime_recurrence_spec.rb b/spec/v1/models/downtime_recurrence_spec.rb deleted file mode 100644 index a85e0f06d6c..00000000000 --- a/spec/v1/models/downtime_recurrence_spec.rb +++ /dev/null @@ -1,71 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::DowntimeRecurrence -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'DowntimeRecurrence' do - before do - # run before each test - @instance = DatadogAPIClient::V1::DowntimeRecurrence.new - end - - after do - # run after each test - end - - describe 'test an instance of DowntimeRecurrence' do - it 'should create an instance of DowntimeRecurrence' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::DowntimeRecurrence) - end - end - describe 'test attribute "period"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "rrule"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "until_date"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "until_occurrences"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "week_days"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/downtime_spec.rb b/spec/v1/models/downtime_spec.rb deleted file mode 100644 index a126eb5438a..00000000000 --- a/spec/v1/models/downtime_spec.rb +++ /dev/null @@ -1,131 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::Downtime -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'Downtime' do - before do - # run before each test - @instance = DatadogAPIClient::V1::Downtime.new - end - - after do - # run after each test - end - - describe 'test an instance of Downtime' do - it 'should create an instance of Downtime' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::Downtime) - end - end - describe 'test attribute "active"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "canceled"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "creator_id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "disabled"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "downtime_type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "_end"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "message"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "monitor_id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "monitor_tags"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "parent_id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "recurrence"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "scope"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "start"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "timezone"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "updater_id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/event_alert_type_spec.rb b/spec/v1/models/event_alert_type_spec.rb deleted file mode 100644 index e5cda138912..00000000000 --- a/spec/v1/models/event_alert_type_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::EventAlertType -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'EventAlertType' do - before do - # run before each test - @instance = DatadogAPIClient::V1::EventAlertType.new - end - - after do - # run after each test - end - - describe 'test an instance of EventAlertType' do - it 'should create an instance of EventAlertType' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::EventAlertType) - end - end -end diff --git a/spec/v1/models/event_list_response_spec.rb b/spec/v1/models/event_list_response_spec.rb deleted file mode 100644 index f740e8717d2..00000000000 --- a/spec/v1/models/event_list_response_spec.rb +++ /dev/null @@ -1,47 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::EventListResponse -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'EventListResponse' do - before do - # run before each test - @instance = DatadogAPIClient::V1::EventListResponse.new - end - - after do - # run after each test - end - - describe 'test an instance of EventListResponse' do - it 'should create an instance of EventListResponse' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::EventListResponse) - end - end - describe 'test attribute "events"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "status"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/event_priority_spec.rb b/spec/v1/models/event_priority_spec.rb deleted file mode 100644 index 31dfd203a3f..00000000000 --- a/spec/v1/models/event_priority_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::EventPriority -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'EventPriority' do - before do - # run before each test - @instance = DatadogAPIClient::V1::EventPriority.new - end - - after do - # run after each test - end - - describe 'test an instance of EventPriority' do - it 'should create an instance of EventPriority' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::EventPriority) - end - end -end diff --git a/spec/v1/models/event_query_definition_spec.rb b/spec/v1/models/event_query_definition_spec.rb deleted file mode 100644 index c36c8b72c1e..00000000000 --- a/spec/v1/models/event_query_definition_spec.rb +++ /dev/null @@ -1,47 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::EventQueryDefinition -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'EventQueryDefinition' do - before do - # run before each test - @instance = DatadogAPIClient::V1::EventQueryDefinition.new - end - - after do - # run after each test - end - - describe 'test an instance of EventQueryDefinition' do - it 'should create an instance of EventQueryDefinition' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::EventQueryDefinition) - end - end - describe 'test attribute "search"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "tags_execution"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/event_response_spec.rb b/spec/v1/models/event_response_spec.rb deleted file mode 100644 index c720ef1c3c6..00000000000 --- a/spec/v1/models/event_response_spec.rb +++ /dev/null @@ -1,47 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::EventResponse -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'EventResponse' do - before do - # run before each test - @instance = DatadogAPIClient::V1::EventResponse.new - end - - after do - # run after each test - end - - describe 'test an instance of EventResponse' do - it 'should create an instance of EventResponse' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::EventResponse) - end - end - describe 'test attribute "event"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "status"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/event_spec.rb b/spec/v1/models/event_spec.rb deleted file mode 100644 index 484c7938a3c..00000000000 --- a/spec/v1/models/event_spec.rb +++ /dev/null @@ -1,119 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::Event -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'Event' do - before do - # run before each test - @instance = DatadogAPIClient::V1::Event.new - end - - after do - # run after each test - end - - describe 'test an instance of Event' do - it 'should create an instance of Event' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::Event) - end - end - describe 'test attribute "aggregation_key"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "alert_type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "date_happened"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "device_name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "host"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "payload"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "priority"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "related_event_id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "source_type_name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "tags"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "text"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "title"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "url"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/event_stream_widget_definition_spec.rb b/spec/v1/models/event_stream_widget_definition_spec.rb deleted file mode 100644 index a5d4a55fe72..00000000000 --- a/spec/v1/models/event_stream_widget_definition_spec.rb +++ /dev/null @@ -1,83 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::EventStreamWidgetDefinition -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'EventStreamWidgetDefinition' do - before do - # run before each test - @instance = DatadogAPIClient::V1::EventStreamWidgetDefinition.new - end - - after do - # run after each test - end - - describe 'test an instance of EventStreamWidgetDefinition' do - it 'should create an instance of EventStreamWidgetDefinition' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::EventStreamWidgetDefinition) - end - end - describe 'test attribute "event_size"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "query"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "tags_execution"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "time"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "title"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "title_align"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "title_size"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/event_stream_widget_definition_type_spec.rb b/spec/v1/models/event_stream_widget_definition_type_spec.rb deleted file mode 100644 index ce81d266dad..00000000000 --- a/spec/v1/models/event_stream_widget_definition_type_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::EventStreamWidgetDefinitionType -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'EventStreamWidgetDefinitionType' do - before do - # run before each test - @instance = DatadogAPIClient::V1::EventStreamWidgetDefinitionType.new - end - - after do - # run after each test - end - - describe 'test an instance of EventStreamWidgetDefinitionType' do - it 'should create an instance of EventStreamWidgetDefinitionType' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::EventStreamWidgetDefinitionType) - end - end -end diff --git a/spec/v1/models/event_timeline_widget_definition_spec.rb b/spec/v1/models/event_timeline_widget_definition_spec.rb deleted file mode 100644 index 545d369f96a..00000000000 --- a/spec/v1/models/event_timeline_widget_definition_spec.rb +++ /dev/null @@ -1,77 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::EventTimelineWidgetDefinition -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'EventTimelineWidgetDefinition' do - before do - # run before each test - @instance = DatadogAPIClient::V1::EventTimelineWidgetDefinition.new - end - - after do - # run after each test - end - - describe 'test an instance of EventTimelineWidgetDefinition' do - it 'should create an instance of EventTimelineWidgetDefinition' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::EventTimelineWidgetDefinition) - end - end - describe 'test attribute "query"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "tags_execution"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "time"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "title"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "title_align"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "title_size"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/event_timeline_widget_definition_type_spec.rb b/spec/v1/models/event_timeline_widget_definition_type_spec.rb deleted file mode 100644 index 67fd54ea524..00000000000 --- a/spec/v1/models/event_timeline_widget_definition_type_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::EventTimelineWidgetDefinitionType -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'EventTimelineWidgetDefinitionType' do - before do - # run before each test - @instance = DatadogAPIClient::V1::EventTimelineWidgetDefinitionType.new - end - - after do - # run after each test - end - - describe 'test an instance of EventTimelineWidgetDefinitionType' do - it 'should create an instance of EventTimelineWidgetDefinitionType' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::EventTimelineWidgetDefinitionType) - end - end -end diff --git a/spec/v1/models/free_text_widget_definition_spec.rb b/spec/v1/models/free_text_widget_definition_spec.rb deleted file mode 100644 index 96cfa5f7dd1..00000000000 --- a/spec/v1/models/free_text_widget_definition_spec.rb +++ /dev/null @@ -1,65 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::FreeTextWidgetDefinition -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'FreeTextWidgetDefinition' do - before do - # run before each test - @instance = DatadogAPIClient::V1::FreeTextWidgetDefinition.new - end - - after do - # run after each test - end - - describe 'test an instance of FreeTextWidgetDefinition' do - it 'should create an instance of FreeTextWidgetDefinition' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::FreeTextWidgetDefinition) - end - end - describe 'test attribute "color"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "font_size"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "text"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "text_align"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/free_text_widget_definition_type_spec.rb b/spec/v1/models/free_text_widget_definition_type_spec.rb deleted file mode 100644 index 6d868d12c84..00000000000 --- a/spec/v1/models/free_text_widget_definition_type_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::FreeTextWidgetDefinitionType -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'FreeTextWidgetDefinitionType' do - before do - # run before each test - @instance = DatadogAPIClient::V1::FreeTextWidgetDefinitionType.new - end - - after do - # run after each test - end - - describe 'test an instance of FreeTextWidgetDefinitionType' do - it 'should create an instance of FreeTextWidgetDefinitionType' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::FreeTextWidgetDefinitionType) - end - end -end diff --git a/spec/v1/models/gcp_account_spec.rb b/spec/v1/models/gcp_account_spec.rb deleted file mode 100644 index 3973d7953bb..00000000000 --- a/spec/v1/models/gcp_account_spec.rb +++ /dev/null @@ -1,113 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::GCPAccount -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'GCPAccount' do - before do - # run before each test - @instance = DatadogAPIClient::V1::GCPAccount.new - end - - after do - # run after each test - end - - describe 'test an instance of GCPAccount' do - it 'should create an instance of GCPAccount' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::GCPAccount) - end - end - describe 'test attribute "auth_provider_x509_cert_url"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "auth_uri"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "automute"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "client_email"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "client_id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "client_x509_cert_url"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "errors"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "host_filters"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "private_key"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "private_key_id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "project_id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "token_uri"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/graph_snapshot_spec.rb b/spec/v1/models/graph_snapshot_spec.rb deleted file mode 100644 index 9e5c7e9085b..00000000000 --- a/spec/v1/models/graph_snapshot_spec.rb +++ /dev/null @@ -1,53 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::GraphSnapshot -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'GraphSnapshot' do - before do - # run before each test - @instance = DatadogAPIClient::V1::GraphSnapshot.new - end - - after do - # run after each test - end - - describe 'test an instance of GraphSnapshot' do - it 'should create an instance of GraphSnapshot' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::GraphSnapshot) - end - end - describe 'test attribute "graph_def"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metric_query"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "snapshot_url"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/group_widget_definition_spec.rb b/spec/v1/models/group_widget_definition_spec.rb deleted file mode 100644 index bd2cebd66a5..00000000000 --- a/spec/v1/models/group_widget_definition_spec.rb +++ /dev/null @@ -1,59 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::GroupWidgetDefinition -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'GroupWidgetDefinition' do - before do - # run before each test - @instance = DatadogAPIClient::V1::GroupWidgetDefinition.new - end - - after do - # run after each test - end - - describe 'test an instance of GroupWidgetDefinition' do - it 'should create an instance of GroupWidgetDefinition' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::GroupWidgetDefinition) - end - end - describe 'test attribute "layout_type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "title"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "widgets"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/group_widget_definition_type_spec.rb b/spec/v1/models/group_widget_definition_type_spec.rb deleted file mode 100644 index 6af936c5a4f..00000000000 --- a/spec/v1/models/group_widget_definition_type_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::GroupWidgetDefinitionType -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'GroupWidgetDefinitionType' do - before do - # run before each test - @instance = DatadogAPIClient::V1::GroupWidgetDefinitionType.new - end - - after do - # run after each test - end - - describe 'test an instance of GroupWidgetDefinitionType' do - it 'should create an instance of GroupWidgetDefinitionType' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::GroupWidgetDefinitionType) - end - end -end diff --git a/spec/v1/models/heat_map_widget_definition_spec.rb b/spec/v1/models/heat_map_widget_definition_spec.rb deleted file mode 100644 index 4383fc8ec28..00000000000 --- a/spec/v1/models/heat_map_widget_definition_spec.rb +++ /dev/null @@ -1,101 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::HeatMapWidgetDefinition -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'HeatMapWidgetDefinition' do - before do - # run before each test - @instance = DatadogAPIClient::V1::HeatMapWidgetDefinition.new - end - - after do - # run after each test - end - - describe 'test an instance of HeatMapWidgetDefinition' do - it 'should create an instance of HeatMapWidgetDefinition' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::HeatMapWidgetDefinition) - end - end - describe 'test attribute "custom_links"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "events"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "legend_size"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "requests"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "show_legend"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "time"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "title"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "title_align"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "title_size"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "yaxis"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/heat_map_widget_definition_type_spec.rb b/spec/v1/models/heat_map_widget_definition_type_spec.rb deleted file mode 100644 index 5b778543701..00000000000 --- a/spec/v1/models/heat_map_widget_definition_type_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::HeatMapWidgetDefinitionType -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'HeatMapWidgetDefinitionType' do - before do - # run before each test - @instance = DatadogAPIClient::V1::HeatMapWidgetDefinitionType.new - end - - after do - # run after each test - end - - describe 'test an instance of HeatMapWidgetDefinitionType' do - it 'should create an instance of HeatMapWidgetDefinitionType' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::HeatMapWidgetDefinitionType) - end - end -end diff --git a/spec/v1/models/heat_map_widget_request_spec.rb b/spec/v1/models/heat_map_widget_request_spec.rb deleted file mode 100644 index 6ba77c975e4..00000000000 --- a/spec/v1/models/heat_map_widget_request_spec.rb +++ /dev/null @@ -1,89 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::HeatMapWidgetRequest -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'HeatMapWidgetRequest' do - before do - # run before each test - @instance = DatadogAPIClient::V1::HeatMapWidgetRequest.new - end - - after do - # run after each test - end - - describe 'test an instance of HeatMapWidgetRequest' do - it 'should create an instance of HeatMapWidgetRequest' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::HeatMapWidgetRequest) - end - end - describe 'test attribute "apm_query"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "event_query"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "log_query"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "network_query"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "process_query"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "q"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "rum_query"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "security_query"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "style"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/host_list_response_spec.rb b/spec/v1/models/host_list_response_spec.rb deleted file mode 100644 index 3ab4547eb86..00000000000 --- a/spec/v1/models/host_list_response_spec.rb +++ /dev/null @@ -1,53 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::HostListResponse -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'HostListResponse' do - before do - # run before each test - @instance = DatadogAPIClient::V1::HostListResponse.new - end - - after do - # run after each test - end - - describe 'test an instance of HostListResponse' do - it 'should create an instance of HostListResponse' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::HostListResponse) - end - end - describe 'test attribute "host_list"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "total_matching"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "total_returned"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/host_map_request_spec.rb b/spec/v1/models/host_map_request_spec.rb deleted file mode 100644 index a36ed2d27e5..00000000000 --- a/spec/v1/models/host_map_request_spec.rb +++ /dev/null @@ -1,83 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::HostMapRequest -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'HostMapRequest' do - before do - # run before each test - @instance = DatadogAPIClient::V1::HostMapRequest.new - end - - after do - # run after each test - end - - describe 'test an instance of HostMapRequest' do - it 'should create an instance of HostMapRequest' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::HostMapRequest) - end - end - describe 'test attribute "apm_query"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "event_query"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "log_query"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "network_query"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "process_query"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "q"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "rum_query"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "security_query"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/host_map_widget_definition_requests_spec.rb b/spec/v1/models/host_map_widget_definition_requests_spec.rb deleted file mode 100644 index 16843071d1c..00000000000 --- a/spec/v1/models/host_map_widget_definition_requests_spec.rb +++ /dev/null @@ -1,47 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::HostMapWidgetDefinitionRequests -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'HostMapWidgetDefinitionRequests' do - before do - # run before each test - @instance = DatadogAPIClient::V1::HostMapWidgetDefinitionRequests.new - end - - after do - # run after each test - end - - describe 'test an instance of HostMapWidgetDefinitionRequests' do - it 'should create an instance of HostMapWidgetDefinitionRequests' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::HostMapWidgetDefinitionRequests) - end - end - describe 'test attribute "fill"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "size"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/host_map_widget_definition_spec.rb b/spec/v1/models/host_map_widget_definition_spec.rb deleted file mode 100644 index 39902160dd3..00000000000 --- a/spec/v1/models/host_map_widget_definition_spec.rb +++ /dev/null @@ -1,113 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::HostMapWidgetDefinition -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'HostMapWidgetDefinition' do - before do - # run before each test - @instance = DatadogAPIClient::V1::HostMapWidgetDefinition.new - end - - after do - # run after each test - end - - describe 'test an instance of HostMapWidgetDefinition' do - it 'should create an instance of HostMapWidgetDefinition' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::HostMapWidgetDefinition) - end - end - describe 'test attribute "custom_links"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "group"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "no_group_hosts"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "no_metric_hosts"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "node_type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "notes"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "requests"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "scope"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "style"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "title"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "title_align"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "title_size"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/host_map_widget_definition_style_spec.rb b/spec/v1/models/host_map_widget_definition_style_spec.rb deleted file mode 100644 index ca7ab3e31c8..00000000000 --- a/spec/v1/models/host_map_widget_definition_style_spec.rb +++ /dev/null @@ -1,59 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::HostMapWidgetDefinitionStyle -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'HostMapWidgetDefinitionStyle' do - before do - # run before each test - @instance = DatadogAPIClient::V1::HostMapWidgetDefinitionStyle.new - end - - after do - # run after each test - end - - describe 'test an instance of HostMapWidgetDefinitionStyle' do - it 'should create an instance of HostMapWidgetDefinitionStyle' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::HostMapWidgetDefinitionStyle) - end - end - describe 'test attribute "fill_max"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "fill_min"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "palette"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "palette_flip"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/host_map_widget_definition_type_spec.rb b/spec/v1/models/host_map_widget_definition_type_spec.rb deleted file mode 100644 index bc484518d22..00000000000 --- a/spec/v1/models/host_map_widget_definition_type_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::HostMapWidgetDefinitionType -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'HostMapWidgetDefinitionType' do - before do - # run before each test - @instance = DatadogAPIClient::V1::HostMapWidgetDefinitionType.new - end - - after do - # run after each test - end - - describe 'test an instance of HostMapWidgetDefinitionType' do - it 'should create an instance of HostMapWidgetDefinitionType' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::HostMapWidgetDefinitionType) - end - end -end diff --git a/spec/v1/models/host_meta_spec.rb b/spec/v1/models/host_meta_spec.rb deleted file mode 100644 index df2a5f31f84..00000000000 --- a/spec/v1/models/host_meta_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::HostMeta -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'HostMeta' do - before do - # run before each test - @instance = DatadogAPIClient::V1::HostMeta.new - end - - after do - # run after each test - end - - describe 'test an instance of HostMeta' do - it 'should create an instance of HostMeta' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::HostMeta) - end - end - describe 'test attribute "nix_v"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/host_metrics_spec.rb b/spec/v1/models/host_metrics_spec.rb deleted file mode 100644 index f0af8b6428a..00000000000 --- a/spec/v1/models/host_metrics_spec.rb +++ /dev/null @@ -1,53 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::HostMetrics -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'HostMetrics' do - before do - # run before each test - @instance = DatadogAPIClient::V1::HostMetrics.new - end - - after do - # run after each test - end - - describe 'test an instance of HostMetrics' do - it 'should create an instance of HostMetrics' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::HostMetrics) - end - end - describe 'test attribute "cpu"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "iowait"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "load"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/host_mute_response_spec.rb b/spec/v1/models/host_mute_response_spec.rb deleted file mode 100644 index ea3b8097721..00000000000 --- a/spec/v1/models/host_mute_response_spec.rb +++ /dev/null @@ -1,59 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::HostMuteResponse -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'HostMuteResponse' do - before do - # run before each test - @instance = DatadogAPIClient::V1::HostMuteResponse.new - end - - after do - # run after each test - end - - describe 'test an instance of HostMuteResponse' do - it 'should create an instance of HostMuteResponse' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::HostMuteResponse) - end - end - describe 'test attribute "action"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "_end"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "hostname"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "message"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/host_mute_settings_spec.rb b/spec/v1/models/host_mute_settings_spec.rb deleted file mode 100644 index f3e6bf70c0b..00000000000 --- a/spec/v1/models/host_mute_settings_spec.rb +++ /dev/null @@ -1,53 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::HostMuteSettings -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'HostMuteSettings' do - before do - # run before each test - @instance = DatadogAPIClient::V1::HostMuteSettings.new - end - - after do - # run after each test - end - - describe 'test an instance of HostMuteSettings' do - it 'should create an instance of HostMuteSettings' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::HostMuteSettings) - end - end - describe 'test attribute "_end"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "message"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "override"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/host_spec.rb b/spec/v1/models/host_spec.rb deleted file mode 100644 index f5825b0706a..00000000000 --- a/spec/v1/models/host_spec.rb +++ /dev/null @@ -1,119 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::Host -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'Host' do - before do - # run before each test - @instance = DatadogAPIClient::V1::Host.new - end - - after do - # run after each test - end - - describe 'test an instance of Host' do - it 'should create an instance of Host' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::Host) - end - end - describe 'test attribute "aliases"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "apps"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "aws_name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "host_name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "is_muted"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "last_reported_time"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "meta"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metrics"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "mute_timeout"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "sources"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "tags_by_source"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "up"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/host_tags_spec.rb b/spec/v1/models/host_tags_spec.rb deleted file mode 100644 index b9f9deb70bb..00000000000 --- a/spec/v1/models/host_tags_spec.rb +++ /dev/null @@ -1,47 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::HostTags -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'HostTags' do - before do - # run before each test - @instance = DatadogAPIClient::V1::HostTags.new - end - - after do - # run after each test - end - - describe 'test an instance of HostTags' do - it 'should create an instance of HostTags' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::HostTags) - end - end - describe 'test attribute "host"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "tags"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/host_totals_spec.rb b/spec/v1/models/host_totals_spec.rb deleted file mode 100644 index 6a52759e929..00000000000 --- a/spec/v1/models/host_totals_spec.rb +++ /dev/null @@ -1,47 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::HostTotals -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'HostTotals' do - before do - # run before each test - @instance = DatadogAPIClient::V1::HostTotals.new - end - - after do - # run after each test - end - - describe 'test an instance of HostTotals' do - it 'should create an instance of HostTotals' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::HostTotals) - end - end - describe 'test attribute "total_active"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "total_up"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/http_method_spec.rb b/spec/v1/models/http_method_spec.rb deleted file mode 100644 index 40817d1a5ef..00000000000 --- a/spec/v1/models/http_method_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::HTTPMethod -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'HTTPMethod' do - before do - # run before each test - @instance = DatadogAPIClient::V1::HTTPMethod.new - end - - after do - # run after each test - end - - describe 'test an instance of HTTPMethod' do - it 'should create an instance of HTTPMethod' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::HTTPMethod) - end - end -end diff --git a/spec/v1/models/i_frame_widget_definition_spec.rb b/spec/v1/models/i_frame_widget_definition_spec.rb deleted file mode 100644 index 3587a5e07a4..00000000000 --- a/spec/v1/models/i_frame_widget_definition_spec.rb +++ /dev/null @@ -1,47 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::IFrameWidgetDefinition -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'IFrameWidgetDefinition' do - before do - # run before each test - @instance = DatadogAPIClient::V1::IFrameWidgetDefinition.new - end - - after do - # run after each test - end - - describe 'test an instance of IFrameWidgetDefinition' do - it 'should create an instance of IFrameWidgetDefinition' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::IFrameWidgetDefinition) - end - end - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "url"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/i_frame_widget_definition_type_spec.rb b/spec/v1/models/i_frame_widget_definition_type_spec.rb deleted file mode 100644 index 0b02e69e19f..00000000000 --- a/spec/v1/models/i_frame_widget_definition_type_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::IFrameWidgetDefinitionType -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'IFrameWidgetDefinitionType' do - before do - # run before each test - @instance = DatadogAPIClient::V1::IFrameWidgetDefinitionType.new - end - - after do - # run after each test - end - - describe 'test an instance of IFrameWidgetDefinitionType' do - it 'should create an instance of IFrameWidgetDefinitionType' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::IFrameWidgetDefinitionType) - end - end -end diff --git a/spec/v1/models/idp_form_data_spec.rb b/spec/v1/models/idp_form_data_spec.rb deleted file mode 100644 index 639444c46d0..00000000000 --- a/spec/v1/models/idp_form_data_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::IdpFormData -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'IdpFormData' do - before do - # run before each test - @instance = DatadogAPIClient::V1::IdpFormData.new - end - - after do - # run after each test - end - - describe 'test an instance of IdpFormData' do - it 'should create an instance of IdpFormData' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::IdpFormData) - end - end - describe 'test attribute "idp_file"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/idp_response_spec.rb b/spec/v1/models/idp_response_spec.rb deleted file mode 100644 index 1001043944c..00000000000 --- a/spec/v1/models/idp_response_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::IdpResponse -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'IdpResponse' do - before do - # run before each test - @instance = DatadogAPIClient::V1::IdpResponse.new - end - - after do - # run after each test - end - - describe 'test an instance of IdpResponse' do - it 'should create an instance of IdpResponse' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::IdpResponse) - end - end - describe 'test attribute "message"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/image_widget_definition_spec.rb b/spec/v1/models/image_widget_definition_spec.rb deleted file mode 100644 index bfd2b34e67e..00000000000 --- a/spec/v1/models/image_widget_definition_spec.rb +++ /dev/null @@ -1,59 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::ImageWidgetDefinition -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'ImageWidgetDefinition' do - before do - # run before each test - @instance = DatadogAPIClient::V1::ImageWidgetDefinition.new - end - - after do - # run after each test - end - - describe 'test an instance of ImageWidgetDefinition' do - it 'should create an instance of ImageWidgetDefinition' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::ImageWidgetDefinition) - end - end - describe 'test attribute "margin"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "sizing"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "url"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/image_widget_definition_type_spec.rb b/spec/v1/models/image_widget_definition_type_spec.rb deleted file mode 100644 index 77f03b85fe4..00000000000 --- a/spec/v1/models/image_widget_definition_type_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::ImageWidgetDefinitionType -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'ImageWidgetDefinitionType' do - before do - # run before each test - @instance = DatadogAPIClient::V1::ImageWidgetDefinitionType.new - end - - after do - # run after each test - end - - describe 'test an instance of ImageWidgetDefinitionType' do - it 'should create an instance of ImageWidgetDefinitionType' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::ImageWidgetDefinitionType) - end - end -end diff --git a/spec/v1/models/ip_prefixes_agents_spec.rb b/spec/v1/models/ip_prefixes_agents_spec.rb deleted file mode 100644 index e70b49ef42e..00000000000 --- a/spec/v1/models/ip_prefixes_agents_spec.rb +++ /dev/null @@ -1,47 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::IPPrefixesAgents -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'IPPrefixesAgents' do - before do - # run before each test - @instance = DatadogAPIClient::V1::IPPrefixesAgents.new - end - - after do - # run after each test - end - - describe 'test an instance of IPPrefixesAgents' do - it 'should create an instance of IPPrefixesAgents' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::IPPrefixesAgents) - end - end - describe 'test attribute "prefixes_ipv4"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "prefixes_ipv6"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/ip_prefixes_api_spec.rb b/spec/v1/models/ip_prefixes_api_spec.rb deleted file mode 100644 index 9506324c02b..00000000000 --- a/spec/v1/models/ip_prefixes_api_spec.rb +++ /dev/null @@ -1,47 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::IPPrefixesAPI -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'IPPrefixesAPI' do - before do - # run before each test - @instance = DatadogAPIClient::V1::IPPrefixesAPI.new - end - - after do - # run after each test - end - - describe 'test an instance of IPPrefixesAPI' do - it 'should create an instance of IPPrefixesAPI' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::IPPrefixesAPI) - end - end - describe 'test attribute "prefixes_ipv4"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "prefixes_ipv6"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/ip_prefixes_apm_spec.rb b/spec/v1/models/ip_prefixes_apm_spec.rb deleted file mode 100644 index 45194d007af..00000000000 --- a/spec/v1/models/ip_prefixes_apm_spec.rb +++ /dev/null @@ -1,47 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::IPPrefixesAPM -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'IPPrefixesAPM' do - before do - # run before each test - @instance = DatadogAPIClient::V1::IPPrefixesAPM.new - end - - after do - # run after each test - end - - describe 'test an instance of IPPrefixesAPM' do - it 'should create an instance of IPPrefixesAPM' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::IPPrefixesAPM) - end - end - describe 'test attribute "prefixes_ipv4"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "prefixes_ipv6"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/ip_prefixes_logs_spec.rb b/spec/v1/models/ip_prefixes_logs_spec.rb deleted file mode 100644 index 8602f46d450..00000000000 --- a/spec/v1/models/ip_prefixes_logs_spec.rb +++ /dev/null @@ -1,47 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::IPPrefixesLogs -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'IPPrefixesLogs' do - before do - # run before each test - @instance = DatadogAPIClient::V1::IPPrefixesLogs.new - end - - after do - # run after each test - end - - describe 'test an instance of IPPrefixesLogs' do - it 'should create an instance of IPPrefixesLogs' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::IPPrefixesLogs) - end - end - describe 'test attribute "prefixes_ipv4"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "prefixes_ipv6"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/ip_prefixes_process_spec.rb b/spec/v1/models/ip_prefixes_process_spec.rb deleted file mode 100644 index 7fa777e32bb..00000000000 --- a/spec/v1/models/ip_prefixes_process_spec.rb +++ /dev/null @@ -1,47 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::IPPrefixesProcess -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'IPPrefixesProcess' do - before do - # run before each test - @instance = DatadogAPIClient::V1::IPPrefixesProcess.new - end - - after do - # run after each test - end - - describe 'test an instance of IPPrefixesProcess' do - it 'should create an instance of IPPrefixesProcess' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::IPPrefixesProcess) - end - end - describe 'test attribute "prefixes_ipv4"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "prefixes_ipv6"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/ip_prefixes_synthetics_spec.rb b/spec/v1/models/ip_prefixes_synthetics_spec.rb deleted file mode 100644 index 9e17eba5370..00000000000 --- a/spec/v1/models/ip_prefixes_synthetics_spec.rb +++ /dev/null @@ -1,47 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::IPPrefixesSynthetics -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'IPPrefixesSynthetics' do - before do - # run before each test - @instance = DatadogAPIClient::V1::IPPrefixesSynthetics.new - end - - after do - # run after each test - end - - describe 'test an instance of IPPrefixesSynthetics' do - it 'should create an instance of IPPrefixesSynthetics' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::IPPrefixesSynthetics) - end - end - describe 'test attribute "prefixes_ipv4"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "prefixes_ipv6"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/ip_prefixes_webhooks_spec.rb b/spec/v1/models/ip_prefixes_webhooks_spec.rb deleted file mode 100644 index 0b23e54cb35..00000000000 --- a/spec/v1/models/ip_prefixes_webhooks_spec.rb +++ /dev/null @@ -1,47 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::IPPrefixesWebhooks -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'IPPrefixesWebhooks' do - before do - # run before each test - @instance = DatadogAPIClient::V1::IPPrefixesWebhooks.new - end - - after do - # run after each test - end - - describe 'test an instance of IPPrefixesWebhooks' do - it 'should create an instance of IPPrefixesWebhooks' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::IPPrefixesWebhooks) - end - end - describe 'test attribute "prefixes_ipv4"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "prefixes_ipv6"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/ip_ranges_spec.rb b/spec/v1/models/ip_ranges_spec.rb deleted file mode 100644 index 4aebe6209e1..00000000000 --- a/spec/v1/models/ip_ranges_spec.rb +++ /dev/null @@ -1,89 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::IPRanges -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'IPRanges' do - before do - # run before each test - @instance = DatadogAPIClient::V1::IPRanges.new - end - - after do - # run after each test - end - - describe 'test an instance of IPRanges' do - it 'should create an instance of IPRanges' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::IPRanges) - end - end - describe 'test attribute "agents"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "api"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "apm"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "logs"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "modified"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "process"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "synthetics"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "webhooks"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/log_content_spec.rb b/spec/v1/models/log_content_spec.rb deleted file mode 100644 index 780a67743df..00000000000 --- a/spec/v1/models/log_content_spec.rb +++ /dev/null @@ -1,71 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::LogContent -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogContent' do - before do - # run before each test - @instance = DatadogAPIClient::V1::LogContent.new - end - - after do - # run after each test - end - - describe 'test an instance of LogContent' do - it 'should create an instance of LogContent' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::LogContent) - end - end - describe 'test attribute "attributes"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "host"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "message"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "service"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "tags"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "timestamp"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/log_query_definition_group_by_spec.rb b/spec/v1/models/log_query_definition_group_by_spec.rb deleted file mode 100644 index 8a8fe8bcdcf..00000000000 --- a/spec/v1/models/log_query_definition_group_by_spec.rb +++ /dev/null @@ -1,53 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::LogQueryDefinitionGroupBy -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogQueryDefinitionGroupBy' do - before do - # run before each test - @instance = DatadogAPIClient::V1::LogQueryDefinitionGroupBy.new - end - - after do - # run after each test - end - - describe 'test an instance of LogQueryDefinitionGroupBy' do - it 'should create an instance of LogQueryDefinitionGroupBy' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::LogQueryDefinitionGroupBy) - end - end - describe 'test attribute "facet"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "limit"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "sort"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/log_query_definition_search_spec.rb b/spec/v1/models/log_query_definition_search_spec.rb deleted file mode 100644 index 2feca51c44a..00000000000 --- a/spec/v1/models/log_query_definition_search_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::LogQueryDefinitionSearch -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogQueryDefinitionSearch' do - before do - # run before each test - @instance = DatadogAPIClient::V1::LogQueryDefinitionSearch.new - end - - after do - # run after each test - end - - describe 'test an instance of LogQueryDefinitionSearch' do - it 'should create an instance of LogQueryDefinitionSearch' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::LogQueryDefinitionSearch) - end - end - describe 'test attribute "query"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/log_query_definition_sort_spec.rb b/spec/v1/models/log_query_definition_sort_spec.rb deleted file mode 100644 index b3e1117fadd..00000000000 --- a/spec/v1/models/log_query_definition_sort_spec.rb +++ /dev/null @@ -1,53 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::LogQueryDefinitionSort -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogQueryDefinitionSort' do - before do - # run before each test - @instance = DatadogAPIClient::V1::LogQueryDefinitionSort.new - end - - after do - # run after each test - end - - describe 'test an instance of LogQueryDefinitionSort' do - it 'should create an instance of LogQueryDefinitionSort' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::LogQueryDefinitionSort) - end - end - describe 'test attribute "aggregation"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "facet"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "order"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/log_query_definition_spec.rb b/spec/v1/models/log_query_definition_spec.rb deleted file mode 100644 index 2daae6855e3..00000000000 --- a/spec/v1/models/log_query_definition_spec.rb +++ /dev/null @@ -1,65 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::LogQueryDefinition -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogQueryDefinition' do - before do - # run before each test - @instance = DatadogAPIClient::V1::LogQueryDefinition.new - end - - after do - # run after each test - end - - describe 'test an instance of LogQueryDefinition' do - it 'should create an instance of LogQueryDefinition' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::LogQueryDefinition) - end - end - describe 'test attribute "compute"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "group_by"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "index"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "multi_compute"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "search"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/log_spec.rb b/spec/v1/models/log_spec.rb deleted file mode 100644 index 9f63f6515b8..00000000000 --- a/spec/v1/models/log_spec.rb +++ /dev/null @@ -1,47 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::Log -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'Log' do - before do - # run before each test - @instance = DatadogAPIClient::V1::Log.new - end - - after do - # run after each test - end - - describe 'test an instance of Log' do - it 'should create an instance of Log' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::Log) - end - end - describe 'test attribute "content"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/log_stream_widget_definition_spec.rb b/spec/v1/models/log_stream_widget_definition_spec.rb deleted file mode 100644 index efa005c62bd..00000000000 --- a/spec/v1/models/log_stream_widget_definition_spec.rb +++ /dev/null @@ -1,113 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::LogStreamWidgetDefinition -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogStreamWidgetDefinition' do - before do - # run before each test - @instance = DatadogAPIClient::V1::LogStreamWidgetDefinition.new - end - - after do - # run after each test - end - - describe 'test an instance of LogStreamWidgetDefinition' do - it 'should create an instance of LogStreamWidgetDefinition' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::LogStreamWidgetDefinition) - end - end - describe 'test attribute "columns"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "indexes"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "logset"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "message_display"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "query"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "show_date_column"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "show_message_column"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "sort"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "time"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "title"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "title_align"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "title_size"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/log_stream_widget_definition_type_spec.rb b/spec/v1/models/log_stream_widget_definition_type_spec.rb deleted file mode 100644 index b9f54fb02d3..00000000000 --- a/spec/v1/models/log_stream_widget_definition_type_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::LogStreamWidgetDefinitionType -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogStreamWidgetDefinitionType' do - before do - # run before each test - @instance = DatadogAPIClient::V1::LogStreamWidgetDefinitionType.new - end - - after do - # run after each test - end - - describe 'test an instance of LogStreamWidgetDefinitionType' do - it 'should create an instance of LogStreamWidgetDefinitionType' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::LogStreamWidgetDefinitionType) - end - end -end diff --git a/spec/v1/models/logs_api_error_response_spec.rb b/spec/v1/models/logs_api_error_response_spec.rb deleted file mode 100644 index de4036c48c6..00000000000 --- a/spec/v1/models/logs_api_error_response_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::LogsAPIErrorResponse -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogsAPIErrorResponse' do - before do - # run before each test - @instance = DatadogAPIClient::V1::LogsAPIErrorResponse.new - end - - after do - # run after each test - end - - describe 'test an instance of LogsAPIErrorResponse' do - it 'should create an instance of LogsAPIErrorResponse' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::LogsAPIErrorResponse) - end - end - describe 'test attribute "error"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/logs_api_error_spec.rb b/spec/v1/models/logs_api_error_spec.rb deleted file mode 100644 index e774c23ad52..00000000000 --- a/spec/v1/models/logs_api_error_spec.rb +++ /dev/null @@ -1,53 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::LogsAPIError -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogsAPIError' do - before do - # run before each test - @instance = DatadogAPIClient::V1::LogsAPIError.new - end - - after do - # run after each test - end - - describe 'test an instance of LogsAPIError' do - it 'should create an instance of LogsAPIError' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::LogsAPIError) - end - end - describe 'test attribute "code"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "details"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "message"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/logs_arithmetic_processor_spec.rb b/spec/v1/models/logs_arithmetic_processor_spec.rb deleted file mode 100644 index 83e8b6d03b5..00000000000 --- a/spec/v1/models/logs_arithmetic_processor_spec.rb +++ /dev/null @@ -1,71 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::LogsArithmeticProcessor -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogsArithmeticProcessor' do - before do - # run before each test - @instance = DatadogAPIClient::V1::LogsArithmeticProcessor.new - end - - after do - # run after each test - end - - describe 'test an instance of LogsArithmeticProcessor' do - it 'should create an instance of LogsArithmeticProcessor' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::LogsArithmeticProcessor) - end - end - describe 'test attribute "expression"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "is_enabled"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "is_replace_missing"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "target"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/logs_arithmetic_processor_type_spec.rb b/spec/v1/models/logs_arithmetic_processor_type_spec.rb deleted file mode 100644 index 6ebbc16dc03..00000000000 --- a/spec/v1/models/logs_arithmetic_processor_type_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::LogsArithmeticProcessorType -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogsArithmeticProcessorType' do - before do - # run before each test - @instance = DatadogAPIClient::V1::LogsArithmeticProcessorType.new - end - - after do - # run after each test - end - - describe 'test an instance of LogsArithmeticProcessorType' do - it 'should create an instance of LogsArithmeticProcessorType' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::LogsArithmeticProcessorType) - end - end -end diff --git a/spec/v1/models/logs_attribute_remapper_spec.rb b/spec/v1/models/logs_attribute_remapper_spec.rb deleted file mode 100644 index e7e4966d9d1..00000000000 --- a/spec/v1/models/logs_attribute_remapper_spec.rb +++ /dev/null @@ -1,89 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::LogsAttributeRemapper -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogsAttributeRemapper' do - before do - # run before each test - @instance = DatadogAPIClient::V1::LogsAttributeRemapper.new - end - - after do - # run after each test - end - - describe 'test an instance of LogsAttributeRemapper' do - it 'should create an instance of LogsAttributeRemapper' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::LogsAttributeRemapper) - end - end - describe 'test attribute "is_enabled"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "override_on_conflict"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "preserve_source"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "source_type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "sources"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "target"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "target_type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/logs_attribute_remapper_type_spec.rb b/spec/v1/models/logs_attribute_remapper_type_spec.rb deleted file mode 100644 index 344b61ca741..00000000000 --- a/spec/v1/models/logs_attribute_remapper_type_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::LogsAttributeRemapperType -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogsAttributeRemapperType' do - before do - # run before each test - @instance = DatadogAPIClient::V1::LogsAttributeRemapperType.new - end - - after do - # run after each test - end - - describe 'test an instance of LogsAttributeRemapperType' do - it 'should create an instance of LogsAttributeRemapperType' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::LogsAttributeRemapperType) - end - end -end diff --git a/spec/v1/models/logs_category_processor_categories_spec.rb b/spec/v1/models/logs_category_processor_categories_spec.rb deleted file mode 100644 index c401325148a..00000000000 --- a/spec/v1/models/logs_category_processor_categories_spec.rb +++ /dev/null @@ -1,47 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::LogsCategoryProcessorCategories -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogsCategoryProcessorCategories' do - before do - # run before each test - @instance = DatadogAPIClient::V1::LogsCategoryProcessorCategories.new - end - - after do - # run after each test - end - - describe 'test an instance of LogsCategoryProcessorCategories' do - it 'should create an instance of LogsCategoryProcessorCategories' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::LogsCategoryProcessorCategories) - end - end - describe 'test attribute "filter"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/logs_category_processor_spec.rb b/spec/v1/models/logs_category_processor_spec.rb deleted file mode 100644 index bb154b8ce65..00000000000 --- a/spec/v1/models/logs_category_processor_spec.rb +++ /dev/null @@ -1,65 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::LogsCategoryProcessor -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogsCategoryProcessor' do - before do - # run before each test - @instance = DatadogAPIClient::V1::LogsCategoryProcessor.new - end - - after do - # run after each test - end - - describe 'test an instance of LogsCategoryProcessor' do - it 'should create an instance of LogsCategoryProcessor' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::LogsCategoryProcessor) - end - end - describe 'test attribute "categories"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "is_enabled"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "target"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/logs_category_processor_type_spec.rb b/spec/v1/models/logs_category_processor_type_spec.rb deleted file mode 100644 index 4c6deb9cf72..00000000000 --- a/spec/v1/models/logs_category_processor_type_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::LogsCategoryProcessorType -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogsCategoryProcessorType' do - before do - # run before each test - @instance = DatadogAPIClient::V1::LogsCategoryProcessorType.new - end - - after do - # run after each test - end - - describe 'test an instance of LogsCategoryProcessorType' do - it 'should create an instance of LogsCategoryProcessorType' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::LogsCategoryProcessorType) - end - end -end diff --git a/spec/v1/models/logs_date_remapper_spec.rb b/spec/v1/models/logs_date_remapper_spec.rb deleted file mode 100644 index 991a78bcf00..00000000000 --- a/spec/v1/models/logs_date_remapper_spec.rb +++ /dev/null @@ -1,59 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::LogsDateRemapper -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogsDateRemapper' do - before do - # run before each test - @instance = DatadogAPIClient::V1::LogsDateRemapper.new - end - - after do - # run after each test - end - - describe 'test an instance of LogsDateRemapper' do - it 'should create an instance of LogsDateRemapper' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::LogsDateRemapper) - end - end - describe 'test attribute "is_enabled"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "sources"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/logs_date_remapper_type_spec.rb b/spec/v1/models/logs_date_remapper_type_spec.rb deleted file mode 100644 index 55157cc0c61..00000000000 --- a/spec/v1/models/logs_date_remapper_type_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::LogsDateRemapperType -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogsDateRemapperType' do - before do - # run before each test - @instance = DatadogAPIClient::V1::LogsDateRemapperType.new - end - - after do - # run after each test - end - - describe 'test an instance of LogsDateRemapperType' do - it 'should create an instance of LogsDateRemapperType' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::LogsDateRemapperType) - end - end -end diff --git a/spec/v1/models/logs_exclusion_filter_spec.rb b/spec/v1/models/logs_exclusion_filter_spec.rb deleted file mode 100644 index 3b291aadcf5..00000000000 --- a/spec/v1/models/logs_exclusion_filter_spec.rb +++ /dev/null @@ -1,47 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::LogsExclusionFilter -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogsExclusionFilter' do - before do - # run before each test - @instance = DatadogAPIClient::V1::LogsExclusionFilter.new - end - - after do - # run after each test - end - - describe 'test an instance of LogsExclusionFilter' do - it 'should create an instance of LogsExclusionFilter' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::LogsExclusionFilter) - end - end - describe 'test attribute "query"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "sample_rate"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/logs_exclusion_spec.rb b/spec/v1/models/logs_exclusion_spec.rb deleted file mode 100644 index c615400b137..00000000000 --- a/spec/v1/models/logs_exclusion_spec.rb +++ /dev/null @@ -1,53 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::LogsExclusion -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogsExclusion' do - before do - # run before each test - @instance = DatadogAPIClient::V1::LogsExclusion.new - end - - after do - # run after each test - end - - describe 'test an instance of LogsExclusion' do - it 'should create an instance of LogsExclusion' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::LogsExclusion) - end - end - describe 'test attribute "filter"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "is_enabled"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/logs_filter_spec.rb b/spec/v1/models/logs_filter_spec.rb deleted file mode 100644 index 1b119ec67d9..00000000000 --- a/spec/v1/models/logs_filter_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::LogsFilter -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogsFilter' do - before do - # run before each test - @instance = DatadogAPIClient::V1::LogsFilter.new - end - - after do - # run after each test - end - - describe 'test an instance of LogsFilter' do - it 'should create an instance of LogsFilter' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::LogsFilter) - end - end - describe 'test attribute "query"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/logs_geo_ip_parser_spec.rb b/spec/v1/models/logs_geo_ip_parser_spec.rb deleted file mode 100644 index 7114c3449bd..00000000000 --- a/spec/v1/models/logs_geo_ip_parser_spec.rb +++ /dev/null @@ -1,65 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::LogsGeoIPParser -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogsGeoIPParser' do - before do - # run before each test - @instance = DatadogAPIClient::V1::LogsGeoIPParser.new - end - - after do - # run after each test - end - - describe 'test an instance of LogsGeoIPParser' do - it 'should create an instance of LogsGeoIPParser' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::LogsGeoIPParser) - end - end - describe 'test attribute "is_enabled"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "sources"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "target"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/logs_geo_ip_parser_type_spec.rb b/spec/v1/models/logs_geo_ip_parser_type_spec.rb deleted file mode 100644 index a14bda6c5dd..00000000000 --- a/spec/v1/models/logs_geo_ip_parser_type_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::LogsGeoIPParserType -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogsGeoIPParserType' do - before do - # run before each test - @instance = DatadogAPIClient::V1::LogsGeoIPParserType.new - end - - after do - # run after each test - end - - describe 'test an instance of LogsGeoIPParserType' do - it 'should create an instance of LogsGeoIPParserType' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::LogsGeoIPParserType) - end - end -end diff --git a/spec/v1/models/logs_grok_parser_rules_spec.rb b/spec/v1/models/logs_grok_parser_rules_spec.rb deleted file mode 100644 index 4ba4aa86593..00000000000 --- a/spec/v1/models/logs_grok_parser_rules_spec.rb +++ /dev/null @@ -1,47 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::LogsGrokParserRules -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogsGrokParserRules' do - before do - # run before each test - @instance = DatadogAPIClient::V1::LogsGrokParserRules.new - end - - after do - # run after each test - end - - describe 'test an instance of LogsGrokParserRules' do - it 'should create an instance of LogsGrokParserRules' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::LogsGrokParserRules) - end - end - describe 'test attribute "match_rules"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "support_rules"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/logs_grok_parser_spec.rb b/spec/v1/models/logs_grok_parser_spec.rb deleted file mode 100644 index 1511a5aba7a..00000000000 --- a/spec/v1/models/logs_grok_parser_spec.rb +++ /dev/null @@ -1,71 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::LogsGrokParser -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogsGrokParser' do - before do - # run before each test - @instance = DatadogAPIClient::V1::LogsGrokParser.new - end - - after do - # run after each test - end - - describe 'test an instance of LogsGrokParser' do - it 'should create an instance of LogsGrokParser' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::LogsGrokParser) - end - end - describe 'test attribute "grok"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "is_enabled"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "samples"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "source"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/logs_grok_parser_type_spec.rb b/spec/v1/models/logs_grok_parser_type_spec.rb deleted file mode 100644 index 1ec3252f3b5..00000000000 --- a/spec/v1/models/logs_grok_parser_type_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::LogsGrokParserType -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogsGrokParserType' do - before do - # run before each test - @instance = DatadogAPIClient::V1::LogsGrokParserType.new - end - - after do - # run after each test - end - - describe 'test an instance of LogsGrokParserType' do - it 'should create an instance of LogsGrokParserType' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::LogsGrokParserType) - end - end -end diff --git a/spec/v1/models/logs_index_list_response_spec.rb b/spec/v1/models/logs_index_list_response_spec.rb deleted file mode 100644 index 7b1133236ed..00000000000 --- a/spec/v1/models/logs_index_list_response_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::LogsIndexListResponse -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogsIndexListResponse' do - before do - # run before each test - @instance = DatadogAPIClient::V1::LogsIndexListResponse.new - end - - after do - # run after each test - end - - describe 'test an instance of LogsIndexListResponse' do - it 'should create an instance of LogsIndexListResponse' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::LogsIndexListResponse) - end - end - describe 'test attribute "indexes"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/logs_index_spec.rb b/spec/v1/models/logs_index_spec.rb deleted file mode 100644 index 2569e21385e..00000000000 --- a/spec/v1/models/logs_index_spec.rb +++ /dev/null @@ -1,71 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::LogsIndex -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogsIndex' do - before do - # run before each test - @instance = DatadogAPIClient::V1::LogsIndex.new - end - - after do - # run after each test - end - - describe 'test an instance of LogsIndex' do - it 'should create an instance of LogsIndex' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::LogsIndex) - end - end - describe 'test attribute "daily_limit"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "exclusion_filters"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "filter"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "is_rate_limited"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "num_retention_days"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/logs_indexes_order_spec.rb b/spec/v1/models/logs_indexes_order_spec.rb deleted file mode 100644 index edca8e8a79c..00000000000 --- a/spec/v1/models/logs_indexes_order_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::LogsIndexesOrder -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogsIndexesOrder' do - before do - # run before each test - @instance = DatadogAPIClient::V1::LogsIndexesOrder.new - end - - after do - # run after each test - end - - describe 'test an instance of LogsIndexesOrder' do - it 'should create an instance of LogsIndexesOrder' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::LogsIndexesOrder) - end - end - describe 'test attribute "index_names"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/logs_list_request_spec.rb b/spec/v1/models/logs_list_request_spec.rb deleted file mode 100644 index e8ebb455378..00000000000 --- a/spec/v1/models/logs_list_request_spec.rb +++ /dev/null @@ -1,71 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::LogsListRequest -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogsListRequest' do - before do - # run before each test - @instance = DatadogAPIClient::V1::LogsListRequest.new - end - - after do - # run after each test - end - - describe 'test an instance of LogsListRequest' do - it 'should create an instance of LogsListRequest' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::LogsListRequest) - end - end - describe 'test attribute "index"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "limit"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "query"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "sort"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "start_at"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "time"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/logs_list_request_time_spec.rb b/spec/v1/models/logs_list_request_time_spec.rb deleted file mode 100644 index daae1a367d8..00000000000 --- a/spec/v1/models/logs_list_request_time_spec.rb +++ /dev/null @@ -1,53 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::LogsListRequestTime -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogsListRequestTime' do - before do - # run before each test - @instance = DatadogAPIClient::V1::LogsListRequestTime.new - end - - after do - # run after each test - end - - describe 'test an instance of LogsListRequestTime' do - it 'should create an instance of LogsListRequestTime' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::LogsListRequestTime) - end - end - describe 'test attribute "from"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "timezone"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "to"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/logs_list_response_spec.rb b/spec/v1/models/logs_list_response_spec.rb deleted file mode 100644 index 7bf022155b2..00000000000 --- a/spec/v1/models/logs_list_response_spec.rb +++ /dev/null @@ -1,53 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::LogsListResponse -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogsListResponse' do - before do - # run before each test - @instance = DatadogAPIClient::V1::LogsListResponse.new - end - - after do - # run after each test - end - - describe 'test an instance of LogsListResponse' do - it 'should create an instance of LogsListResponse' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::LogsListResponse) - end - end - describe 'test attribute "logs"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "next_log_id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "status"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/logs_lookup_processor_spec.rb b/spec/v1/models/logs_lookup_processor_spec.rb deleted file mode 100644 index 3dd3f0aabd3..00000000000 --- a/spec/v1/models/logs_lookup_processor_spec.rb +++ /dev/null @@ -1,77 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::LogsLookupProcessor -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogsLookupProcessor' do - before do - # run before each test - @instance = DatadogAPIClient::V1::LogsLookupProcessor.new - end - - after do - # run after each test - end - - describe 'test an instance of LogsLookupProcessor' do - it 'should create an instance of LogsLookupProcessor' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::LogsLookupProcessor) - end - end - describe 'test attribute "default_lookup"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "is_enabled"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "lookup_table"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "source"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "target"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/logs_lookup_processor_type_spec.rb b/spec/v1/models/logs_lookup_processor_type_spec.rb deleted file mode 100644 index 9449fd13c8d..00000000000 --- a/spec/v1/models/logs_lookup_processor_type_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::LogsLookupProcessorType -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogsLookupProcessorType' do - before do - # run before each test - @instance = DatadogAPIClient::V1::LogsLookupProcessorType.new - end - - after do - # run after each test - end - - describe 'test an instance of LogsLookupProcessorType' do - it 'should create an instance of LogsLookupProcessorType' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::LogsLookupProcessorType) - end - end -end diff --git a/spec/v1/models/logs_message_remapper_spec.rb b/spec/v1/models/logs_message_remapper_spec.rb deleted file mode 100644 index 1728a3033ba..00000000000 --- a/spec/v1/models/logs_message_remapper_spec.rb +++ /dev/null @@ -1,59 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::LogsMessageRemapper -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogsMessageRemapper' do - before do - # run before each test - @instance = DatadogAPIClient::V1::LogsMessageRemapper.new - end - - after do - # run after each test - end - - describe 'test an instance of LogsMessageRemapper' do - it 'should create an instance of LogsMessageRemapper' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::LogsMessageRemapper) - end - end - describe 'test attribute "is_enabled"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "sources"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/logs_message_remapper_type_spec.rb b/spec/v1/models/logs_message_remapper_type_spec.rb deleted file mode 100644 index 6381832f914..00000000000 --- a/spec/v1/models/logs_message_remapper_type_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::LogsMessageRemapperType -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogsMessageRemapperType' do - before do - # run before each test - @instance = DatadogAPIClient::V1::LogsMessageRemapperType.new - end - - after do - # run after each test - end - - describe 'test an instance of LogsMessageRemapperType' do - it 'should create an instance of LogsMessageRemapperType' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::LogsMessageRemapperType) - end - end -end diff --git a/spec/v1/models/logs_pipeline_processor_spec.rb b/spec/v1/models/logs_pipeline_processor_spec.rb deleted file mode 100644 index c31aeec7afa..00000000000 --- a/spec/v1/models/logs_pipeline_processor_spec.rb +++ /dev/null @@ -1,65 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::LogsPipelineProcessor -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogsPipelineProcessor' do - before do - # run before each test - @instance = DatadogAPIClient::V1::LogsPipelineProcessor.new - end - - after do - # run after each test - end - - describe 'test an instance of LogsPipelineProcessor' do - it 'should create an instance of LogsPipelineProcessor' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::LogsPipelineProcessor) - end - end - describe 'test attribute "filter"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "is_enabled"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "processors"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/logs_pipeline_processor_type_spec.rb b/spec/v1/models/logs_pipeline_processor_type_spec.rb deleted file mode 100644 index 99ab95b80aa..00000000000 --- a/spec/v1/models/logs_pipeline_processor_type_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::LogsPipelineProcessorType -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogsPipelineProcessorType' do - before do - # run before each test - @instance = DatadogAPIClient::V1::LogsPipelineProcessorType.new - end - - after do - # run after each test - end - - describe 'test an instance of LogsPipelineProcessorType' do - it 'should create an instance of LogsPipelineProcessorType' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::LogsPipelineProcessorType) - end - end -end diff --git a/spec/v1/models/logs_pipeline_spec.rb b/spec/v1/models/logs_pipeline_spec.rb deleted file mode 100644 index 10185ba1f53..00000000000 --- a/spec/v1/models/logs_pipeline_spec.rb +++ /dev/null @@ -1,77 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::LogsPipeline -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogsPipeline' do - before do - # run before each test - @instance = DatadogAPIClient::V1::LogsPipeline.new - end - - after do - # run after each test - end - - describe 'test an instance of LogsPipeline' do - it 'should create an instance of LogsPipeline' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::LogsPipeline) - end - end - describe 'test attribute "filter"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "is_enabled"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "is_read_only"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "processors"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/logs_pipelines_order_spec.rb b/spec/v1/models/logs_pipelines_order_spec.rb deleted file mode 100644 index e23d9585db4..00000000000 --- a/spec/v1/models/logs_pipelines_order_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::LogsPipelinesOrder -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogsPipelinesOrder' do - before do - # run before each test - @instance = DatadogAPIClient::V1::LogsPipelinesOrder.new - end - - after do - # run after each test - end - - describe 'test an instance of LogsPipelinesOrder' do - it 'should create an instance of LogsPipelinesOrder' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::LogsPipelinesOrder) - end - end - describe 'test attribute "pipeline_ids"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/logs_processor_spec.rb b/spec/v1/models/logs_processor_spec.rb deleted file mode 100644 index 6436fb1093b..00000000000 --- a/spec/v1/models/logs_processor_spec.rb +++ /dev/null @@ -1,167 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::LogsProcessor -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogsProcessor' do - before do - # run before each test - @instance = DatadogAPIClient::V1::LogsProcessor.new - end - - after do - # run after each test - end - - describe 'test an instance of LogsProcessor' do - it 'should create an instance of LogsProcessor' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::LogsProcessor) - end - end - describe 'test attribute "grok"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "is_enabled"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "samples"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "source"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "sources"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "override_on_conflict"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "preserve_source"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "source_type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "target"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "target_type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "normalize_ending_slashes"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "is_encoded"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "categories"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "expression"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "is_replace_missing"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "template"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "filter"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "processors"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "default_lookup"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "lookup_table"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/logs_query_compute_spec.rb b/spec/v1/models/logs_query_compute_spec.rb deleted file mode 100644 index 3c279009839..00000000000 --- a/spec/v1/models/logs_query_compute_spec.rb +++ /dev/null @@ -1,53 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::LogsQueryCompute -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogsQueryCompute' do - before do - # run before each test - @instance = DatadogAPIClient::V1::LogsQueryCompute.new - end - - after do - # run after each test - end - - describe 'test an instance of LogsQueryCompute' do - it 'should create an instance of LogsQueryCompute' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::LogsQueryCompute) - end - end - describe 'test attribute "aggregation"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "facet"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "interval"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/logs_service_remapper_spec.rb b/spec/v1/models/logs_service_remapper_spec.rb deleted file mode 100644 index edf00c85658..00000000000 --- a/spec/v1/models/logs_service_remapper_spec.rb +++ /dev/null @@ -1,59 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::LogsServiceRemapper -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogsServiceRemapper' do - before do - # run before each test - @instance = DatadogAPIClient::V1::LogsServiceRemapper.new - end - - after do - # run after each test - end - - describe 'test an instance of LogsServiceRemapper' do - it 'should create an instance of LogsServiceRemapper' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::LogsServiceRemapper) - end - end - describe 'test attribute "is_enabled"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "sources"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/logs_service_remapper_type_spec.rb b/spec/v1/models/logs_service_remapper_type_spec.rb deleted file mode 100644 index 7ba70a30e2a..00000000000 --- a/spec/v1/models/logs_service_remapper_type_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::LogsServiceRemapperType -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogsServiceRemapperType' do - before do - # run before each test - @instance = DatadogAPIClient::V1::LogsServiceRemapperType.new - end - - after do - # run after each test - end - - describe 'test an instance of LogsServiceRemapperType' do - it 'should create an instance of LogsServiceRemapperType' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::LogsServiceRemapperType) - end - end -end diff --git a/spec/v1/models/logs_sort_spec.rb b/spec/v1/models/logs_sort_spec.rb deleted file mode 100644 index 7f6635c9423..00000000000 --- a/spec/v1/models/logs_sort_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::LogsSort -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogsSort' do - before do - # run before each test - @instance = DatadogAPIClient::V1::LogsSort.new - end - - after do - # run after each test - end - - describe 'test an instance of LogsSort' do - it 'should create an instance of LogsSort' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::LogsSort) - end - end -end diff --git a/spec/v1/models/logs_status_remapper_spec.rb b/spec/v1/models/logs_status_remapper_spec.rb deleted file mode 100644 index 94da41bafa7..00000000000 --- a/spec/v1/models/logs_status_remapper_spec.rb +++ /dev/null @@ -1,59 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::LogsStatusRemapper -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogsStatusRemapper' do - before do - # run before each test - @instance = DatadogAPIClient::V1::LogsStatusRemapper.new - end - - after do - # run after each test - end - - describe 'test an instance of LogsStatusRemapper' do - it 'should create an instance of LogsStatusRemapper' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::LogsStatusRemapper) - end - end - describe 'test attribute "is_enabled"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "sources"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/logs_status_remapper_type_spec.rb b/spec/v1/models/logs_status_remapper_type_spec.rb deleted file mode 100644 index ce15fe476e2..00000000000 --- a/spec/v1/models/logs_status_remapper_type_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::LogsStatusRemapperType -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogsStatusRemapperType' do - before do - # run before each test - @instance = DatadogAPIClient::V1::LogsStatusRemapperType.new - end - - after do - # run after each test - end - - describe 'test an instance of LogsStatusRemapperType' do - it 'should create an instance of LogsStatusRemapperType' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::LogsStatusRemapperType) - end - end -end diff --git a/spec/v1/models/logs_string_builder_processor_spec.rb b/spec/v1/models/logs_string_builder_processor_spec.rb deleted file mode 100644 index 561cd26abc0..00000000000 --- a/spec/v1/models/logs_string_builder_processor_spec.rb +++ /dev/null @@ -1,71 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::LogsStringBuilderProcessor -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogsStringBuilderProcessor' do - before do - # run before each test - @instance = DatadogAPIClient::V1::LogsStringBuilderProcessor.new - end - - after do - # run after each test - end - - describe 'test an instance of LogsStringBuilderProcessor' do - it 'should create an instance of LogsStringBuilderProcessor' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::LogsStringBuilderProcessor) - end - end - describe 'test attribute "is_enabled"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "is_replace_missing"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "target"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "template"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/logs_string_builder_processor_type_spec.rb b/spec/v1/models/logs_string_builder_processor_type_spec.rb deleted file mode 100644 index f38ca41a03b..00000000000 --- a/spec/v1/models/logs_string_builder_processor_type_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::LogsStringBuilderProcessorType -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogsStringBuilderProcessorType' do - before do - # run before each test - @instance = DatadogAPIClient::V1::LogsStringBuilderProcessorType.new - end - - after do - # run after each test - end - - describe 'test an instance of LogsStringBuilderProcessorType' do - it 'should create an instance of LogsStringBuilderProcessorType' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::LogsStringBuilderProcessorType) - end - end -end diff --git a/spec/v1/models/logs_trace_remapper_spec.rb b/spec/v1/models/logs_trace_remapper_spec.rb deleted file mode 100644 index 8b01883290a..00000000000 --- a/spec/v1/models/logs_trace_remapper_spec.rb +++ /dev/null @@ -1,59 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::LogsTraceRemapper -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogsTraceRemapper' do - before do - # run before each test - @instance = DatadogAPIClient::V1::LogsTraceRemapper.new - end - - after do - # run after each test - end - - describe 'test an instance of LogsTraceRemapper' do - it 'should create an instance of LogsTraceRemapper' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::LogsTraceRemapper) - end - end - describe 'test attribute "is_enabled"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "sources"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/logs_trace_remapper_type_spec.rb b/spec/v1/models/logs_trace_remapper_type_spec.rb deleted file mode 100644 index 1bb1b29bcab..00000000000 --- a/spec/v1/models/logs_trace_remapper_type_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::LogsTraceRemapperType -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogsTraceRemapperType' do - before do - # run before each test - @instance = DatadogAPIClient::V1::LogsTraceRemapperType.new - end - - after do - # run after each test - end - - describe 'test an instance of LogsTraceRemapperType' do - it 'should create an instance of LogsTraceRemapperType' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::LogsTraceRemapperType) - end - end -end diff --git a/spec/v1/models/logs_url_parser_spec.rb b/spec/v1/models/logs_url_parser_spec.rb deleted file mode 100644 index d6d40a1a8fe..00000000000 --- a/spec/v1/models/logs_url_parser_spec.rb +++ /dev/null @@ -1,71 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::LogsURLParser -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogsURLParser' do - before do - # run before each test - @instance = DatadogAPIClient::V1::LogsURLParser.new - end - - after do - # run after each test - end - - describe 'test an instance of LogsURLParser' do - it 'should create an instance of LogsURLParser' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::LogsURLParser) - end - end - describe 'test attribute "is_enabled"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "normalize_ending_slashes"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "sources"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "target"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/logs_url_parser_type_spec.rb b/spec/v1/models/logs_url_parser_type_spec.rb deleted file mode 100644 index 82b25446722..00000000000 --- a/spec/v1/models/logs_url_parser_type_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::LogsURLParserType -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogsURLParserType' do - before do - # run before each test - @instance = DatadogAPIClient::V1::LogsURLParserType.new - end - - after do - # run after each test - end - - describe 'test an instance of LogsURLParserType' do - it 'should create an instance of LogsURLParserType' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::LogsURLParserType) - end - end -end diff --git a/spec/v1/models/logs_user_agent_parser_spec.rb b/spec/v1/models/logs_user_agent_parser_spec.rb deleted file mode 100644 index 58770354bab..00000000000 --- a/spec/v1/models/logs_user_agent_parser_spec.rb +++ /dev/null @@ -1,71 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::LogsUserAgentParser -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogsUserAgentParser' do - before do - # run before each test - @instance = DatadogAPIClient::V1::LogsUserAgentParser.new - end - - after do - # run after each test - end - - describe 'test an instance of LogsUserAgentParser' do - it 'should create an instance of LogsUserAgentParser' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::LogsUserAgentParser) - end - end - describe 'test attribute "is_enabled"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "is_encoded"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "sources"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "target"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/logs_user_agent_parser_type_spec.rb b/spec/v1/models/logs_user_agent_parser_type_spec.rb deleted file mode 100644 index 9c74921ca89..00000000000 --- a/spec/v1/models/logs_user_agent_parser_type_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::LogsUserAgentParserType -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogsUserAgentParserType' do - before do - # run before each test - @instance = DatadogAPIClient::V1::LogsUserAgentParserType.new - end - - after do - # run after each test - end - - describe 'test an instance of LogsUserAgentParserType' do - it 'should create an instance of LogsUserAgentParserType' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::LogsUserAgentParserType) - end - end -end diff --git a/spec/v1/models/metric_metadata_spec.rb b/spec/v1/models/metric_metadata_spec.rb deleted file mode 100644 index 3675c0fbb3c..00000000000 --- a/spec/v1/models/metric_metadata_spec.rb +++ /dev/null @@ -1,77 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::MetricMetadata -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'MetricMetadata' do - before do - # run before each test - @instance = DatadogAPIClient::V1::MetricMetadata.new - end - - after do - # run after each test - end - - describe 'test an instance of MetricMetadata' do - it 'should create an instance of MetricMetadata' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::MetricMetadata) - end - end - describe 'test attribute "description"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "integration"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "per_unit"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "short_name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "statsd_interval"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "unit"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/metric_search_response_results_spec.rb b/spec/v1/models/metric_search_response_results_spec.rb deleted file mode 100644 index b75718b2cbc..00000000000 --- a/spec/v1/models/metric_search_response_results_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::MetricSearchResponseResults -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'MetricSearchResponseResults' do - before do - # run before each test - @instance = DatadogAPIClient::V1::MetricSearchResponseResults.new - end - - after do - # run after each test - end - - describe 'test an instance of MetricSearchResponseResults' do - it 'should create an instance of MetricSearchResponseResults' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::MetricSearchResponseResults) - end - end - describe 'test attribute "metrics"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/metric_search_response_spec.rb b/spec/v1/models/metric_search_response_spec.rb deleted file mode 100644 index 03b9969be50..00000000000 --- a/spec/v1/models/metric_search_response_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::MetricSearchResponse -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'MetricSearchResponse' do - before do - # run before each test - @instance = DatadogAPIClient::V1::MetricSearchResponse.new - end - - after do - # run after each test - end - - describe 'test an instance of MetricSearchResponse' do - it 'should create an instance of MetricSearchResponse' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::MetricSearchResponse) - end - end - describe 'test attribute "results"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/metrics_list_response_spec.rb b/spec/v1/models/metrics_list_response_spec.rb deleted file mode 100644 index b5f641433c4..00000000000 --- a/spec/v1/models/metrics_list_response_spec.rb +++ /dev/null @@ -1,47 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::MetricsListResponse -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'MetricsListResponse' do - before do - # run before each test - @instance = DatadogAPIClient::V1::MetricsListResponse.new - end - - after do - # run after each test - end - - describe 'test an instance of MetricsListResponse' do - it 'should create an instance of MetricsListResponse' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::MetricsListResponse) - end - end - describe 'test attribute "from"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metrics"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/metrics_query_response_series_spec.rb b/spec/v1/models/metrics_query_response_series_spec.rb deleted file mode 100644 index e165a984b67..00000000000 --- a/spec/v1/models/metrics_query_response_series_spec.rb +++ /dev/null @@ -1,101 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::MetricsQueryResponseSeries -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'MetricsQueryResponseSeries' do - before do - # run before each test - @instance = DatadogAPIClient::V1::MetricsQueryResponseSeries.new - end - - after do - # run after each test - end - - describe 'test an instance of MetricsQueryResponseSeries' do - it 'should create an instance of MetricsQueryResponseSeries' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::MetricsQueryResponseSeries) - end - end - describe 'test attribute "aggr"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "display_name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "_end"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "expression"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "interval"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "length"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metric"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "pointlist"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "scope"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "start"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "unit"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/metrics_query_response_spec.rb b/spec/v1/models/metrics_query_response_spec.rb deleted file mode 100644 index 6534030d225..00000000000 --- a/spec/v1/models/metrics_query_response_spec.rb +++ /dev/null @@ -1,89 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::MetricsQueryResponse -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'MetricsQueryResponse' do - before do - # run before each test - @instance = DatadogAPIClient::V1::MetricsQueryResponse.new - end - - after do - # run after each test - end - - describe 'test an instance of MetricsQueryResponse' do - it 'should create an instance of MetricsQueryResponse' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::MetricsQueryResponse) - end - end - describe 'test attribute "error"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "from_date"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "group_by"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "message"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "query"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "res_type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "series"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "status"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "to_date"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/metrics_query_response_unit_spec.rb b/spec/v1/models/metrics_query_response_unit_spec.rb deleted file mode 100644 index d5d3f96d5b5..00000000000 --- a/spec/v1/models/metrics_query_response_unit_spec.rb +++ /dev/null @@ -1,65 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::MetricsQueryResponseUnit -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'MetricsQueryResponseUnit' do - before do - # run before each test - @instance = DatadogAPIClient::V1::MetricsQueryResponseUnit.new - end - - after do - # run after each test - end - - describe 'test an instance of MetricsQueryResponseUnit' do - it 'should create an instance of MetricsQueryResponseUnit' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::MetricsQueryResponseUnit) - end - end - describe 'test attribute "family"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "plural"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "scale_factor"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "short_name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/monitor_device_id_spec.rb b/spec/v1/models/monitor_device_id_spec.rb deleted file mode 100644 index e41a3173ab2..00000000000 --- a/spec/v1/models/monitor_device_id_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::MonitorDeviceID -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'MonitorDeviceID' do - before do - # run before each test - @instance = DatadogAPIClient::V1::MonitorDeviceID.new - end - - after do - # run after each test - end - - describe 'test an instance of MonitorDeviceID' do - it 'should create an instance of MonitorDeviceID' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::MonitorDeviceID) - end - end -end diff --git a/spec/v1/models/monitor_options_aggregation_spec.rb b/spec/v1/models/monitor_options_aggregation_spec.rb deleted file mode 100644 index 09338e69277..00000000000 --- a/spec/v1/models/monitor_options_aggregation_spec.rb +++ /dev/null @@ -1,53 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::MonitorOptionsAggregation -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'MonitorOptionsAggregation' do - before do - # run before each test - @instance = DatadogAPIClient::V1::MonitorOptionsAggregation.new - end - - after do - # run after each test - end - - describe 'test an instance of MonitorOptionsAggregation' do - it 'should create an instance of MonitorOptionsAggregation' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::MonitorOptionsAggregation) - end - end - describe 'test attribute "group_by"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metric"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/monitor_options_spec.rb b/spec/v1/models/monitor_options_spec.rb deleted file mode 100644 index d4107be055b..00000000000 --- a/spec/v1/models/monitor_options_spec.rb +++ /dev/null @@ -1,155 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::MonitorOptions -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'MonitorOptions' do - before do - # run before each test - @instance = DatadogAPIClient::V1::MonitorOptions.new - end - - after do - # run after each test - end - - describe 'test an instance of MonitorOptions' do - it 'should create an instance of MonitorOptions' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::MonitorOptions) - end - end - describe 'test attribute "aggregation"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "device_ids"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "enable_logs_sample"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "escalation_message"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "evaluation_delay"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "include_tags"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "locked"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "min_failure_duration"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "min_location_failed"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "new_host_delay"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "no_data_timeframe"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "notify_audit"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "notify_no_data"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "renotify_interval"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "require_full_window"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "silenced"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "synthetics_check_id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "threshold_windows"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "thresholds"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "timeout_h"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/monitor_overall_states_spec.rb b/spec/v1/models/monitor_overall_states_spec.rb deleted file mode 100644 index 7239c8c0828..00000000000 --- a/spec/v1/models/monitor_overall_states_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::MonitorOverallStates -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'MonitorOverallStates' do - before do - # run before each test - @instance = DatadogAPIClient::V1::MonitorOverallStates.new - end - - after do - # run after each test - end - - describe 'test an instance of MonitorOverallStates' do - it 'should create an instance of MonitorOverallStates' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::MonitorOverallStates) - end - end -end diff --git a/spec/v1/models/monitor_spec.rb b/spec/v1/models/monitor_spec.rb deleted file mode 100644 index 9a1cec934d1..00000000000 --- a/spec/v1/models/monitor_spec.rb +++ /dev/null @@ -1,119 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::Monitor -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'Monitor' do - before do - # run before each test - @instance = DatadogAPIClient::V1::Monitor.new - end - - after do - # run after each test - end - - describe 'test an instance of Monitor' do - it 'should create an instance of Monitor' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::Monitor) - end - end - describe 'test attribute "created"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "creator"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "deleted"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "message"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "modified"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "multi"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "options"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "overall_state"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "query"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "state"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "tags"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/monitor_state_group_spec.rb b/spec/v1/models/monitor_state_group_spec.rb deleted file mode 100644 index b8281b3fc61..00000000000 --- a/spec/v1/models/monitor_state_group_spec.rb +++ /dev/null @@ -1,71 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::MonitorStateGroup -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'MonitorStateGroup' do - before do - # run before each test - @instance = DatadogAPIClient::V1::MonitorStateGroup.new - end - - after do - # run after each test - end - - describe 'test an instance of MonitorStateGroup' do - it 'should create an instance of MonitorStateGroup' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::MonitorStateGroup) - end - end - describe 'test attribute "last_nodata_ts"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "last_notified_ts"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "last_resolved_ts"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "last_triggered_ts"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "status"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/monitor_state_spec.rb b/spec/v1/models/monitor_state_spec.rb deleted file mode 100644 index 5e607b80e81..00000000000 --- a/spec/v1/models/monitor_state_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::MonitorState -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'MonitorState' do - before do - # run before each test - @instance = DatadogAPIClient::V1::MonitorState.new - end - - after do - # run after each test - end - - describe 'test an instance of MonitorState' do - it 'should create an instance of MonitorState' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::MonitorState) - end - end - describe 'test attribute "groups"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/monitor_summary_widget_definition_spec.rb b/spec/v1/models/monitor_summary_widget_definition_spec.rb deleted file mode 100644 index 6f5e731a9d3..00000000000 --- a/spec/v1/models/monitor_summary_widget_definition_spec.rb +++ /dev/null @@ -1,113 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::MonitorSummaryWidgetDefinition -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'MonitorSummaryWidgetDefinition' do - before do - # run before each test - @instance = DatadogAPIClient::V1::MonitorSummaryWidgetDefinition.new - end - - after do - # run after each test - end - - describe 'test an instance of MonitorSummaryWidgetDefinition' do - it 'should create an instance of MonitorSummaryWidgetDefinition' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::MonitorSummaryWidgetDefinition) - end - end - describe 'test attribute "color_preference"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "count"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "display_format"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "hide_zero_counts"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "query"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "show_last_triggered"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "sort"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "start"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "summary_type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "title"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "title_align"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "title_size"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/monitor_summary_widget_definition_type_spec.rb b/spec/v1/models/monitor_summary_widget_definition_type_spec.rb deleted file mode 100644 index a5b02b7926d..00000000000 --- a/spec/v1/models/monitor_summary_widget_definition_type_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::MonitorSummaryWidgetDefinitionType -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'MonitorSummaryWidgetDefinitionType' do - before do - # run before each test - @instance = DatadogAPIClient::V1::MonitorSummaryWidgetDefinitionType.new - end - - after do - # run after each test - end - - describe 'test an instance of MonitorSummaryWidgetDefinitionType' do - it 'should create an instance of MonitorSummaryWidgetDefinitionType' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::MonitorSummaryWidgetDefinitionType) - end - end -end diff --git a/spec/v1/models/monitor_threshold_window_options_spec.rb b/spec/v1/models/monitor_threshold_window_options_spec.rb deleted file mode 100644 index f1b19b8e559..00000000000 --- a/spec/v1/models/monitor_threshold_window_options_spec.rb +++ /dev/null @@ -1,47 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::MonitorThresholdWindowOptions -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'MonitorThresholdWindowOptions' do - before do - # run before each test - @instance = DatadogAPIClient::V1::MonitorThresholdWindowOptions.new - end - - after do - # run after each test - end - - describe 'test an instance of MonitorThresholdWindowOptions' do - it 'should create an instance of MonitorThresholdWindowOptions' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::MonitorThresholdWindowOptions) - end - end - describe 'test attribute "recovery_window"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "trigger_window"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/monitor_thresholds_spec.rb b/spec/v1/models/monitor_thresholds_spec.rb deleted file mode 100644 index c83be94a323..00000000000 --- a/spec/v1/models/monitor_thresholds_spec.rb +++ /dev/null @@ -1,71 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::MonitorThresholds -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'MonitorThresholds' do - before do - # run before each test - @instance = DatadogAPIClient::V1::MonitorThresholds.new - end - - after do - # run after each test - end - - describe 'test an instance of MonitorThresholds' do - it 'should create an instance of MonitorThresholds' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::MonitorThresholds) - end - end - describe 'test attribute "critical"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "critical_recovery"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "ok"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "unknown"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "warning"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "warning_recovery"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/monitor_type_spec.rb b/spec/v1/models/monitor_type_spec.rb deleted file mode 100644 index e44c6898c27..00000000000 --- a/spec/v1/models/monitor_type_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::MonitorType -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'MonitorType' do - before do - # run before each test - @instance = DatadogAPIClient::V1::MonitorType.new - end - - after do - # run after each test - end - - describe 'test an instance of MonitorType' do - it 'should create an instance of MonitorType' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::MonitorType) - end - end -end diff --git a/spec/v1/models/monitor_update_request_spec.rb b/spec/v1/models/monitor_update_request_spec.rb deleted file mode 100644 index eb60d14a0c0..00000000000 --- a/spec/v1/models/monitor_update_request_spec.rb +++ /dev/null @@ -1,119 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::MonitorUpdateRequest -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'MonitorUpdateRequest' do - before do - # run before each test - @instance = DatadogAPIClient::V1::MonitorUpdateRequest.new - end - - after do - # run after each test - end - - describe 'test an instance of MonitorUpdateRequest' do - it 'should create an instance of MonitorUpdateRequest' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::MonitorUpdateRequest) - end - end - describe 'test attribute "created"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "creator"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "deleted"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "message"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "modified"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "multi"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "options"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "overall_state"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "query"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "state"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "tags"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/note_widget_definition_spec.rb b/spec/v1/models/note_widget_definition_spec.rb deleted file mode 100644 index 04b37257514..00000000000 --- a/spec/v1/models/note_widget_definition_spec.rb +++ /dev/null @@ -1,83 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::NoteWidgetDefinition -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'NoteWidgetDefinition' do - before do - # run before each test - @instance = DatadogAPIClient::V1::NoteWidgetDefinition.new - end - - after do - # run after each test - end - - describe 'test an instance of NoteWidgetDefinition' do - it 'should create an instance of NoteWidgetDefinition' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::NoteWidgetDefinition) - end - end - describe 'test attribute "background_color"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "content"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "font_size"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "show_tick"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "text_align"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "tick_edge"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "tick_pos"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/note_widget_definition_type_spec.rb b/spec/v1/models/note_widget_definition_type_spec.rb deleted file mode 100644 index d5e4e16790b..00000000000 --- a/spec/v1/models/note_widget_definition_type_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::NoteWidgetDefinitionType -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'NoteWidgetDefinitionType' do - before do - # run before each test - @instance = DatadogAPIClient::V1::NoteWidgetDefinitionType.new - end - - after do - # run after each test - end - - describe 'test an instance of NoteWidgetDefinitionType' do - it 'should create an instance of NoteWidgetDefinitionType' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::NoteWidgetDefinitionType) - end - end -end diff --git a/spec/v1/models/organization_billing_spec.rb b/spec/v1/models/organization_billing_spec.rb deleted file mode 100644 index 3fe42d36a9b..00000000000 --- a/spec/v1/models/organization_billing_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::OrganizationBilling -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'OrganizationBilling' do - before do - # run before each test - @instance = DatadogAPIClient::V1::OrganizationBilling.new - end - - after do - # run after each test - end - - describe 'test an instance of OrganizationBilling' do - it 'should create an instance of OrganizationBilling' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::OrganizationBilling) - end - end - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/organization_create_body_spec.rb b/spec/v1/models/organization_create_body_spec.rb deleted file mode 100644 index 16d6d2fe701..00000000000 --- a/spec/v1/models/organization_create_body_spec.rb +++ /dev/null @@ -1,53 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::OrganizationCreateBody -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'OrganizationCreateBody' do - before do - # run before each test - @instance = DatadogAPIClient::V1::OrganizationCreateBody.new - end - - after do - # run after each test - end - - describe 'test an instance of OrganizationCreateBody' do - it 'should create an instance of OrganizationCreateBody' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::OrganizationCreateBody) - end - end - describe 'test attribute "billing"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "subscription"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/organization_create_response_spec.rb b/spec/v1/models/organization_create_response_spec.rb deleted file mode 100644 index f1c8929c838..00000000000 --- a/spec/v1/models/organization_create_response_spec.rb +++ /dev/null @@ -1,59 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::OrganizationCreateResponse -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'OrganizationCreateResponse' do - before do - # run before each test - @instance = DatadogAPIClient::V1::OrganizationCreateResponse.new - end - - after do - # run after each test - end - - describe 'test an instance of OrganizationCreateResponse' do - it 'should create an instance of OrganizationCreateResponse' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::OrganizationCreateResponse) - end - end - describe 'test attribute "api_key"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "application_key"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "org"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "user"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/organization_list_response_spec.rb b/spec/v1/models/organization_list_response_spec.rb deleted file mode 100644 index 0f187f31540..00000000000 --- a/spec/v1/models/organization_list_response_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::OrganizationListResponse -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'OrganizationListResponse' do - before do - # run before each test - @instance = DatadogAPIClient::V1::OrganizationListResponse.new - end - - after do - # run after each test - end - - describe 'test an instance of OrganizationListResponse' do - it 'should create an instance of OrganizationListResponse' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::OrganizationListResponse) - end - end - describe 'test attribute "orgs"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/organization_response_spec.rb b/spec/v1/models/organization_response_spec.rb deleted file mode 100644 index a8262ca0d40..00000000000 --- a/spec/v1/models/organization_response_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::OrganizationResponse -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'OrganizationResponse' do - before do - # run before each test - @instance = DatadogAPIClient::V1::OrganizationResponse.new - end - - after do - # run after each test - end - - describe 'test an instance of OrganizationResponse' do - it 'should create an instance of OrganizationResponse' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::OrganizationResponse) - end - end - describe 'test attribute "org"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/organization_settings_saml_autocreate_users_domains_spec.rb b/spec/v1/models/organization_settings_saml_autocreate_users_domains_spec.rb deleted file mode 100644 index 8b442299656..00000000000 --- a/spec/v1/models/organization_settings_saml_autocreate_users_domains_spec.rb +++ /dev/null @@ -1,47 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::OrganizationSettingsSamlAutocreateUsersDomains -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'OrganizationSettingsSamlAutocreateUsersDomains' do - before do - # run before each test - @instance = DatadogAPIClient::V1::OrganizationSettingsSamlAutocreateUsersDomains.new - end - - after do - # run after each test - end - - describe 'test an instance of OrganizationSettingsSamlAutocreateUsersDomains' do - it 'should create an instance of OrganizationSettingsSamlAutocreateUsersDomains' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::OrganizationSettingsSamlAutocreateUsersDomains) - end - end - describe 'test attribute "domains"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "enabled"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/organization_settings_saml_idp_initiated_login_spec.rb b/spec/v1/models/organization_settings_saml_idp_initiated_login_spec.rb deleted file mode 100644 index 68d581f7fd2..00000000000 --- a/spec/v1/models/organization_settings_saml_idp_initiated_login_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::OrganizationSettingsSamlIdpInitiatedLogin -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'OrganizationSettingsSamlIdpInitiatedLogin' do - before do - # run before each test - @instance = DatadogAPIClient::V1::OrganizationSettingsSamlIdpInitiatedLogin.new - end - - after do - # run after each test - end - - describe 'test an instance of OrganizationSettingsSamlIdpInitiatedLogin' do - it 'should create an instance of OrganizationSettingsSamlIdpInitiatedLogin' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::OrganizationSettingsSamlIdpInitiatedLogin) - end - end - describe 'test attribute "enabled"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/organization_settings_saml_spec.rb b/spec/v1/models/organization_settings_saml_spec.rb deleted file mode 100644 index 38b010db0ec..00000000000 --- a/spec/v1/models/organization_settings_saml_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::OrganizationSettingsSaml -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'OrganizationSettingsSaml' do - before do - # run before each test - @instance = DatadogAPIClient::V1::OrganizationSettingsSaml.new - end - - after do - # run after each test - end - - describe 'test an instance of OrganizationSettingsSaml' do - it 'should create an instance of OrganizationSettingsSaml' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::OrganizationSettingsSaml) - end - end - describe 'test attribute "enabled"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/organization_settings_saml_strict_mode_spec.rb b/spec/v1/models/organization_settings_saml_strict_mode_spec.rb deleted file mode 100644 index bc24acf7b91..00000000000 --- a/spec/v1/models/organization_settings_saml_strict_mode_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::OrganizationSettingsSamlStrictMode -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'OrganizationSettingsSamlStrictMode' do - before do - # run before each test - @instance = DatadogAPIClient::V1::OrganizationSettingsSamlStrictMode.new - end - - after do - # run after each test - end - - describe 'test an instance of OrganizationSettingsSamlStrictMode' do - it 'should create an instance of OrganizationSettingsSamlStrictMode' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::OrganizationSettingsSamlStrictMode) - end - end - describe 'test attribute "enabled"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/organization_settings_spec.rb b/spec/v1/models/organization_settings_spec.rb deleted file mode 100644 index cf8e37bb018..00000000000 --- a/spec/v1/models/organization_settings_spec.rb +++ /dev/null @@ -1,95 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::OrganizationSettings -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'OrganizationSettings' do - before do - # run before each test - @instance = DatadogAPIClient::V1::OrganizationSettings.new - end - - after do - # run after each test - end - - describe 'test an instance of OrganizationSettings' do - it 'should create an instance of OrganizationSettings' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::OrganizationSettings) - end - end - describe 'test attribute "private_widget_share"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "saml"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "saml_autocreate_access_role"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "saml_autocreate_users_domains"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "saml_can_be_enabled"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "saml_idp_endpoint"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "saml_idp_initiated_login"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "saml_idp_metadata_uploaded"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "saml_login_url"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "saml_strict_mode"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/organization_spec.rb b/spec/v1/models/organization_spec.rb deleted file mode 100644 index 8bb2057ddf0..00000000000 --- a/spec/v1/models/organization_spec.rb +++ /dev/null @@ -1,77 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::Organization -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'Organization' do - before do - # run before each test - @instance = DatadogAPIClient::V1::Organization.new - end - - after do - # run after each test - end - - describe 'test an instance of Organization' do - it 'should create an instance of Organization' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::Organization) - end - end - describe 'test attribute "billing"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "created"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "description"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "public_id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "settings"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "subscription"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/organization_subscription_spec.rb b/spec/v1/models/organization_subscription_spec.rb deleted file mode 100644 index 2d5e42997c3..00000000000 --- a/spec/v1/models/organization_subscription_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::OrganizationSubscription -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'OrganizationSubscription' do - before do - # run before each test - @instance = DatadogAPIClient::V1::OrganizationSubscription.new - end - - after do - # run after each test - end - - describe 'test an instance of OrganizationSubscription' do - it 'should create an instance of OrganizationSubscription' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::OrganizationSubscription) - end - end - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/pager_duty_service_key_spec.rb b/spec/v1/models/pager_duty_service_key_spec.rb deleted file mode 100644 index d1c1d67c43d..00000000000 --- a/spec/v1/models/pager_duty_service_key_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::PagerDutyServiceKey -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'PagerDutyServiceKey' do - before do - # run before each test - @instance = DatadogAPIClient::V1::PagerDutyServiceKey.new - end - - after do - # run after each test - end - - describe 'test an instance of PagerDutyServiceKey' do - it 'should create an instance of PagerDutyServiceKey' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::PagerDutyServiceKey) - end - end - describe 'test attribute "service_key"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/pager_duty_service_name_spec.rb b/spec/v1/models/pager_duty_service_name_spec.rb deleted file mode 100644 index 380ff083e3e..00000000000 --- a/spec/v1/models/pager_duty_service_name_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::PagerDutyServiceName -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'PagerDutyServiceName' do - before do - # run before each test - @instance = DatadogAPIClient::V1::PagerDutyServiceName.new - end - - after do - # run after each test - end - - describe 'test an instance of PagerDutyServiceName' do - it 'should create an instance of PagerDutyServiceName' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::PagerDutyServiceName) - end - end - describe 'test attribute "service_name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/pager_duty_service_spec.rb b/spec/v1/models/pager_duty_service_spec.rb deleted file mode 100644 index efa576a007b..00000000000 --- a/spec/v1/models/pager_duty_service_spec.rb +++ /dev/null @@ -1,47 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::PagerDutyService -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'PagerDutyService' do - before do - # run before each test - @instance = DatadogAPIClient::V1::PagerDutyService.new - end - - after do - # run after each test - end - - describe 'test an instance of PagerDutyService' do - it 'should create an instance of PagerDutyService' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::PagerDutyService) - end - end - describe 'test attribute "service_key"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "service_name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/process_query_definition_spec.rb b/spec/v1/models/process_query_definition_spec.rb deleted file mode 100644 index 7b35aa4a033..00000000000 --- a/spec/v1/models/process_query_definition_spec.rb +++ /dev/null @@ -1,59 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::ProcessQueryDefinition -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'ProcessQueryDefinition' do - before do - # run before each test - @instance = DatadogAPIClient::V1::ProcessQueryDefinition.new - end - - after do - # run after each test - end - - describe 'test an instance of ProcessQueryDefinition' do - it 'should create an instance of ProcessQueryDefinition' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::ProcessQueryDefinition) - end - end - describe 'test attribute "filter_by"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "limit"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metric"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "search_by"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/query_value_widget_definition_spec.rb b/spec/v1/models/query_value_widget_definition_spec.rb deleted file mode 100644 index 8877ad93733..00000000000 --- a/spec/v1/models/query_value_widget_definition_spec.rb +++ /dev/null @@ -1,101 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::QueryValueWidgetDefinition -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'QueryValueWidgetDefinition' do - before do - # run before each test - @instance = DatadogAPIClient::V1::QueryValueWidgetDefinition.new - end - - after do - # run after each test - end - - describe 'test an instance of QueryValueWidgetDefinition' do - it 'should create an instance of QueryValueWidgetDefinition' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::QueryValueWidgetDefinition) - end - end - describe 'test attribute "autoscale"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "custom_links"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "custom_unit"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "precision"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "requests"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "text_align"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "time"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "title"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "title_align"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "title_size"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/query_value_widget_definition_type_spec.rb b/spec/v1/models/query_value_widget_definition_type_spec.rb deleted file mode 100644 index 0608849499c..00000000000 --- a/spec/v1/models/query_value_widget_definition_type_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::QueryValueWidgetDefinitionType -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'QueryValueWidgetDefinitionType' do - before do - # run before each test - @instance = DatadogAPIClient::V1::QueryValueWidgetDefinitionType.new - end - - after do - # run after each test - end - - describe 'test an instance of QueryValueWidgetDefinitionType' do - it 'should create an instance of QueryValueWidgetDefinitionType' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::QueryValueWidgetDefinitionType) - end - end -end diff --git a/spec/v1/models/query_value_widget_request_spec.rb b/spec/v1/models/query_value_widget_request_spec.rb deleted file mode 100644 index ec030e14f6d..00000000000 --- a/spec/v1/models/query_value_widget_request_spec.rb +++ /dev/null @@ -1,95 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::QueryValueWidgetRequest -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'QueryValueWidgetRequest' do - before do - # run before each test - @instance = DatadogAPIClient::V1::QueryValueWidgetRequest.new - end - - after do - # run after each test - end - - describe 'test an instance of QueryValueWidgetRequest' do - it 'should create an instance of QueryValueWidgetRequest' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::QueryValueWidgetRequest) - end - end - describe 'test attribute "aggregator"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "apm_query"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "conditional_formats"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "event_query"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "log_query"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "network_query"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "process_query"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "q"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "rum_query"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "security_query"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/scatter_plot_request_spec.rb b/spec/v1/models/scatter_plot_request_spec.rb deleted file mode 100644 index 415e97c064e..00000000000 --- a/spec/v1/models/scatter_plot_request_spec.rb +++ /dev/null @@ -1,89 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::ScatterPlotRequest -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'ScatterPlotRequest' do - before do - # run before each test - @instance = DatadogAPIClient::V1::ScatterPlotRequest.new - end - - after do - # run after each test - end - - describe 'test an instance of ScatterPlotRequest' do - it 'should create an instance of ScatterPlotRequest' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::ScatterPlotRequest) - end - end - describe 'test attribute "aggregator"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "apm_query"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "event_query"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "log_query"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "network_query"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "process_query"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "q"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "rum_query"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "security_query"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/scatter_plot_widget_definition_requests_spec.rb b/spec/v1/models/scatter_plot_widget_definition_requests_spec.rb deleted file mode 100644 index d5ad9ad7f0b..00000000000 --- a/spec/v1/models/scatter_plot_widget_definition_requests_spec.rb +++ /dev/null @@ -1,47 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::ScatterPlotWidgetDefinitionRequests -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'ScatterPlotWidgetDefinitionRequests' do - before do - # run before each test - @instance = DatadogAPIClient::V1::ScatterPlotWidgetDefinitionRequests.new - end - - after do - # run after each test - end - - describe 'test an instance of ScatterPlotWidgetDefinitionRequests' do - it 'should create an instance of ScatterPlotWidgetDefinitionRequests' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::ScatterPlotWidgetDefinitionRequests) - end - end - describe 'test attribute "x"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "y"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/scatter_plot_widget_definition_spec.rb b/spec/v1/models/scatter_plot_widget_definition_spec.rb deleted file mode 100644 index 55ba4cc8c9b..00000000000 --- a/spec/v1/models/scatter_plot_widget_definition_spec.rb +++ /dev/null @@ -1,95 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::ScatterPlotWidgetDefinition -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'ScatterPlotWidgetDefinition' do - before do - # run before each test - @instance = DatadogAPIClient::V1::ScatterPlotWidgetDefinition.new - end - - after do - # run after each test - end - - describe 'test an instance of ScatterPlotWidgetDefinition' do - it 'should create an instance of ScatterPlotWidgetDefinition' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::ScatterPlotWidgetDefinition) - end - end - describe 'test attribute "color_by_groups"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "custom_links"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "requests"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "time"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "title"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "title_align"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "title_size"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "xaxis"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "yaxis"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/scatter_plot_widget_definition_type_spec.rb b/spec/v1/models/scatter_plot_widget_definition_type_spec.rb deleted file mode 100644 index a54016d5b8f..00000000000 --- a/spec/v1/models/scatter_plot_widget_definition_type_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::ScatterPlotWidgetDefinitionType -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'ScatterPlotWidgetDefinitionType' do - before do - # run before each test - @instance = DatadogAPIClient::V1::ScatterPlotWidgetDefinitionType.new - end - - after do - # run after each test - end - - describe 'test an instance of ScatterPlotWidgetDefinitionType' do - it 'should create an instance of ScatterPlotWidgetDefinitionType' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::ScatterPlotWidgetDefinitionType) - end - end -end diff --git a/spec/v1/models/service_level_objective_query_spec.rb b/spec/v1/models/service_level_objective_query_spec.rb deleted file mode 100644 index 5389b40f6c2..00000000000 --- a/spec/v1/models/service_level_objective_query_spec.rb +++ /dev/null @@ -1,47 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::ServiceLevelObjectiveQuery -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'ServiceLevelObjectiveQuery' do - before do - # run before each test - @instance = DatadogAPIClient::V1::ServiceLevelObjectiveQuery.new - end - - after do - # run after each test - end - - describe 'test an instance of ServiceLevelObjectiveQuery' do - it 'should create an instance of ServiceLevelObjectiveQuery' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::ServiceLevelObjectiveQuery) - end - end - describe 'test attribute "denominator"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "numerator"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/service_level_objective_request_spec.rb b/spec/v1/models/service_level_objective_request_spec.rb deleted file mode 100644 index 9dec4d0d63b..00000000000 --- a/spec/v1/models/service_level_objective_request_spec.rb +++ /dev/null @@ -1,107 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::ServiceLevelObjectiveRequest -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'ServiceLevelObjectiveRequest' do - before do - # run before each test - @instance = DatadogAPIClient::V1::ServiceLevelObjectiveRequest.new - end - - after do - # run after each test - end - - describe 'test an instance of ServiceLevelObjectiveRequest' do - it 'should create an instance of ServiceLevelObjectiveRequest' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::ServiceLevelObjectiveRequest) - end - end - describe 'test attribute "created_at"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "creator"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "description"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "groups"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "modified_at"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "monitor_ids"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "query"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "tags"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "thresholds"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/service_level_objective_spec.rb b/spec/v1/models/service_level_objective_spec.rb deleted file mode 100644 index 89a325ab921..00000000000 --- a/spec/v1/models/service_level_objective_spec.rb +++ /dev/null @@ -1,113 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::ServiceLevelObjective -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'ServiceLevelObjective' do - before do - # run before each test - @instance = DatadogAPIClient::V1::ServiceLevelObjective.new - end - - after do - # run after each test - end - - describe 'test an instance of ServiceLevelObjective' do - it 'should create an instance of ServiceLevelObjective' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::ServiceLevelObjective) - end - end - describe 'test attribute "created_at"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "creator"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "description"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "groups"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "modified_at"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "monitor_ids"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "monitor_tags"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "query"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "tags"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "thresholds"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/service_map_widget_definition_spec.rb b/spec/v1/models/service_map_widget_definition_spec.rb deleted file mode 100644 index 2b03e874153..00000000000 --- a/spec/v1/models/service_map_widget_definition_spec.rb +++ /dev/null @@ -1,77 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::ServiceMapWidgetDefinition -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'ServiceMapWidgetDefinition' do - before do - # run before each test - @instance = DatadogAPIClient::V1::ServiceMapWidgetDefinition.new - end - - after do - # run after each test - end - - describe 'test an instance of ServiceMapWidgetDefinition' do - it 'should create an instance of ServiceMapWidgetDefinition' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::ServiceMapWidgetDefinition) - end - end - describe 'test attribute "custom_links"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "filters"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "service"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "title"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "title_align"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "title_size"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/service_map_widget_definition_type_spec.rb b/spec/v1/models/service_map_widget_definition_type_spec.rb deleted file mode 100644 index ea1aad59391..00000000000 --- a/spec/v1/models/service_map_widget_definition_type_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::ServiceMapWidgetDefinitionType -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'ServiceMapWidgetDefinitionType' do - before do - # run before each test - @instance = DatadogAPIClient::V1::ServiceMapWidgetDefinitionType.new - end - - after do - # run after each test - end - - describe 'test an instance of ServiceMapWidgetDefinitionType' do - it 'should create an instance of ServiceMapWidgetDefinitionType' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::ServiceMapWidgetDefinitionType) - end - end -end diff --git a/spec/v1/models/service_summary_widget_definition_spec.rb b/spec/v1/models/service_summary_widget_definition_spec.rb deleted file mode 100644 index fdd0dfab9d5..00000000000 --- a/spec/v1/models/service_summary_widget_definition_spec.rb +++ /dev/null @@ -1,131 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::ServiceSummaryWidgetDefinition -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'ServiceSummaryWidgetDefinition' do - before do - # run before each test - @instance = DatadogAPIClient::V1::ServiceSummaryWidgetDefinition.new - end - - after do - # run after each test - end - - describe 'test an instance of ServiceSummaryWidgetDefinition' do - it 'should create an instance of ServiceSummaryWidgetDefinition' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::ServiceSummaryWidgetDefinition) - end - end - describe 'test attribute "display_format"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "env"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "service"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "show_breakdown"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "show_distribution"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "show_errors"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "show_hits"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "show_latency"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "show_resource_list"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "size_format"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "span_name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "time"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "title"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "title_align"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "title_size"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/service_summary_widget_definition_type_spec.rb b/spec/v1/models/service_summary_widget_definition_type_spec.rb deleted file mode 100644 index 8e91a38786f..00000000000 --- a/spec/v1/models/service_summary_widget_definition_type_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::ServiceSummaryWidgetDefinitionType -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'ServiceSummaryWidgetDefinitionType' do - before do - # run before each test - @instance = DatadogAPIClient::V1::ServiceSummaryWidgetDefinitionType.new - end - - after do - # run after each test - end - - describe 'test an instance of ServiceSummaryWidgetDefinitionType' do - it 'should create an instance of ServiceSummaryWidgetDefinitionType' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::ServiceSummaryWidgetDefinitionType) - end - end -end diff --git a/spec/v1/models/slo_bulk_delete_response_data_spec.rb b/spec/v1/models/slo_bulk_delete_response_data_spec.rb deleted file mode 100644 index 2780f09a99a..00000000000 --- a/spec/v1/models/slo_bulk_delete_response_data_spec.rb +++ /dev/null @@ -1,47 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::SLOBulkDeleteResponseData -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SLOBulkDeleteResponseData' do - before do - # run before each test - @instance = DatadogAPIClient::V1::SLOBulkDeleteResponseData.new - end - - after do - # run after each test - end - - describe 'test an instance of SLOBulkDeleteResponseData' do - it 'should create an instance of SLOBulkDeleteResponseData' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::SLOBulkDeleteResponseData) - end - end - describe 'test attribute "deleted"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "updated"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/slo_bulk_delete_response_errors_spec.rb b/spec/v1/models/slo_bulk_delete_response_errors_spec.rb deleted file mode 100644 index 051759d468e..00000000000 --- a/spec/v1/models/slo_bulk_delete_response_errors_spec.rb +++ /dev/null @@ -1,53 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::SLOBulkDeleteResponseErrors -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SLOBulkDeleteResponseErrors' do - before do - # run before each test - @instance = DatadogAPIClient::V1::SLOBulkDeleteResponseErrors.new - end - - after do - # run after each test - end - - describe 'test an instance of SLOBulkDeleteResponseErrors' do - it 'should create an instance of SLOBulkDeleteResponseErrors' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::SLOBulkDeleteResponseErrors) - end - end - describe 'test attribute "id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "message"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "timeframe"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/slo_bulk_delete_response_spec.rb b/spec/v1/models/slo_bulk_delete_response_spec.rb deleted file mode 100644 index 0c8b610a6db..00000000000 --- a/spec/v1/models/slo_bulk_delete_response_spec.rb +++ /dev/null @@ -1,47 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::SLOBulkDeleteResponse -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SLOBulkDeleteResponse' do - before do - # run before each test - @instance = DatadogAPIClient::V1::SLOBulkDeleteResponse.new - end - - after do - # run after each test - end - - describe 'test an instance of SLOBulkDeleteResponse' do - it 'should create an instance of SLOBulkDeleteResponse' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::SLOBulkDeleteResponse) - end - end - describe 'test attribute "data"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "errors"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/slo_delete_response_spec.rb b/spec/v1/models/slo_delete_response_spec.rb deleted file mode 100644 index cbb0adc08a2..00000000000 --- a/spec/v1/models/slo_delete_response_spec.rb +++ /dev/null @@ -1,47 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::SLODeleteResponse -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SLODeleteResponse' do - before do - # run before each test - @instance = DatadogAPIClient::V1::SLODeleteResponse.new - end - - after do - # run after each test - end - - describe 'test an instance of SLODeleteResponse' do - it 'should create an instance of SLODeleteResponse' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::SLODeleteResponse) - end - end - describe 'test attribute "data"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "errors"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/slo_error_timeframe_spec.rb b/spec/v1/models/slo_error_timeframe_spec.rb deleted file mode 100644 index bd3340b7630..00000000000 --- a/spec/v1/models/slo_error_timeframe_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::SLOErrorTimeframe -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SLOErrorTimeframe' do - before do - # run before each test - @instance = DatadogAPIClient::V1::SLOErrorTimeframe.new - end - - after do - # run after each test - end - - describe 'test an instance of SLOErrorTimeframe' do - it 'should create an instance of SLOErrorTimeframe' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::SLOErrorTimeframe) - end - end -end diff --git a/spec/v1/models/slo_history_metrics_series_metadata_spec.rb b/spec/v1/models/slo_history_metrics_series_metadata_spec.rb deleted file mode 100644 index 3414b2c9270..00000000000 --- a/spec/v1/models/slo_history_metrics_series_metadata_spec.rb +++ /dev/null @@ -1,71 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::SLOHistoryMetricsSeriesMetadata -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SLOHistoryMetricsSeriesMetadata' do - before do - # run before each test - @instance = DatadogAPIClient::V1::SLOHistoryMetricsSeriesMetadata.new - end - - after do - # run after each test - end - - describe 'test an instance of SLOHistoryMetricsSeriesMetadata' do - it 'should create an instance of SLOHistoryMetricsSeriesMetadata' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::SLOHistoryMetricsSeriesMetadata) - end - end - describe 'test attribute "aggr"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "expression"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metric"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "query_index"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "scope"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "unit"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/slo_history_metrics_series_spec.rb b/spec/v1/models/slo_history_metrics_series_spec.rb deleted file mode 100644 index 6fb92d862db..00000000000 --- a/spec/v1/models/slo_history_metrics_series_spec.rb +++ /dev/null @@ -1,59 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::SLOHistoryMetricsSeries -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SLOHistoryMetricsSeries' do - before do - # run before each test - @instance = DatadogAPIClient::V1::SLOHistoryMetricsSeries.new - end - - after do - # run after each test - end - - describe 'test an instance of SLOHistoryMetricsSeries' do - it 'should create an instance of SLOHistoryMetricsSeries' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::SLOHistoryMetricsSeries) - end - end - describe 'test attribute "count"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "sum"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "values"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/slo_history_metrics_spec.rb b/spec/v1/models/slo_history_metrics_spec.rb deleted file mode 100644 index c7e836cb75e..00000000000 --- a/spec/v1/models/slo_history_metrics_spec.rb +++ /dev/null @@ -1,83 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::SLOHistoryMetrics -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SLOHistoryMetrics' do - before do - # run before each test - @instance = DatadogAPIClient::V1::SLOHistoryMetrics.new - end - - after do - # run after each test - end - - describe 'test an instance of SLOHistoryMetrics' do - it 'should create an instance of SLOHistoryMetrics' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::SLOHistoryMetrics) - end - end - describe 'test attribute "denominator"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "interval"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "message"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "numerator"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "query"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "res_type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "resp_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "times"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/slo_history_response_data_spec.rb b/spec/v1/models/slo_history_response_data_spec.rb deleted file mode 100644 index 9c52ec89db9..00000000000 --- a/spec/v1/models/slo_history_response_data_spec.rb +++ /dev/null @@ -1,83 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::SLOHistoryResponseData -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SLOHistoryResponseData' do - before do - # run before each test - @instance = DatadogAPIClient::V1::SLOHistoryResponseData.new - end - - after do - # run after each test - end - - describe 'test an instance of SLOHistoryResponseData' do - it 'should create an instance of SLOHistoryResponseData' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::SLOHistoryResponseData) - end - end - describe 'test attribute "from_ts"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "groups"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "overall"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "series"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "thresholds"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "to_ts"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type_id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/slo_history_response_error_spec.rb b/spec/v1/models/slo_history_response_error_spec.rb deleted file mode 100644 index fcfe91de55f..00000000000 --- a/spec/v1/models/slo_history_response_error_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::SLOHistoryResponseError -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SLOHistoryResponseError' do - before do - # run before each test - @instance = DatadogAPIClient::V1::SLOHistoryResponseError.new - end - - after do - # run after each test - end - - describe 'test an instance of SLOHistoryResponseError' do - it 'should create an instance of SLOHistoryResponseError' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::SLOHistoryResponseError) - end - end - describe 'test attribute "error"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/slo_history_response_spec.rb b/spec/v1/models/slo_history_response_spec.rb deleted file mode 100644 index f7d88e513e7..00000000000 --- a/spec/v1/models/slo_history_response_spec.rb +++ /dev/null @@ -1,47 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::SLOHistoryResponse -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SLOHistoryResponse' do - before do - # run before each test - @instance = DatadogAPIClient::V1::SLOHistoryResponse.new - end - - after do - # run after each test - end - - describe 'test an instance of SLOHistoryResponse' do - it 'should create an instance of SLOHistoryResponse' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::SLOHistoryResponse) - end - end - describe 'test attribute "data"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "errors"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/slo_history_sli_data_spec.rb b/spec/v1/models/slo_history_sli_data_spec.rb deleted file mode 100644 index 73090ed8228..00000000000 --- a/spec/v1/models/slo_history_sli_data_spec.rb +++ /dev/null @@ -1,77 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::SLOHistorySLIData -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SLOHistorySLIData' do - before do - # run before each test - @instance = DatadogAPIClient::V1::SLOHistorySLIData.new - end - - after do - # run after each test - end - - describe 'test an instance of SLOHistorySLIData' do - it 'should create an instance of SLOHistorySLIData' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::SLOHistorySLIData) - end - end - describe 'test attribute "history"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "precision"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "preview"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "sli_value"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "span_precision"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "uptime"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/slo_list_response_spec.rb b/spec/v1/models/slo_list_response_spec.rb deleted file mode 100644 index 7c94469513e..00000000000 --- a/spec/v1/models/slo_list_response_spec.rb +++ /dev/null @@ -1,47 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::SLOListResponse -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SLOListResponse' do - before do - # run before each test - @instance = DatadogAPIClient::V1::SLOListResponse.new - end - - after do - # run after each test - end - - describe 'test an instance of SLOListResponse' do - it 'should create an instance of SLOListResponse' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::SLOListResponse) - end - end - describe 'test attribute "data"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "errors"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/slo_response_spec.rb b/spec/v1/models/slo_response_spec.rb deleted file mode 100644 index 1f0e64b9268..00000000000 --- a/spec/v1/models/slo_response_spec.rb +++ /dev/null @@ -1,47 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::SLOResponse -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SLOResponse' do - before do - # run before each test - @instance = DatadogAPIClient::V1::SLOResponse.new - end - - after do - # run after each test - end - - describe 'test an instance of SLOResponse' do - it 'should create an instance of SLOResponse' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::SLOResponse) - end - end - describe 'test attribute "data"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "errors"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/slo_threshold_spec.rb b/spec/v1/models/slo_threshold_spec.rb deleted file mode 100644 index c0d34930a80..00000000000 --- a/spec/v1/models/slo_threshold_spec.rb +++ /dev/null @@ -1,65 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::SLOThreshold -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SLOThreshold' do - before do - # run before each test - @instance = DatadogAPIClient::V1::SLOThreshold.new - end - - after do - # run after each test - end - - describe 'test an instance of SLOThreshold' do - it 'should create an instance of SLOThreshold' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::SLOThreshold) - end - end - describe 'test attribute "target"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "target_display"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "timeframe"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "warning"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "warning_display"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/slo_timeframe_spec.rb b/spec/v1/models/slo_timeframe_spec.rb deleted file mode 100644 index 16129f46418..00000000000 --- a/spec/v1/models/slo_timeframe_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::SLOTimeframe -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SLOTimeframe' do - before do - # run before each test - @instance = DatadogAPIClient::V1::SLOTimeframe.new - end - - after do - # run after each test - end - - describe 'test an instance of SLOTimeframe' do - it 'should create an instance of SLOTimeframe' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::SLOTimeframe) - end - end -end diff --git a/spec/v1/models/slo_type_numeric_spec.rb b/spec/v1/models/slo_type_numeric_spec.rb deleted file mode 100644 index f26aa5060dc..00000000000 --- a/spec/v1/models/slo_type_numeric_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::SLOTypeNumeric -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SLOTypeNumeric' do - before do - # run before each test - @instance = DatadogAPIClient::V1::SLOTypeNumeric.new - end - - after do - # run after each test - end - - describe 'test an instance of SLOTypeNumeric' do - it 'should create an instance of SLOTypeNumeric' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::SLOTypeNumeric) - end - end -end diff --git a/spec/v1/models/slo_type_spec.rb b/spec/v1/models/slo_type_spec.rb deleted file mode 100644 index f3337e943c4..00000000000 --- a/spec/v1/models/slo_type_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::SLOType -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SLOType' do - before do - # run before each test - @instance = DatadogAPIClient::V1::SLOType.new - end - - after do - # run after each test - end - - describe 'test an instance of SLOType' do - it 'should create an instance of SLOType' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::SLOType) - end - end -end diff --git a/spec/v1/models/slo_widget_definition_spec.rb b/spec/v1/models/slo_widget_definition_spec.rb deleted file mode 100644 index ffe4490e554..00000000000 --- a/spec/v1/models/slo_widget_definition_spec.rb +++ /dev/null @@ -1,89 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::SLOWidgetDefinition -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SLOWidgetDefinition' do - before do - # run before each test - @instance = DatadogAPIClient::V1::SLOWidgetDefinition.new - end - - after do - # run after each test - end - - describe 'test an instance of SLOWidgetDefinition' do - it 'should create an instance of SLOWidgetDefinition' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::SLOWidgetDefinition) - end - end - describe 'test attribute "show_error_budget"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "slo_id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "time_windows"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "title"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "title_align"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "title_size"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "view_mode"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "view_type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/slo_widget_definition_type_spec.rb b/spec/v1/models/slo_widget_definition_type_spec.rb deleted file mode 100644 index d7277aefc16..00000000000 --- a/spec/v1/models/slo_widget_definition_type_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::SLOWidgetDefinitionType -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SLOWidgetDefinitionType' do - before do - # run before each test - @instance = DatadogAPIClient::V1::SLOWidgetDefinitionType.new - end - - after do - # run after each test - end - - describe 'test an instance of SLOWidgetDefinitionType' do - it 'should create an instance of SLOWidgetDefinitionType' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::SLOWidgetDefinitionType) - end - end -end diff --git a/spec/v1/models/synthetics_api_test_result_data_spec.rb b/spec/v1/models/synthetics_api_test_result_data_spec.rb deleted file mode 100644 index 339bf196a7d..00000000000 --- a/spec/v1/models/synthetics_api_test_result_data_spec.rb +++ /dev/null @@ -1,95 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::SyntheticsAPITestResultData -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SyntheticsAPITestResultData' do - before do - # run before each test - @instance = DatadogAPIClient::V1::SyntheticsAPITestResultData.new - end - - after do - # run after each test - end - - describe 'test an instance of SyntheticsAPITestResultData' do - it 'should create an instance of SyntheticsAPITestResultData' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::SyntheticsAPITestResultData) - end - end - describe 'test attribute "cert"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "error_code"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "error_message"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "event_type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "http_status_code"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "request_headers"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "response_body"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "response_headers"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "response_size"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "timings"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/synthetics_api_test_result_full_check_spec.rb b/spec/v1/models/synthetics_api_test_result_full_check_spec.rb deleted file mode 100644 index 5671026bb93..00000000000 --- a/spec/v1/models/synthetics_api_test_result_full_check_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::SyntheticsAPITestResultFullCheck -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SyntheticsAPITestResultFullCheck' do - before do - # run before each test - @instance = DatadogAPIClient::V1::SyntheticsAPITestResultFullCheck.new - end - - after do - # run after each test - end - - describe 'test an instance of SyntheticsAPITestResultFullCheck' do - it 'should create an instance of SyntheticsAPITestResultFullCheck' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::SyntheticsAPITestResultFullCheck) - end - end - describe 'test attribute "config"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/synthetics_api_test_result_full_spec.rb b/spec/v1/models/synthetics_api_test_result_full_spec.rb deleted file mode 100644 index ec9cf1ff491..00000000000 --- a/spec/v1/models/synthetics_api_test_result_full_spec.rb +++ /dev/null @@ -1,77 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::SyntheticsAPITestResultFull -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SyntheticsAPITestResultFull' do - before do - # run before each test - @instance = DatadogAPIClient::V1::SyntheticsAPITestResultFull.new - end - - after do - # run after each test - end - - describe 'test an instance of SyntheticsAPITestResultFull' do - it 'should create an instance of SyntheticsAPITestResultFull' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::SyntheticsAPITestResultFull) - end - end - describe 'test attribute "check"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "check_time"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "check_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "probe_dc"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "result"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "result_id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "status"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/synthetics_api_test_result_short_result_spec.rb b/spec/v1/models/synthetics_api_test_result_short_result_spec.rb deleted file mode 100644 index 708e7a9ce17..00000000000 --- a/spec/v1/models/synthetics_api_test_result_short_result_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::SyntheticsAPITestResultShortResult -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SyntheticsAPITestResultShortResult' do - before do - # run before each test - @instance = DatadogAPIClient::V1::SyntheticsAPITestResultShortResult.new - end - - after do - # run after each test - end - - describe 'test an instance of SyntheticsAPITestResultShortResult' do - it 'should create an instance of SyntheticsAPITestResultShortResult' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::SyntheticsAPITestResultShortResult) - end - end - describe 'test attribute "timings"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/synthetics_api_test_result_short_spec.rb b/spec/v1/models/synthetics_api_test_result_short_spec.rb deleted file mode 100644 index 603ea5ddddf..00000000000 --- a/spec/v1/models/synthetics_api_test_result_short_spec.rb +++ /dev/null @@ -1,65 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::SyntheticsAPITestResultShort -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SyntheticsAPITestResultShort' do - before do - # run before each test - @instance = DatadogAPIClient::V1::SyntheticsAPITestResultShort.new - end - - after do - # run after each test - end - - describe 'test an instance of SyntheticsAPITestResultShort' do - it 'should create an instance of SyntheticsAPITestResultShort' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::SyntheticsAPITestResultShort) - end - end - describe 'test attribute "check_time"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "probe_dc"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "result"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "result_id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "status"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/synthetics_assertion_json_path_operator_spec.rb b/spec/v1/models/synthetics_assertion_json_path_operator_spec.rb deleted file mode 100644 index 9f3b6fbb349..00000000000 --- a/spec/v1/models/synthetics_assertion_json_path_operator_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::SyntheticsAssertionJSONPathOperator -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SyntheticsAssertionJSONPathOperator' do - before do - # run before each test - @instance = DatadogAPIClient::V1::SyntheticsAssertionJSONPathOperator.new - end - - after do - # run after each test - end - - describe 'test an instance of SyntheticsAssertionJSONPathOperator' do - it 'should create an instance of SyntheticsAssertionJSONPathOperator' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::SyntheticsAssertionJSONPathOperator) - end - end -end diff --git a/spec/v1/models/synthetics_assertion_json_path_target_spec.rb b/spec/v1/models/synthetics_assertion_json_path_target_spec.rb deleted file mode 100644 index 06a28e7da40..00000000000 --- a/spec/v1/models/synthetics_assertion_json_path_target_spec.rb +++ /dev/null @@ -1,59 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::SyntheticsAssertionJSONPathTarget -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SyntheticsAssertionJSONPathTarget' do - before do - # run before each test - @instance = DatadogAPIClient::V1::SyntheticsAssertionJSONPathTarget.new - end - - after do - # run after each test - end - - describe 'test an instance of SyntheticsAssertionJSONPathTarget' do - it 'should create an instance of SyntheticsAssertionJSONPathTarget' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::SyntheticsAssertionJSONPathTarget) - end - end - describe 'test attribute "operator"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "property"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "target"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/synthetics_assertion_json_path_target_target_spec.rb b/spec/v1/models/synthetics_assertion_json_path_target_target_spec.rb deleted file mode 100644 index ed783d8842f..00000000000 --- a/spec/v1/models/synthetics_assertion_json_path_target_target_spec.rb +++ /dev/null @@ -1,53 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::SyntheticsAssertionJSONPathTargetTarget -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SyntheticsAssertionJSONPathTargetTarget' do - before do - # run before each test - @instance = DatadogAPIClient::V1::SyntheticsAssertionJSONPathTargetTarget.new - end - - after do - # run after each test - end - - describe 'test an instance of SyntheticsAssertionJSONPathTargetTarget' do - it 'should create an instance of SyntheticsAssertionJSONPathTargetTarget' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::SyntheticsAssertionJSONPathTargetTarget) - end - end - describe 'test attribute "json_path"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "operator"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "target_value"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/synthetics_assertion_operator_spec.rb b/spec/v1/models/synthetics_assertion_operator_spec.rb deleted file mode 100644 index 2d0d3fa14f8..00000000000 --- a/spec/v1/models/synthetics_assertion_operator_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::SyntheticsAssertionOperator -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SyntheticsAssertionOperator' do - before do - # run before each test - @instance = DatadogAPIClient::V1::SyntheticsAssertionOperator.new - end - - after do - # run after each test - end - - describe 'test an instance of SyntheticsAssertionOperator' do - it 'should create an instance of SyntheticsAssertionOperator' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::SyntheticsAssertionOperator) - end - end -end diff --git a/spec/v1/models/synthetics_assertion_spec.rb b/spec/v1/models/synthetics_assertion_spec.rb deleted file mode 100644 index 1d6b3f7ede8..00000000000 --- a/spec/v1/models/synthetics_assertion_spec.rb +++ /dev/null @@ -1,59 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::SyntheticsAssertion -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SyntheticsAssertion' do - before do - # run before each test - @instance = DatadogAPIClient::V1::SyntheticsAssertion.new - end - - after do - # run after each test - end - - describe 'test an instance of SyntheticsAssertion' do - it 'should create an instance of SyntheticsAssertion' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::SyntheticsAssertion) - end - end - describe 'test attribute "operator"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "property"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "target"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/synthetics_assertion_target_spec.rb b/spec/v1/models/synthetics_assertion_target_spec.rb deleted file mode 100644 index 0a903f9d647..00000000000 --- a/spec/v1/models/synthetics_assertion_target_spec.rb +++ /dev/null @@ -1,59 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::SyntheticsAssertionTarget -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SyntheticsAssertionTarget' do - before do - # run before each test - @instance = DatadogAPIClient::V1::SyntheticsAssertionTarget.new - end - - after do - # run after each test - end - - describe 'test an instance of SyntheticsAssertionTarget' do - it 'should create an instance of SyntheticsAssertionTarget' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::SyntheticsAssertionTarget) - end - end - describe 'test attribute "operator"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "property"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "target"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/synthetics_assertion_type_spec.rb b/spec/v1/models/synthetics_assertion_type_spec.rb deleted file mode 100644 index 865c7a026ba..00000000000 --- a/spec/v1/models/synthetics_assertion_type_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::SyntheticsAssertionType -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SyntheticsAssertionType' do - before do - # run before each test - @instance = DatadogAPIClient::V1::SyntheticsAssertionType.new - end - - after do - # run after each test - end - - describe 'test an instance of SyntheticsAssertionType' do - it 'should create an instance of SyntheticsAssertionType' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::SyntheticsAssertionType) - end - end -end diff --git a/spec/v1/models/synthetics_basic_auth_spec.rb b/spec/v1/models/synthetics_basic_auth_spec.rb deleted file mode 100644 index 2967201c2cb..00000000000 --- a/spec/v1/models/synthetics_basic_auth_spec.rb +++ /dev/null @@ -1,47 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::SyntheticsBasicAuth -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SyntheticsBasicAuth' do - before do - # run before each test - @instance = DatadogAPIClient::V1::SyntheticsBasicAuth.new - end - - after do - # run after each test - end - - describe 'test an instance of SyntheticsBasicAuth' do - it 'should create an instance of SyntheticsBasicAuth' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::SyntheticsBasicAuth) - end - end - describe 'test attribute "password"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "username"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/synthetics_browser_error_spec.rb b/spec/v1/models/synthetics_browser_error_spec.rb deleted file mode 100644 index 1b1fc113c38..00000000000 --- a/spec/v1/models/synthetics_browser_error_spec.rb +++ /dev/null @@ -1,59 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::SyntheticsBrowserError -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SyntheticsBrowserError' do - before do - # run before each test - @instance = DatadogAPIClient::V1::SyntheticsBrowserError.new - end - - after do - # run after each test - end - - describe 'test an instance of SyntheticsBrowserError' do - it 'should create an instance of SyntheticsBrowserError' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::SyntheticsBrowserError) - end - end - describe 'test attribute "description"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "status_code"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/synthetics_browser_error_type_spec.rb b/spec/v1/models/synthetics_browser_error_type_spec.rb deleted file mode 100644 index 2106ca8df4a..00000000000 --- a/spec/v1/models/synthetics_browser_error_type_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::SyntheticsBrowserErrorType -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SyntheticsBrowserErrorType' do - before do - # run before each test - @instance = DatadogAPIClient::V1::SyntheticsBrowserErrorType.new - end - - after do - # run after each test - end - - describe 'test an instance of SyntheticsBrowserErrorType' do - it 'should create an instance of SyntheticsBrowserErrorType' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::SyntheticsBrowserErrorType) - end - end -end diff --git a/spec/v1/models/synthetics_browser_test_result_data_spec.rb b/spec/v1/models/synthetics_browser_test_result_data_spec.rb deleted file mode 100644 index 08114fef944..00000000000 --- a/spec/v1/models/synthetics_browser_test_result_data_spec.rb +++ /dev/null @@ -1,101 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::SyntheticsBrowserTestResultData -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SyntheticsBrowserTestResultData' do - before do - # run before each test - @instance = DatadogAPIClient::V1::SyntheticsBrowserTestResultData.new - end - - after do - # run after each test - end - - describe 'test an instance of SyntheticsBrowserTestResultData' do - it 'should create an instance of SyntheticsBrowserTestResultData' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::SyntheticsBrowserTestResultData) - end - end - describe 'test attribute "browser_type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "browser_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "device"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "duration"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "error"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "passed"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "received_email_count"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "start_url"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "step_details"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "thumbnails_bucket_key"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "time_to_interactive"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/synthetics_browser_test_result_full_check_spec.rb b/spec/v1/models/synthetics_browser_test_result_full_check_spec.rb deleted file mode 100644 index b8c6eff297c..00000000000 --- a/spec/v1/models/synthetics_browser_test_result_full_check_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::SyntheticsBrowserTestResultFullCheck -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SyntheticsBrowserTestResultFullCheck' do - before do - # run before each test - @instance = DatadogAPIClient::V1::SyntheticsBrowserTestResultFullCheck.new - end - - after do - # run after each test - end - - describe 'test an instance of SyntheticsBrowserTestResultFullCheck' do - it 'should create an instance of SyntheticsBrowserTestResultFullCheck' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::SyntheticsBrowserTestResultFullCheck) - end - end - describe 'test attribute "config"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/synthetics_browser_test_result_full_spec.rb b/spec/v1/models/synthetics_browser_test_result_full_spec.rb deleted file mode 100644 index bdf9af37a84..00000000000 --- a/spec/v1/models/synthetics_browser_test_result_full_spec.rb +++ /dev/null @@ -1,77 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::SyntheticsBrowserTestResultFull -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SyntheticsBrowserTestResultFull' do - before do - # run before each test - @instance = DatadogAPIClient::V1::SyntheticsBrowserTestResultFull.new - end - - after do - # run after each test - end - - describe 'test an instance of SyntheticsBrowserTestResultFull' do - it 'should create an instance of SyntheticsBrowserTestResultFull' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::SyntheticsBrowserTestResultFull) - end - end - describe 'test attribute "check"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "check_time"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "check_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "probe_dc"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "result"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "result_id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "status"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/synthetics_browser_test_result_short_result_spec.rb b/spec/v1/models/synthetics_browser_test_result_short_result_spec.rb deleted file mode 100644 index 327d2bbcea1..00000000000 --- a/spec/v1/models/synthetics_browser_test_result_short_result_spec.rb +++ /dev/null @@ -1,65 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::SyntheticsBrowserTestResultShortResult -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SyntheticsBrowserTestResultShortResult' do - before do - # run before each test - @instance = DatadogAPIClient::V1::SyntheticsBrowserTestResultShortResult.new - end - - after do - # run after each test - end - - describe 'test an instance of SyntheticsBrowserTestResultShortResult' do - it 'should create an instance of SyntheticsBrowserTestResultShortResult' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::SyntheticsBrowserTestResultShortResult) - end - end - describe 'test attribute "device"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "duration"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "error_count"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "step_count_completed"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "step_count_total"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/synthetics_browser_test_result_short_spec.rb b/spec/v1/models/synthetics_browser_test_result_short_spec.rb deleted file mode 100644 index 4b919eb6018..00000000000 --- a/spec/v1/models/synthetics_browser_test_result_short_spec.rb +++ /dev/null @@ -1,65 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::SyntheticsBrowserTestResultShort -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SyntheticsBrowserTestResultShort' do - before do - # run before each test - @instance = DatadogAPIClient::V1::SyntheticsBrowserTestResultShort.new - end - - after do - # run after each test - end - - describe 'test an instance of SyntheticsBrowserTestResultShort' do - it 'should create an instance of SyntheticsBrowserTestResultShort' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::SyntheticsBrowserTestResultShort) - end - end - describe 'test attribute "check_time"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "probe_dc"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "result"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "result_id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "status"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/synthetics_browser_variable_spec.rb b/spec/v1/models/synthetics_browser_variable_spec.rb deleted file mode 100644 index 090a58a296d..00000000000 --- a/spec/v1/models/synthetics_browser_variable_spec.rb +++ /dev/null @@ -1,65 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::SyntheticsBrowserVariable -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SyntheticsBrowserVariable' do - before do - # run before each test - @instance = DatadogAPIClient::V1::SyntheticsBrowserVariable.new - end - - after do - # run after each test - end - - describe 'test an instance of SyntheticsBrowserVariable' do - it 'should create an instance of SyntheticsBrowserVariable' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::SyntheticsBrowserVariable) - end - end - describe 'test attribute "example"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "pattern"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/synthetics_browser_variable_type_spec.rb b/spec/v1/models/synthetics_browser_variable_type_spec.rb deleted file mode 100644 index 921a0fea635..00000000000 --- a/spec/v1/models/synthetics_browser_variable_type_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::SyntheticsBrowserVariableType -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SyntheticsBrowserVariableType' do - before do - # run before each test - @instance = DatadogAPIClient::V1::SyntheticsBrowserVariableType.new - end - - after do - # run after each test - end - - describe 'test an instance of SyntheticsBrowserVariableType' do - it 'should create an instance of SyntheticsBrowserVariableType' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::SyntheticsBrowserVariableType) - end - end -end diff --git a/spec/v1/models/synthetics_check_type_spec.rb b/spec/v1/models/synthetics_check_type_spec.rb deleted file mode 100644 index 86d8467feda..00000000000 --- a/spec/v1/models/synthetics_check_type_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::SyntheticsCheckType -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SyntheticsCheckType' do - before do - # run before each test - @instance = DatadogAPIClient::V1::SyntheticsCheckType.new - end - - after do - # run after each test - end - - describe 'test an instance of SyntheticsCheckType' do - it 'should create an instance of SyntheticsCheckType' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::SyntheticsCheckType) - end - end -end diff --git a/spec/v1/models/synthetics_ci_test_body_spec.rb b/spec/v1/models/synthetics_ci_test_body_spec.rb deleted file mode 100644 index 30406f07878..00000000000 --- a/spec/v1/models/synthetics_ci_test_body_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::SyntheticsCITestBody -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SyntheticsCITestBody' do - before do - # run before each test - @instance = DatadogAPIClient::V1::SyntheticsCITestBody.new - end - - after do - # run after each test - end - - describe 'test an instance of SyntheticsCITestBody' do - it 'should create an instance of SyntheticsCITestBody' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::SyntheticsCITestBody) - end - end - describe 'test attribute "tests"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/synthetics_ci_test_metadata_ci_spec.rb b/spec/v1/models/synthetics_ci_test_metadata_ci_spec.rb deleted file mode 100644 index d83b191740c..00000000000 --- a/spec/v1/models/synthetics_ci_test_metadata_ci_spec.rb +++ /dev/null @@ -1,47 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::SyntheticsCITestMetadataCi -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SyntheticsCITestMetadataCi' do - before do - # run before each test - @instance = DatadogAPIClient::V1::SyntheticsCITestMetadataCi.new - end - - after do - # run after each test - end - - describe 'test an instance of SyntheticsCITestMetadataCi' do - it 'should create an instance of SyntheticsCITestMetadataCi' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::SyntheticsCITestMetadataCi) - end - end - describe 'test attribute "pipeline"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "provider"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/synthetics_ci_test_metadata_git_spec.rb b/spec/v1/models/synthetics_ci_test_metadata_git_spec.rb deleted file mode 100644 index 0bc443ecad2..00000000000 --- a/spec/v1/models/synthetics_ci_test_metadata_git_spec.rb +++ /dev/null @@ -1,47 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::SyntheticsCITestMetadataGit -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SyntheticsCITestMetadataGit' do - before do - # run before each test - @instance = DatadogAPIClient::V1::SyntheticsCITestMetadataGit.new - end - - after do - # run after each test - end - - describe 'test an instance of SyntheticsCITestMetadataGit' do - it 'should create an instance of SyntheticsCITestMetadataGit' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::SyntheticsCITestMetadataGit) - end - end - describe 'test attribute "branch"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "commit_sha"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/synthetics_ci_test_metadata_spec.rb b/spec/v1/models/synthetics_ci_test_metadata_spec.rb deleted file mode 100644 index df1d4fc6512..00000000000 --- a/spec/v1/models/synthetics_ci_test_metadata_spec.rb +++ /dev/null @@ -1,47 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::SyntheticsCITestMetadata -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SyntheticsCITestMetadata' do - before do - # run before each test - @instance = DatadogAPIClient::V1::SyntheticsCITestMetadata.new - end - - after do - # run after each test - end - - describe 'test an instance of SyntheticsCITestMetadata' do - it 'should create an instance of SyntheticsCITestMetadata' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::SyntheticsCITestMetadata) - end - end - describe 'test attribute "ci"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "git"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/synthetics_ci_test_spec.rb b/spec/v1/models/synthetics_ci_test_spec.rb deleted file mode 100644 index bff0f18bed2..00000000000 --- a/spec/v1/models/synthetics_ci_test_spec.rb +++ /dev/null @@ -1,119 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::SyntheticsCITest -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SyntheticsCITest' do - before do - # run before each test - @instance = DatadogAPIClient::V1::SyntheticsCITest.new - end - - after do - # run after each test - end - - describe 'test an instance of SyntheticsCITest' do - it 'should create an instance of SyntheticsCITest' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::SyntheticsCITest) - end - end - describe 'test attribute "allow_insecure_certificates"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "basic_auth"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "body"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "body_type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "cookies"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "device_ids"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "follow_redirects"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "headers"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "locations"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "public_id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "_retry"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "start_url"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "variables"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/synthetics_delete_tests_payload_spec.rb b/spec/v1/models/synthetics_delete_tests_payload_spec.rb deleted file mode 100644 index b2e3ed545e1..00000000000 --- a/spec/v1/models/synthetics_delete_tests_payload_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::SyntheticsDeleteTestsPayload -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SyntheticsDeleteTestsPayload' do - before do - # run before each test - @instance = DatadogAPIClient::V1::SyntheticsDeleteTestsPayload.new - end - - after do - # run after each test - end - - describe 'test an instance of SyntheticsDeleteTestsPayload' do - it 'should create an instance of SyntheticsDeleteTestsPayload' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::SyntheticsDeleteTestsPayload) - end - end - describe 'test attribute "public_ids"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/synthetics_delete_tests_response_deleted_tests_spec.rb b/spec/v1/models/synthetics_delete_tests_response_deleted_tests_spec.rb deleted file mode 100644 index 28499f067f0..00000000000 --- a/spec/v1/models/synthetics_delete_tests_response_deleted_tests_spec.rb +++ /dev/null @@ -1,47 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::SyntheticsDeleteTestsResponseDeletedTests -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SyntheticsDeleteTestsResponseDeletedTests' do - before do - # run before each test - @instance = DatadogAPIClient::V1::SyntheticsDeleteTestsResponseDeletedTests.new - end - - after do - # run after each test - end - - describe 'test an instance of SyntheticsDeleteTestsResponseDeletedTests' do - it 'should create an instance of SyntheticsDeleteTestsResponseDeletedTests' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::SyntheticsDeleteTestsResponseDeletedTests) - end - end - describe 'test attribute "deleted_at"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "public_id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/synthetics_delete_tests_response_spec.rb b/spec/v1/models/synthetics_delete_tests_response_spec.rb deleted file mode 100644 index a7eda38df7f..00000000000 --- a/spec/v1/models/synthetics_delete_tests_response_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::SyntheticsDeleteTestsResponse -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SyntheticsDeleteTestsResponse' do - before do - # run before each test - @instance = DatadogAPIClient::V1::SyntheticsDeleteTestsResponse.new - end - - after do - # run after each test - end - - describe 'test an instance of SyntheticsDeleteTestsResponse' do - it 'should create an instance of SyntheticsDeleteTestsResponse' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::SyntheticsDeleteTestsResponse) - end - end - describe 'test attribute "deleted_tests"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/synthetics_device_id_spec.rb b/spec/v1/models/synthetics_device_id_spec.rb deleted file mode 100644 index 79d9fef758a..00000000000 --- a/spec/v1/models/synthetics_device_id_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::SyntheticsDeviceID -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SyntheticsDeviceID' do - before do - # run before each test - @instance = DatadogAPIClient::V1::SyntheticsDeviceID.new - end - - after do - # run after each test - end - - describe 'test an instance of SyntheticsDeviceID' do - it 'should create an instance of SyntheticsDeviceID' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::SyntheticsDeviceID) - end - end -end diff --git a/spec/v1/models/synthetics_device_spec.rb b/spec/v1/models/synthetics_device_spec.rb deleted file mode 100644 index 2b4b17b4fed..00000000000 --- a/spec/v1/models/synthetics_device_spec.rb +++ /dev/null @@ -1,65 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::SyntheticsDevice -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SyntheticsDevice' do - before do - # run before each test - @instance = DatadogAPIClient::V1::SyntheticsDevice.new - end - - after do - # run after each test - end - - describe 'test an instance of SyntheticsDevice' do - it 'should create an instance of SyntheticsDevice' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::SyntheticsDevice) - end - end - describe 'test attribute "height"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "is_mobile"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "width"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/synthetics_error_code_spec.rb b/spec/v1/models/synthetics_error_code_spec.rb deleted file mode 100644 index 13be5f06ef0..00000000000 --- a/spec/v1/models/synthetics_error_code_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::SyntheticsErrorCode -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SyntheticsErrorCode' do - before do - # run before each test - @instance = DatadogAPIClient::V1::SyntheticsErrorCode.new - end - - after do - # run after each test - end - - describe 'test an instance of SyntheticsErrorCode' do - it 'should create an instance of SyntheticsErrorCode' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::SyntheticsErrorCode) - end - end -end diff --git a/spec/v1/models/synthetics_get_api_test_latest_results_response_spec.rb b/spec/v1/models/synthetics_get_api_test_latest_results_response_spec.rb deleted file mode 100644 index a1aeeeb2a4c..00000000000 --- a/spec/v1/models/synthetics_get_api_test_latest_results_response_spec.rb +++ /dev/null @@ -1,47 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::SyntheticsGetAPITestLatestResultsResponse -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SyntheticsGetAPITestLatestResultsResponse' do - before do - # run before each test - @instance = DatadogAPIClient::V1::SyntheticsGetAPITestLatestResultsResponse.new - end - - after do - # run after each test - end - - describe 'test an instance of SyntheticsGetAPITestLatestResultsResponse' do - it 'should create an instance of SyntheticsGetAPITestLatestResultsResponse' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::SyntheticsGetAPITestLatestResultsResponse) - end - end - describe 'test attribute "last_timestamp_fetched"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "results"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/synthetics_get_browser_test_latest_results_response_spec.rb b/spec/v1/models/synthetics_get_browser_test_latest_results_response_spec.rb deleted file mode 100644 index 9e5240972c0..00000000000 --- a/spec/v1/models/synthetics_get_browser_test_latest_results_response_spec.rb +++ /dev/null @@ -1,47 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::SyntheticsGetBrowserTestLatestResultsResponse -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SyntheticsGetBrowserTestLatestResultsResponse' do - before do - # run before each test - @instance = DatadogAPIClient::V1::SyntheticsGetBrowserTestLatestResultsResponse.new - end - - after do - # run after each test - end - - describe 'test an instance of SyntheticsGetBrowserTestLatestResultsResponse' do - it 'should create an instance of SyntheticsGetBrowserTestLatestResultsResponse' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::SyntheticsGetBrowserTestLatestResultsResponse) - end - end - describe 'test attribute "last_timestamp_fetched"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "results"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/synthetics_global_variable_spec.rb b/spec/v1/models/synthetics_global_variable_spec.rb deleted file mode 100644 index 3573d48c4dc..00000000000 --- a/spec/v1/models/synthetics_global_variable_spec.rb +++ /dev/null @@ -1,65 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::SyntheticsGlobalVariable -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SyntheticsGlobalVariable' do - before do - # run before each test - @instance = DatadogAPIClient::V1::SyntheticsGlobalVariable.new - end - - after do - # run after each test - end - - describe 'test an instance of SyntheticsGlobalVariable' do - it 'should create an instance of SyntheticsGlobalVariable' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::SyntheticsGlobalVariable) - end - end - describe 'test attribute "description"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "tags"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "value"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/synthetics_global_variable_value_spec.rb b/spec/v1/models/synthetics_global_variable_value_spec.rb deleted file mode 100644 index 0af3bc8c62b..00000000000 --- a/spec/v1/models/synthetics_global_variable_value_spec.rb +++ /dev/null @@ -1,47 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::SyntheticsGlobalVariableValue -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SyntheticsGlobalVariableValue' do - before do - # run before each test - @instance = DatadogAPIClient::V1::SyntheticsGlobalVariableValue.new - end - - after do - # run after each test - end - - describe 'test an instance of SyntheticsGlobalVariableValue' do - it 'should create an instance of SyntheticsGlobalVariableValue' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::SyntheticsGlobalVariableValue) - end - end - describe 'test attribute "secure"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "value"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/synthetics_list_tests_response_spec.rb b/spec/v1/models/synthetics_list_tests_response_spec.rb deleted file mode 100644 index 109567d05b5..00000000000 --- a/spec/v1/models/synthetics_list_tests_response_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::SyntheticsListTestsResponse -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SyntheticsListTestsResponse' do - before do - # run before each test - @instance = DatadogAPIClient::V1::SyntheticsListTestsResponse.new - end - - after do - # run after each test - end - - describe 'test an instance of SyntheticsListTestsResponse' do - it 'should create an instance of SyntheticsListTestsResponse' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::SyntheticsListTestsResponse) - end - end - describe 'test attribute "tests"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/synthetics_location_spec.rb b/spec/v1/models/synthetics_location_spec.rb deleted file mode 100644 index 8b49b6efb7a..00000000000 --- a/spec/v1/models/synthetics_location_spec.rb +++ /dev/null @@ -1,47 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::SyntheticsLocation -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SyntheticsLocation' do - before do - # run before each test - @instance = DatadogAPIClient::V1::SyntheticsLocation.new - end - - after do - # run after each test - end - - describe 'test an instance of SyntheticsLocation' do - it 'should create an instance of SyntheticsLocation' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::SyntheticsLocation) - end - end - describe 'test attribute "id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/synthetics_locations_spec.rb b/spec/v1/models/synthetics_locations_spec.rb deleted file mode 100644 index 3bc98bc66f3..00000000000 --- a/spec/v1/models/synthetics_locations_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::SyntheticsLocations -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SyntheticsLocations' do - before do - # run before each test - @instance = DatadogAPIClient::V1::SyntheticsLocations.new - end - - after do - # run after each test - end - - describe 'test an instance of SyntheticsLocations' do - it 'should create an instance of SyntheticsLocations' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::SyntheticsLocations) - end - end - describe 'test attribute "locations"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/synthetics_playing_tab_spec.rb b/spec/v1/models/synthetics_playing_tab_spec.rb deleted file mode 100644 index f24acde7f4c..00000000000 --- a/spec/v1/models/synthetics_playing_tab_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::SyntheticsPlayingTab -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SyntheticsPlayingTab' do - before do - # run before each test - @instance = DatadogAPIClient::V1::SyntheticsPlayingTab.new - end - - after do - # run after each test - end - - describe 'test an instance of SyntheticsPlayingTab' do - it 'should create an instance of SyntheticsPlayingTab' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::SyntheticsPlayingTab) - end - end -end diff --git a/spec/v1/models/synthetics_resource_spec.rb b/spec/v1/models/synthetics_resource_spec.rb deleted file mode 100644 index 18f516f8967..00000000000 --- a/spec/v1/models/synthetics_resource_spec.rb +++ /dev/null @@ -1,83 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::SyntheticsResource -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SyntheticsResource' do - before do - # run before each test - @instance = DatadogAPIClient::V1::SyntheticsResource.new - end - - after do - # run after each test - end - - describe 'test an instance of SyntheticsResource' do - it 'should create an instance of SyntheticsResource' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::SyntheticsResource) - end - end - describe 'test attribute "duration"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "method"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "size"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "status"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "timestamp"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "trace_id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "url"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/synthetics_resource_type_spec.rb b/spec/v1/models/synthetics_resource_type_spec.rb deleted file mode 100644 index 35c17facfe8..00000000000 --- a/spec/v1/models/synthetics_resource_type_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::SyntheticsResourceType -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SyntheticsResourceType' do - before do - # run before each test - @instance = DatadogAPIClient::V1::SyntheticsResourceType.new - end - - after do - # run after each test - end - - describe 'test an instance of SyntheticsResourceType' do - it 'should create an instance of SyntheticsResourceType' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::SyntheticsResourceType) - end - end -end diff --git a/spec/v1/models/synthetics_ssl_certificate_issuer_spec.rb b/spec/v1/models/synthetics_ssl_certificate_issuer_spec.rb deleted file mode 100644 index ae4682d2afb..00000000000 --- a/spec/v1/models/synthetics_ssl_certificate_issuer_spec.rb +++ /dev/null @@ -1,71 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::SyntheticsSSLCertificateIssuer -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SyntheticsSSLCertificateIssuer' do - before do - # run before each test - @instance = DatadogAPIClient::V1::SyntheticsSSLCertificateIssuer.new - end - - after do - # run after each test - end - - describe 'test an instance of SyntheticsSSLCertificateIssuer' do - it 'should create an instance of SyntheticsSSLCertificateIssuer' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::SyntheticsSSLCertificateIssuer) - end - end - describe 'test attribute "c"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "cn"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "l"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "o"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "ou"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "st"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/synthetics_ssl_certificate_spec.rb b/spec/v1/models/synthetics_ssl_certificate_spec.rb deleted file mode 100644 index d808188b460..00000000000 --- a/spec/v1/models/synthetics_ssl_certificate_spec.rb +++ /dev/null @@ -1,107 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::SyntheticsSSLCertificate -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SyntheticsSSLCertificate' do - before do - # run before each test - @instance = DatadogAPIClient::V1::SyntheticsSSLCertificate.new - end - - after do - # run after each test - end - - describe 'test an instance of SyntheticsSSLCertificate' do - it 'should create an instance of SyntheticsSSLCertificate' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::SyntheticsSSLCertificate) - end - end - describe 'test attribute "cipher"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "exponent"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "ext_key_usage"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "fingerprint"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "fingerprint256"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "issuer"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "modulus"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "protocol"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "serial_number"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "subject"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "valid_from"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "valid_to"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/synthetics_ssl_certificate_subject_spec.rb b/spec/v1/models/synthetics_ssl_certificate_subject_spec.rb deleted file mode 100644 index e2892eccd04..00000000000 --- a/spec/v1/models/synthetics_ssl_certificate_subject_spec.rb +++ /dev/null @@ -1,77 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::SyntheticsSSLCertificateSubject -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SyntheticsSSLCertificateSubject' do - before do - # run before each test - @instance = DatadogAPIClient::V1::SyntheticsSSLCertificateSubject.new - end - - after do - # run after each test - end - - describe 'test an instance of SyntheticsSSLCertificateSubject' do - it 'should create an instance of SyntheticsSSLCertificateSubject' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::SyntheticsSSLCertificateSubject) - end - end - describe 'test attribute "c"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "cn"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "l"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "o"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "ou"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "st"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "alt_name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/synthetics_step_detail_spec.rb b/spec/v1/models/synthetics_step_detail_spec.rb deleted file mode 100644 index b4ae70185c7..00000000000 --- a/spec/v1/models/synthetics_step_detail_spec.rb +++ /dev/null @@ -1,137 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::SyntheticsStepDetail -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SyntheticsStepDetail' do - before do - # run before each test - @instance = DatadogAPIClient::V1::SyntheticsStepDetail.new - end - - after do - # run after each test - end - - describe 'test an instance of SyntheticsStepDetail' do - it 'should create an instance of SyntheticsStepDetail' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::SyntheticsStepDetail) - end - end - describe 'test attribute "browser_errors"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "check_type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "description"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "duration"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "error"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "playing_tab"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "resources"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "screenshot_bucket_key"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "skipped"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "snapshot_bucket_key"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "step_id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "sub_test_step_details"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "time_to_interactive"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "url"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "value"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "warnings"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/synthetics_step_detail_warnings_spec.rb b/spec/v1/models/synthetics_step_detail_warnings_spec.rb deleted file mode 100644 index a2a66dd5411..00000000000 --- a/spec/v1/models/synthetics_step_detail_warnings_spec.rb +++ /dev/null @@ -1,47 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::SyntheticsStepDetailWarnings -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SyntheticsStepDetailWarnings' do - before do - # run before each test - @instance = DatadogAPIClient::V1::SyntheticsStepDetailWarnings.new - end - - after do - # run after each test - end - - describe 'test an instance of SyntheticsStepDetailWarnings' do - it 'should create an instance of SyntheticsStepDetailWarnings' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::SyntheticsStepDetailWarnings) - end - end - describe 'test attribute "message"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/synthetics_step_spec.rb b/spec/v1/models/synthetics_step_spec.rb deleted file mode 100644 index a1376ed91ef..00000000000 --- a/spec/v1/models/synthetics_step_spec.rb +++ /dev/null @@ -1,65 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::SyntheticsStep -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SyntheticsStep' do - before do - # run before each test - @instance = DatadogAPIClient::V1::SyntheticsStep.new - end - - after do - # run after each test - end - - describe 'test an instance of SyntheticsStep' do - it 'should create an instance of SyntheticsStep' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::SyntheticsStep) - end - end - describe 'test attribute "allow_failure"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "params"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "timeout"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/synthetics_step_type_spec.rb b/spec/v1/models/synthetics_step_type_spec.rb deleted file mode 100644 index c1df1366e44..00000000000 --- a/spec/v1/models/synthetics_step_type_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::SyntheticsStepType -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SyntheticsStepType' do - before do - # run before each test - @instance = DatadogAPIClient::V1::SyntheticsStepType.new - end - - after do - # run after each test - end - - describe 'test an instance of SyntheticsStepType' do - it 'should create an instance of SyntheticsStepType' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::SyntheticsStepType) - end - end -end diff --git a/spec/v1/models/synthetics_test_config_spec.rb b/spec/v1/models/synthetics_test_config_spec.rb deleted file mode 100644 index f97d7a63783..00000000000 --- a/spec/v1/models/synthetics_test_config_spec.rb +++ /dev/null @@ -1,53 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::SyntheticsTestConfig -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SyntheticsTestConfig' do - before do - # run before each test - @instance = DatadogAPIClient::V1::SyntheticsTestConfig.new - end - - after do - # run after each test - end - - describe 'test an instance of SyntheticsTestConfig' do - it 'should create an instance of SyntheticsTestConfig' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::SyntheticsTestConfig) - end - end - describe 'test attribute "assertions"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "request"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "variables"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/synthetics_test_details_spec.rb b/spec/v1/models/synthetics_test_details_spec.rb deleted file mode 100644 index 0cc4eb3ab85..00000000000 --- a/spec/v1/models/synthetics_test_details_spec.rb +++ /dev/null @@ -1,107 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::SyntheticsTestDetails -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SyntheticsTestDetails' do - before do - # run before each test - @instance = DatadogAPIClient::V1::SyntheticsTestDetails.new - end - - after do - # run after each test - end - - describe 'test an instance of SyntheticsTestDetails' do - it 'should create an instance of SyntheticsTestDetails' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::SyntheticsTestDetails) - end - end - describe 'test attribute "config"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "locations"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "message"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "monitor_id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "options"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "public_id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "status"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "steps"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "subtype"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "tags"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/synthetics_test_details_sub_type_spec.rb b/spec/v1/models/synthetics_test_details_sub_type_spec.rb deleted file mode 100644 index f6d7beeee44..00000000000 --- a/spec/v1/models/synthetics_test_details_sub_type_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::SyntheticsTestDetailsSubType -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SyntheticsTestDetailsSubType' do - before do - # run before each test - @instance = DatadogAPIClient::V1::SyntheticsTestDetailsSubType.new - end - - after do - # run after each test - end - - describe 'test an instance of SyntheticsTestDetailsSubType' do - it 'should create an instance of SyntheticsTestDetailsSubType' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::SyntheticsTestDetailsSubType) - end - end -end diff --git a/spec/v1/models/synthetics_test_details_type_spec.rb b/spec/v1/models/synthetics_test_details_type_spec.rb deleted file mode 100644 index 4e046f4c4d5..00000000000 --- a/spec/v1/models/synthetics_test_details_type_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::SyntheticsTestDetailsType -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SyntheticsTestDetailsType' do - before do - # run before each test - @instance = DatadogAPIClient::V1::SyntheticsTestDetailsType.new - end - - after do - # run after each test - end - - describe 'test an instance of SyntheticsTestDetailsType' do - it 'should create an instance of SyntheticsTestDetailsType' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::SyntheticsTestDetailsType) - end - end -end diff --git a/spec/v1/models/synthetics_test_monitor_status_spec.rb b/spec/v1/models/synthetics_test_monitor_status_spec.rb deleted file mode 100644 index 66b53a16946..00000000000 --- a/spec/v1/models/synthetics_test_monitor_status_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::SyntheticsTestMonitorStatus -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SyntheticsTestMonitorStatus' do - before do - # run before each test - @instance = DatadogAPIClient::V1::SyntheticsTestMonitorStatus.new - end - - after do - # run after each test - end - - describe 'test an instance of SyntheticsTestMonitorStatus' do - it 'should create an instance of SyntheticsTestMonitorStatus' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::SyntheticsTestMonitorStatus) - end - end -end diff --git a/spec/v1/models/synthetics_test_options_monitor_options_spec.rb b/spec/v1/models/synthetics_test_options_monitor_options_spec.rb deleted file mode 100644 index a35154cd60b..00000000000 --- a/spec/v1/models/synthetics_test_options_monitor_options_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::SyntheticsTestOptionsMonitorOptions -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SyntheticsTestOptionsMonitorOptions' do - before do - # run before each test - @instance = DatadogAPIClient::V1::SyntheticsTestOptionsMonitorOptions.new - end - - after do - # run after each test - end - - describe 'test an instance of SyntheticsTestOptionsMonitorOptions' do - it 'should create an instance of SyntheticsTestOptionsMonitorOptions' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::SyntheticsTestOptionsMonitorOptions) - end - end - describe 'test attribute "renotify_interval"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/synthetics_test_options_retry_spec.rb b/spec/v1/models/synthetics_test_options_retry_spec.rb deleted file mode 100644 index cb89b83e8a0..00000000000 --- a/spec/v1/models/synthetics_test_options_retry_spec.rb +++ /dev/null @@ -1,47 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::SyntheticsTestOptionsRetry -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SyntheticsTestOptionsRetry' do - before do - # run before each test - @instance = DatadogAPIClient::V1::SyntheticsTestOptionsRetry.new - end - - after do - # run after each test - end - - describe 'test an instance of SyntheticsTestOptionsRetry' do - it 'should create an instance of SyntheticsTestOptionsRetry' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::SyntheticsTestOptionsRetry) - end - end - describe 'test attribute "count"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "interval"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/synthetics_test_options_spec.rb b/spec/v1/models/synthetics_test_options_spec.rb deleted file mode 100644 index 170ac781cac..00000000000 --- a/spec/v1/models/synthetics_test_options_spec.rb +++ /dev/null @@ -1,89 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::SyntheticsTestOptions -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SyntheticsTestOptions' do - before do - # run before each test - @instance = DatadogAPIClient::V1::SyntheticsTestOptions.new - end - - after do - # run after each test - end - - describe 'test an instance of SyntheticsTestOptions' do - it 'should create an instance of SyntheticsTestOptions' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::SyntheticsTestOptions) - end - end - describe 'test attribute "accept_self_signed"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "allow_insecure"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "device_ids"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "follow_redirects"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "min_failure_duration"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "min_location_failed"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "monitor_options"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "_retry"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "tick_every"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/synthetics_test_pause_status_spec.rb b/spec/v1/models/synthetics_test_pause_status_spec.rb deleted file mode 100644 index 4e44edc0db8..00000000000 --- a/spec/v1/models/synthetics_test_pause_status_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::SyntheticsTestPauseStatus -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SyntheticsTestPauseStatus' do - before do - # run before each test - @instance = DatadogAPIClient::V1::SyntheticsTestPauseStatus.new - end - - after do - # run after each test - end - - describe 'test an instance of SyntheticsTestPauseStatus' do - it 'should create an instance of SyntheticsTestPauseStatus' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::SyntheticsTestPauseStatus) - end - end -end diff --git a/spec/v1/models/synthetics_test_process_status_spec.rb b/spec/v1/models/synthetics_test_process_status_spec.rb deleted file mode 100644 index aba8f89acee..00000000000 --- a/spec/v1/models/synthetics_test_process_status_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::SyntheticsTestProcessStatus -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SyntheticsTestProcessStatus' do - before do - # run before each test - @instance = DatadogAPIClient::V1::SyntheticsTestProcessStatus.new - end - - after do - # run after each test - end - - describe 'test an instance of SyntheticsTestProcessStatus' do - it 'should create an instance of SyntheticsTestProcessStatus' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::SyntheticsTestProcessStatus) - end - end -end diff --git a/spec/v1/models/synthetics_test_request_spec.rb b/spec/v1/models/synthetics_test_request_spec.rb deleted file mode 100644 index e93f7111c6a..00000000000 --- a/spec/v1/models/synthetics_test_request_spec.rb +++ /dev/null @@ -1,89 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::SyntheticsTestRequest -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SyntheticsTestRequest' do - before do - # run before each test - @instance = DatadogAPIClient::V1::SyntheticsTestRequest.new - end - - after do - # run after each test - end - - describe 'test an instance of SyntheticsTestRequest' do - it 'should create an instance of SyntheticsTestRequest' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::SyntheticsTestRequest) - end - end - describe 'test attribute "basic_auth"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "body"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "headers"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "host"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "method"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "port"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "query"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "timeout"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "url"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/synthetics_tick_interval_spec.rb b/spec/v1/models/synthetics_tick_interval_spec.rb deleted file mode 100644 index 7e9e1794bd1..00000000000 --- a/spec/v1/models/synthetics_tick_interval_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::SyntheticsTickInterval -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SyntheticsTickInterval' do - before do - # run before each test - @instance = DatadogAPIClient::V1::SyntheticsTickInterval.new - end - - after do - # run after each test - end - - describe 'test an instance of SyntheticsTickInterval' do - it 'should create an instance of SyntheticsTickInterval' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::SyntheticsTickInterval) - end - end -end diff --git a/spec/v1/models/synthetics_timing_spec.rb b/spec/v1/models/synthetics_timing_spec.rb deleted file mode 100644 index 1a1ba4891a8..00000000000 --- a/spec/v1/models/synthetics_timing_spec.rb +++ /dev/null @@ -1,89 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::SyntheticsTiming -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SyntheticsTiming' do - before do - # run before each test - @instance = DatadogAPIClient::V1::SyntheticsTiming.new - end - - after do - # run after each test - end - - describe 'test an instance of SyntheticsTiming' do - it 'should create an instance of SyntheticsTiming' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::SyntheticsTiming) - end - end - describe 'test attribute "dns"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "download"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "first_byte"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "handshake"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "redirect"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "ssl"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "tcp"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "total"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "wait"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/synthetics_trigger_ci_tests_response_locations_spec.rb b/spec/v1/models/synthetics_trigger_ci_tests_response_locations_spec.rb deleted file mode 100644 index ab9393313aa..00000000000 --- a/spec/v1/models/synthetics_trigger_ci_tests_response_locations_spec.rb +++ /dev/null @@ -1,47 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::SyntheticsTriggerCITestsResponseLocations -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SyntheticsTriggerCITestsResponseLocations' do - before do - # run before each test - @instance = DatadogAPIClient::V1::SyntheticsTriggerCITestsResponseLocations.new - end - - after do - # run after each test - end - - describe 'test an instance of SyntheticsTriggerCITestsResponseLocations' do - it 'should create an instance of SyntheticsTriggerCITestsResponseLocations' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::SyntheticsTriggerCITestsResponseLocations) - end - end - describe 'test attribute "id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/synthetics_trigger_ci_tests_response_results_spec.rb b/spec/v1/models/synthetics_trigger_ci_tests_response_results_spec.rb deleted file mode 100644 index 33ffad356e6..00000000000 --- a/spec/v1/models/synthetics_trigger_ci_tests_response_results_spec.rb +++ /dev/null @@ -1,59 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::SyntheticsTriggerCITestsResponseResults -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SyntheticsTriggerCITestsResponseResults' do - before do - # run before each test - @instance = DatadogAPIClient::V1::SyntheticsTriggerCITestsResponseResults.new - end - - after do - # run after each test - end - - describe 'test an instance of SyntheticsTriggerCITestsResponseResults' do - it 'should create an instance of SyntheticsTriggerCITestsResponseResults' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::SyntheticsTriggerCITestsResponseResults) - end - end - describe 'test attribute "device"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "location"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "public_id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "result_id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/synthetics_trigger_ci_tests_response_spec.rb b/spec/v1/models/synthetics_trigger_ci_tests_response_spec.rb deleted file mode 100644 index 9e4c6fd1232..00000000000 --- a/spec/v1/models/synthetics_trigger_ci_tests_response_spec.rb +++ /dev/null @@ -1,53 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::SyntheticsTriggerCITestsResponse -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SyntheticsTriggerCITestsResponse' do - before do - # run before each test - @instance = DatadogAPIClient::V1::SyntheticsTriggerCITestsResponse.new - end - - after do - # run after each test - end - - describe 'test an instance of SyntheticsTriggerCITestsResponse' do - it 'should create an instance of SyntheticsTriggerCITestsResponse' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::SyntheticsTriggerCITestsResponse) - end - end - describe 'test attribute "locations"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "results"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "triggered_check_ids"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/synthetics_update_test_pause_status_payload_spec.rb b/spec/v1/models/synthetics_update_test_pause_status_payload_spec.rb deleted file mode 100644 index cc6506007c2..00000000000 --- a/spec/v1/models/synthetics_update_test_pause_status_payload_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::SyntheticsUpdateTestPauseStatusPayload -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SyntheticsUpdateTestPauseStatusPayload' do - before do - # run before each test - @instance = DatadogAPIClient::V1::SyntheticsUpdateTestPauseStatusPayload.new - end - - after do - # run after each test - end - - describe 'test an instance of SyntheticsUpdateTestPauseStatusPayload' do - it 'should create an instance of SyntheticsUpdateTestPauseStatusPayload' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::SyntheticsUpdateTestPauseStatusPayload) - end - end - describe 'test attribute "new_status"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/synthetics_warning_type_spec.rb b/spec/v1/models/synthetics_warning_type_spec.rb deleted file mode 100644 index 39555defec9..00000000000 --- a/spec/v1/models/synthetics_warning_type_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::SyntheticsWarningType -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SyntheticsWarningType' do - before do - # run before each test - @instance = DatadogAPIClient::V1::SyntheticsWarningType.new - end - - after do - # run after each test - end - - describe 'test an instance of SyntheticsWarningType' do - it 'should create an instance of SyntheticsWarningType' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::SyntheticsWarningType) - end - end -end diff --git a/spec/v1/models/table_widget_definition_spec.rb b/spec/v1/models/table_widget_definition_spec.rb deleted file mode 100644 index 79f1b125b39..00000000000 --- a/spec/v1/models/table_widget_definition_spec.rb +++ /dev/null @@ -1,77 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::TableWidgetDefinition -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'TableWidgetDefinition' do - before do - # run before each test - @instance = DatadogAPIClient::V1::TableWidgetDefinition.new - end - - after do - # run after each test - end - - describe 'test an instance of TableWidgetDefinition' do - it 'should create an instance of TableWidgetDefinition' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::TableWidgetDefinition) - end - end - describe 'test attribute "custom_links"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "requests"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "time"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "title"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "title_align"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "title_size"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/table_widget_definition_type_spec.rb b/spec/v1/models/table_widget_definition_type_spec.rb deleted file mode 100644 index d03eb26db81..00000000000 --- a/spec/v1/models/table_widget_definition_type_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::TableWidgetDefinitionType -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'TableWidgetDefinitionType' do - before do - # run before each test - @instance = DatadogAPIClient::V1::TableWidgetDefinitionType.new - end - - after do - # run after each test - end - - describe 'test an instance of TableWidgetDefinitionType' do - it 'should create an instance of TableWidgetDefinitionType' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::TableWidgetDefinitionType) - end - end -end diff --git a/spec/v1/models/table_widget_request_spec.rb b/spec/v1/models/table_widget_request_spec.rb deleted file mode 100644 index f6b5cb85995..00000000000 --- a/spec/v1/models/table_widget_request_spec.rb +++ /dev/null @@ -1,119 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::TableWidgetRequest -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'TableWidgetRequest' do - before do - # run before each test - @instance = DatadogAPIClient::V1::TableWidgetRequest.new - end - - after do - # run after each test - end - - describe 'test an instance of TableWidgetRequest' do - it 'should create an instance of TableWidgetRequest' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::TableWidgetRequest) - end - end - describe 'test attribute "aggregator"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "_alias"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "apm_query"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "apm_resources_query"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "conditional_formats"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "event_query"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "limit"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "log_query"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "network_query"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "order"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "process_query"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "q"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "rum_query"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "security_query"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/tag_to_hosts_spec.rb b/spec/v1/models/tag_to_hosts_spec.rb deleted file mode 100644 index 650cf0ee489..00000000000 --- a/spec/v1/models/tag_to_hosts_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::TagToHosts -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'TagToHosts' do - before do - # run before each test - @instance = DatadogAPIClient::V1::TagToHosts.new - end - - after do - # run after each test - end - - describe 'test an instance of TagToHosts' do - it 'should create an instance of TagToHosts' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::TagToHosts) - end - end - describe 'test attribute "tags"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/timeseries_widget_definition_spec.rb b/spec/v1/models/timeseries_widget_definition_spec.rb deleted file mode 100644 index c5434bee763..00000000000 --- a/spec/v1/models/timeseries_widget_definition_spec.rb +++ /dev/null @@ -1,107 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::TimeseriesWidgetDefinition -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'TimeseriesWidgetDefinition' do - before do - # run before each test - @instance = DatadogAPIClient::V1::TimeseriesWidgetDefinition.new - end - - after do - # run after each test - end - - describe 'test an instance of TimeseriesWidgetDefinition' do - it 'should create an instance of TimeseriesWidgetDefinition' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::TimeseriesWidgetDefinition) - end - end - describe 'test attribute "custom_links"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "events"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "legend_size"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "markers"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "requests"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "show_legend"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "time"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "title"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "title_align"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "title_size"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "yaxis"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/timeseries_widget_definition_type_spec.rb b/spec/v1/models/timeseries_widget_definition_type_spec.rb deleted file mode 100644 index aed8752bb51..00000000000 --- a/spec/v1/models/timeseries_widget_definition_type_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::TimeseriesWidgetDefinitionType -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'TimeseriesWidgetDefinitionType' do - before do - # run before each test - @instance = DatadogAPIClient::V1::TimeseriesWidgetDefinitionType.new - end - - after do - # run after each test - end - - describe 'test an instance of TimeseriesWidgetDefinitionType' do - it 'should create an instance of TimeseriesWidgetDefinitionType' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::TimeseriesWidgetDefinitionType) - end - end -end diff --git a/spec/v1/models/timeseries_widget_request_metadata_spec.rb b/spec/v1/models/timeseries_widget_request_metadata_spec.rb deleted file mode 100644 index d69ba6d859e..00000000000 --- a/spec/v1/models/timeseries_widget_request_metadata_spec.rb +++ /dev/null @@ -1,47 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::TimeseriesWidgetRequestMetadata -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'TimeseriesWidgetRequestMetadata' do - before do - # run before each test - @instance = DatadogAPIClient::V1::TimeseriesWidgetRequestMetadata.new - end - - after do - # run after each test - end - - describe 'test an instance of TimeseriesWidgetRequestMetadata' do - it 'should create an instance of TimeseriesWidgetRequestMetadata' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::TimeseriesWidgetRequestMetadata) - end - end - describe 'test attribute "alias_name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "expression"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/timeseries_widget_request_spec.rb b/spec/v1/models/timeseries_widget_request_spec.rb deleted file mode 100644 index bb127b722a3..00000000000 --- a/spec/v1/models/timeseries_widget_request_spec.rb +++ /dev/null @@ -1,101 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::TimeseriesWidgetRequest -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'TimeseriesWidgetRequest' do - before do - # run before each test - @instance = DatadogAPIClient::V1::TimeseriesWidgetRequest.new - end - - after do - # run after each test - end - - describe 'test an instance of TimeseriesWidgetRequest' do - it 'should create an instance of TimeseriesWidgetRequest' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::TimeseriesWidgetRequest) - end - end - describe 'test attribute "apm_query"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "display_type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "event_query"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "log_query"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "network_query"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "process_query"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "q"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "rum_query"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "security_query"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "style"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/toplist_widget_definition_spec.rb b/spec/v1/models/toplist_widget_definition_spec.rb deleted file mode 100644 index 980b5604e86..00000000000 --- a/spec/v1/models/toplist_widget_definition_spec.rb +++ /dev/null @@ -1,77 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::ToplistWidgetDefinition -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'ToplistWidgetDefinition' do - before do - # run before each test - @instance = DatadogAPIClient::V1::ToplistWidgetDefinition.new - end - - after do - # run after each test - end - - describe 'test an instance of ToplistWidgetDefinition' do - it 'should create an instance of ToplistWidgetDefinition' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::ToplistWidgetDefinition) - end - end - describe 'test attribute "custom_links"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "requests"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "time"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "title"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "title_align"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "title_size"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/toplist_widget_definition_type_spec.rb b/spec/v1/models/toplist_widget_definition_type_spec.rb deleted file mode 100644 index c0d01cd5090..00000000000 --- a/spec/v1/models/toplist_widget_definition_type_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::ToplistWidgetDefinitionType -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'ToplistWidgetDefinitionType' do - before do - # run before each test - @instance = DatadogAPIClient::V1::ToplistWidgetDefinitionType.new - end - - after do - # run after each test - end - - describe 'test an instance of ToplistWidgetDefinitionType' do - it 'should create an instance of ToplistWidgetDefinitionType' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::ToplistWidgetDefinitionType) - end - end -end diff --git a/spec/v1/models/toplist_widget_request_spec.rb b/spec/v1/models/toplist_widget_request_spec.rb deleted file mode 100644 index 932f5ae1031..00000000000 --- a/spec/v1/models/toplist_widget_request_spec.rb +++ /dev/null @@ -1,95 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::ToplistWidgetRequest -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'ToplistWidgetRequest' do - before do - # run before each test - @instance = DatadogAPIClient::V1::ToplistWidgetRequest.new - end - - after do - # run after each test - end - - describe 'test an instance of ToplistWidgetRequest' do - it 'should create an instance of ToplistWidgetRequest' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::ToplistWidgetRequest) - end - end - describe 'test attribute "apm_query"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "conditional_formats"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "event_query"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "log_query"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "network_query"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "process_query"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "q"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "rum_query"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "security_query"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "style"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/usage_analyzed_logs_hour_spec.rb b/spec/v1/models/usage_analyzed_logs_hour_spec.rb deleted file mode 100644 index 5ec442fe7e4..00000000000 --- a/spec/v1/models/usage_analyzed_logs_hour_spec.rb +++ /dev/null @@ -1,47 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::UsageAnalyzedLogsHour -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'UsageAnalyzedLogsHour' do - before do - # run before each test - @instance = DatadogAPIClient::V1::UsageAnalyzedLogsHour.new - end - - after do - # run after each test - end - - describe 'test an instance of UsageAnalyzedLogsHour' do - it 'should create an instance of UsageAnalyzedLogsHour' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::UsageAnalyzedLogsHour) - end - end - describe 'test attribute "analyzed_logs"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "hour"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/usage_analyzed_logs_response_spec.rb b/spec/v1/models/usage_analyzed_logs_response_spec.rb deleted file mode 100644 index e09bc50fa16..00000000000 --- a/spec/v1/models/usage_analyzed_logs_response_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::UsageAnalyzedLogsResponse -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'UsageAnalyzedLogsResponse' do - before do - # run before each test - @instance = DatadogAPIClient::V1::UsageAnalyzedLogsResponse.new - end - - after do - # run after each test - end - - describe 'test an instance of UsageAnalyzedLogsResponse' do - it 'should create an instance of UsageAnalyzedLogsResponse' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::UsageAnalyzedLogsResponse) - end - end - describe 'test attribute "usage"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/usage_billable_summary_body_spec.rb b/spec/v1/models/usage_billable_summary_body_spec.rb deleted file mode 100644 index d74100a8976..00000000000 --- a/spec/v1/models/usage_billable_summary_body_spec.rb +++ /dev/null @@ -1,77 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::UsageBillableSummaryBody -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'UsageBillableSummaryBody' do - before do - # run before each test - @instance = DatadogAPIClient::V1::UsageBillableSummaryBody.new - end - - after do - # run after each test - end - - describe 'test an instance of UsageBillableSummaryBody' do - it 'should create an instance of UsageBillableSummaryBody' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::UsageBillableSummaryBody) - end - end - describe 'test attribute "account_billable_usage"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "elapsed_usage_hours"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "first_billable_usage_hour"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "last_billable_usage_hour"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "org_billable_usage"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "percentage_in_account"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "usage_unit"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/usage_billable_summary_hour_spec.rb b/spec/v1/models/usage_billable_summary_hour_spec.rb deleted file mode 100644 index 7d7ef94e02f..00000000000 --- a/spec/v1/models/usage_billable_summary_hour_spec.rb +++ /dev/null @@ -1,83 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::UsageBillableSummaryHour -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'UsageBillableSummaryHour' do - before do - # run before each test - @instance = DatadogAPIClient::V1::UsageBillableSummaryHour.new - end - - after do - # run after each test - end - - describe 'test an instance of UsageBillableSummaryHour' do - it 'should create an instance of UsageBillableSummaryHour' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::UsageBillableSummaryHour) - end - end - describe 'test attribute "billing_plan"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "end_date"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "num_orgs"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "org_name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "public_id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "ratio_in_month"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "start_date"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "usage"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/usage_billable_summary_keys_spec.rb b/spec/v1/models/usage_billable_summary_keys_spec.rb deleted file mode 100644 index 94b377cb3cc..00000000000 --- a/spec/v1/models/usage_billable_summary_keys_spec.rb +++ /dev/null @@ -1,143 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::UsageBillableSummaryKeys -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'UsageBillableSummaryKeys' do - before do - # run before each test - @instance = DatadogAPIClient::V1::UsageBillableSummaryKeys.new - end - - after do - # run after each test - end - - describe 'test an instance of UsageBillableSummaryKeys' do - it 'should create an instance of UsageBillableSummaryKeys' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::UsageBillableSummaryKeys) - end - end - describe 'test attribute "apm_host_sum"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "apm_host_top99p"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "apm_trace_search_sum"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "fargate_container_average"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "infra_container_sum"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "infra_host_sum"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "infra_host_top99p"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "iot_top99p"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "lambda_function_average"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "logs_indexed_sum"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "logs_ingested_sum"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "npm_flow_sum"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "npm_host_top99p"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "rum_sum"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "siem_sum"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "synthetics_api_tests_sum"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "synthetics_browser_checks_sum"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "timeseries_average"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/usage_billable_summary_response_spec.rb b/spec/v1/models/usage_billable_summary_response_spec.rb deleted file mode 100644 index b26f98c221a..00000000000 --- a/spec/v1/models/usage_billable_summary_response_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::UsageBillableSummaryResponse -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'UsageBillableSummaryResponse' do - before do - # run before each test - @instance = DatadogAPIClient::V1::UsageBillableSummaryResponse.new - end - - after do - # run after each test - end - - describe 'test an instance of UsageBillableSummaryResponse' do - it 'should create an instance of UsageBillableSummaryResponse' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::UsageBillableSummaryResponse) - end - end - describe 'test attribute "usage"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/usage_custom_reports_attributes_spec.rb b/spec/v1/models/usage_custom_reports_attributes_spec.rb deleted file mode 100644 index 2f12fa22562..00000000000 --- a/spec/v1/models/usage_custom_reports_attributes_spec.rb +++ /dev/null @@ -1,65 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::UsageCustomReportsAttributes -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'UsageCustomReportsAttributes' do - before do - # run before each test - @instance = DatadogAPIClient::V1::UsageCustomReportsAttributes.new - end - - after do - # run after each test - end - - describe 'test an instance of UsageCustomReportsAttributes' do - it 'should create an instance of UsageCustomReportsAttributes' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::UsageCustomReportsAttributes) - end - end - describe 'test attribute "computed_on"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "end_date"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "size"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "start_date"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "tags"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/usage_custom_reports_data_spec.rb b/spec/v1/models/usage_custom_reports_data_spec.rb deleted file mode 100644 index e808cfe7917..00000000000 --- a/spec/v1/models/usage_custom_reports_data_spec.rb +++ /dev/null @@ -1,53 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::UsageCustomReportsData -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'UsageCustomReportsData' do - before do - # run before each test - @instance = DatadogAPIClient::V1::UsageCustomReportsData.new - end - - after do - # run after each test - end - - describe 'test an instance of UsageCustomReportsData' do - it 'should create an instance of UsageCustomReportsData' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::UsageCustomReportsData) - end - end - describe 'test attribute "attributes"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/usage_custom_reports_meta_spec.rb b/spec/v1/models/usage_custom_reports_meta_spec.rb deleted file mode 100644 index d67e319b6a7..00000000000 --- a/spec/v1/models/usage_custom_reports_meta_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::UsageCustomReportsMeta -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'UsageCustomReportsMeta' do - before do - # run before each test - @instance = DatadogAPIClient::V1::UsageCustomReportsMeta.new - end - - after do - # run after each test - end - - describe 'test an instance of UsageCustomReportsMeta' do - it 'should create an instance of UsageCustomReportsMeta' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::UsageCustomReportsMeta) - end - end - describe 'test attribute "page"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/usage_custom_reports_page_spec.rb b/spec/v1/models/usage_custom_reports_page_spec.rb deleted file mode 100644 index 17ba65d35c8..00000000000 --- a/spec/v1/models/usage_custom_reports_page_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::UsageCustomReportsPage -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'UsageCustomReportsPage' do - before do - # run before each test - @instance = DatadogAPIClient::V1::UsageCustomReportsPage.new - end - - after do - # run after each test - end - - describe 'test an instance of UsageCustomReportsPage' do - it 'should create an instance of UsageCustomReportsPage' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::UsageCustomReportsPage) - end - end - describe 'test attribute "total_count"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/usage_custom_reports_response_spec.rb b/spec/v1/models/usage_custom_reports_response_spec.rb deleted file mode 100644 index e7e30b9e710..00000000000 --- a/spec/v1/models/usage_custom_reports_response_spec.rb +++ /dev/null @@ -1,47 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::UsageCustomReportsResponse -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'UsageCustomReportsResponse' do - before do - # run before each test - @instance = DatadogAPIClient::V1::UsageCustomReportsResponse.new - end - - after do - # run after each test - end - - describe 'test an instance of UsageCustomReportsResponse' do - it 'should create an instance of UsageCustomReportsResponse' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::UsageCustomReportsResponse) - end - end - describe 'test attribute "data"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "meta"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/usage_fargate_hour_spec.rb b/spec/v1/models/usage_fargate_hour_spec.rb deleted file mode 100644 index 94cd4290e84..00000000000 --- a/spec/v1/models/usage_fargate_hour_spec.rb +++ /dev/null @@ -1,47 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::UsageFargateHour -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'UsageFargateHour' do - before do - # run before each test - @instance = DatadogAPIClient::V1::UsageFargateHour.new - end - - after do - # run after each test - end - - describe 'test an instance of UsageFargateHour' do - it 'should create an instance of UsageFargateHour' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::UsageFargateHour) - end - end - describe 'test attribute "hour"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "tasks_count"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/usage_fargate_response_spec.rb b/spec/v1/models/usage_fargate_response_spec.rb deleted file mode 100644 index 410c8796d22..00000000000 --- a/spec/v1/models/usage_fargate_response_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::UsageFargateResponse -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'UsageFargateResponse' do - before do - # run before each test - @instance = DatadogAPIClient::V1::UsageFargateResponse.new - end - - after do - # run after each test - end - - describe 'test an instance of UsageFargateResponse' do - it 'should create an instance of UsageFargateResponse' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::UsageFargateResponse) - end - end - describe 'test attribute "usage"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/usage_host_hour_spec.rb b/spec/v1/models/usage_host_hour_spec.rb deleted file mode 100644 index 025100a5b92..00000000000 --- a/spec/v1/models/usage_host_hour_spec.rb +++ /dev/null @@ -1,89 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::UsageHostHour -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'UsageHostHour' do - before do - # run before each test - @instance = DatadogAPIClient::V1::UsageHostHour.new - end - - after do - # run after each test - end - - describe 'test an instance of UsageHostHour' do - it 'should create an instance of UsageHostHour' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::UsageHostHour) - end - end - describe 'test attribute "agent_host_count"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "alibaba_host_count"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "apm_host_count"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "aws_host_count"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "azure_host_count"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "container_count"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "gcp_host_count"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "host_count"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "hour"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/usage_hosts_response_spec.rb b/spec/v1/models/usage_hosts_response_spec.rb deleted file mode 100644 index 39d6b5210d5..00000000000 --- a/spec/v1/models/usage_hosts_response_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::UsageHostsResponse -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'UsageHostsResponse' do - before do - # run before each test - @instance = DatadogAPIClient::V1::UsageHostsResponse.new - end - - after do - # run after each test - end - - describe 'test an instance of UsageHostsResponse' do - it 'should create an instance of UsageHostsResponse' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::UsageHostsResponse) - end - end - describe 'test attribute "usage"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/usage_lambda_hour_spec.rb b/spec/v1/models/usage_lambda_hour_spec.rb deleted file mode 100644 index 7e91fb458ae..00000000000 --- a/spec/v1/models/usage_lambda_hour_spec.rb +++ /dev/null @@ -1,53 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::UsageLambdaHour -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'UsageLambdaHour' do - before do - # run before each test - @instance = DatadogAPIClient::V1::UsageLambdaHour.new - end - - after do - # run after each test - end - - describe 'test an instance of UsageLambdaHour' do - it 'should create an instance of UsageLambdaHour' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::UsageLambdaHour) - end - end - describe 'test attribute "func_count"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "hour"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "invocations_sum"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/usage_lambda_response_spec.rb b/spec/v1/models/usage_lambda_response_spec.rb deleted file mode 100644 index 2255ab69ffa..00000000000 --- a/spec/v1/models/usage_lambda_response_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::UsageLambdaResponse -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'UsageLambdaResponse' do - before do - # run before each test - @instance = DatadogAPIClient::V1::UsageLambdaResponse.new - end - - after do - # run after each test - end - - describe 'test an instance of UsageLambdaResponse' do - it 'should create an instance of UsageLambdaResponse' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::UsageLambdaResponse) - end - end - describe 'test attribute "usage"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/usage_logs_by_index_hour_spec.rb b/spec/v1/models/usage_logs_by_index_hour_spec.rb deleted file mode 100644 index df1f1154455..00000000000 --- a/spec/v1/models/usage_logs_by_index_hour_spec.rb +++ /dev/null @@ -1,65 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::UsageLogsByIndexHour -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'UsageLogsByIndexHour' do - before do - # run before each test - @instance = DatadogAPIClient::V1::UsageLogsByIndexHour.new - end - - after do - # run after each test - end - - describe 'test an instance of UsageLogsByIndexHour' do - it 'should create an instance of UsageLogsByIndexHour' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::UsageLogsByIndexHour) - end - end - describe 'test attribute "event_count"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "hour"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "index_id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "index_name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "retention"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/usage_logs_by_index_response_spec.rb b/spec/v1/models/usage_logs_by_index_response_spec.rb deleted file mode 100644 index cbd1d64492c..00000000000 --- a/spec/v1/models/usage_logs_by_index_response_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::UsageLogsByIndexResponse -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'UsageLogsByIndexResponse' do - before do - # run before each test - @instance = DatadogAPIClient::V1::UsageLogsByIndexResponse.new - end - - after do - # run after each test - end - - describe 'test an instance of UsageLogsByIndexResponse' do - it 'should create an instance of UsageLogsByIndexResponse' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::UsageLogsByIndexResponse) - end - end - describe 'test attribute "usage"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/usage_logs_hour_spec.rb b/spec/v1/models/usage_logs_hour_spec.rb deleted file mode 100644 index 3979214bdac..00000000000 --- a/spec/v1/models/usage_logs_hour_spec.rb +++ /dev/null @@ -1,59 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::UsageLogsHour -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'UsageLogsHour' do - before do - # run before each test - @instance = DatadogAPIClient::V1::UsageLogsHour.new - end - - after do - # run after each test - end - - describe 'test an instance of UsageLogsHour' do - it 'should create an instance of UsageLogsHour' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::UsageLogsHour) - end - end - describe 'test attribute "billable_ingested_bytes"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "hour"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "indexed_events_count"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "ingested_events_bytes"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/usage_logs_response_spec.rb b/spec/v1/models/usage_logs_response_spec.rb deleted file mode 100644 index b8d6109c123..00000000000 --- a/spec/v1/models/usage_logs_response_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::UsageLogsResponse -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'UsageLogsResponse' do - before do - # run before each test - @instance = DatadogAPIClient::V1::UsageLogsResponse.new - end - - after do - # run after each test - end - - describe 'test an instance of UsageLogsResponse' do - it 'should create an instance of UsageLogsResponse' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::UsageLogsResponse) - end - end - describe 'test attribute "usage"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/usage_metric_category_spec.rb b/spec/v1/models/usage_metric_category_spec.rb deleted file mode 100644 index 505a1b1da07..00000000000 --- a/spec/v1/models/usage_metric_category_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::UsageMetricCategory -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'UsageMetricCategory' do - before do - # run before each test - @instance = DatadogAPIClient::V1::UsageMetricCategory.new - end - - after do - # run after each test - end - - describe 'test an instance of UsageMetricCategory' do - it 'should create an instance of UsageMetricCategory' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::UsageMetricCategory) - end - end -end diff --git a/spec/v1/models/usage_network_flows_hour_spec.rb b/spec/v1/models/usage_network_flows_hour_spec.rb deleted file mode 100644 index 2c06dab637e..00000000000 --- a/spec/v1/models/usage_network_flows_hour_spec.rb +++ /dev/null @@ -1,47 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::UsageNetworkFlowsHour -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'UsageNetworkFlowsHour' do - before do - # run before each test - @instance = DatadogAPIClient::V1::UsageNetworkFlowsHour.new - end - - after do - # run after each test - end - - describe 'test an instance of UsageNetworkFlowsHour' do - it 'should create an instance of UsageNetworkFlowsHour' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::UsageNetworkFlowsHour) - end - end - describe 'test attribute "hour"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "indexed_event_count"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/usage_network_flows_response_spec.rb b/spec/v1/models/usage_network_flows_response_spec.rb deleted file mode 100644 index 26f8a26af73..00000000000 --- a/spec/v1/models/usage_network_flows_response_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::UsageNetworkFlowsResponse -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'UsageNetworkFlowsResponse' do - before do - # run before each test - @instance = DatadogAPIClient::V1::UsageNetworkFlowsResponse.new - end - - after do - # run after each test - end - - describe 'test an instance of UsageNetworkFlowsResponse' do - it 'should create an instance of UsageNetworkFlowsResponse' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::UsageNetworkFlowsResponse) - end - end - describe 'test attribute "usage"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/usage_network_hosts_hour_spec.rb b/spec/v1/models/usage_network_hosts_hour_spec.rb deleted file mode 100644 index 882289db993..00000000000 --- a/spec/v1/models/usage_network_hosts_hour_spec.rb +++ /dev/null @@ -1,47 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::UsageNetworkHostsHour -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'UsageNetworkHostsHour' do - before do - # run before each test - @instance = DatadogAPIClient::V1::UsageNetworkHostsHour.new - end - - after do - # run after each test - end - - describe 'test an instance of UsageNetworkHostsHour' do - it 'should create an instance of UsageNetworkHostsHour' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::UsageNetworkHostsHour) - end - end - describe 'test attribute "host_count"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "hour"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/usage_network_hosts_response_spec.rb b/spec/v1/models/usage_network_hosts_response_spec.rb deleted file mode 100644 index fd237619a97..00000000000 --- a/spec/v1/models/usage_network_hosts_response_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::UsageNetworkHostsResponse -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'UsageNetworkHostsResponse' do - before do - # run before each test - @instance = DatadogAPIClient::V1::UsageNetworkHostsResponse.new - end - - after do - # run after each test - end - - describe 'test an instance of UsageNetworkHostsResponse' do - it 'should create an instance of UsageNetworkHostsResponse' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::UsageNetworkHostsResponse) - end - end - describe 'test attribute "usage"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/usage_profiling_hour_spec.rb b/spec/v1/models/usage_profiling_hour_spec.rb deleted file mode 100644 index 9a2ff70bfc2..00000000000 --- a/spec/v1/models/usage_profiling_hour_spec.rb +++ /dev/null @@ -1,53 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::UsageProfilingHour -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'UsageProfilingHour' do - before do - # run before each test - @instance = DatadogAPIClient::V1::UsageProfilingHour.new - end - - after do - # run after each test - end - - describe 'test an instance of UsageProfilingHour' do - it 'should create an instance of UsageProfilingHour' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::UsageProfilingHour) - end - end - describe 'test attribute "avg_container_agent_count"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "host_count"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "hour"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/usage_profiling_response_spec.rb b/spec/v1/models/usage_profiling_response_spec.rb deleted file mode 100644 index 5491de6c11c..00000000000 --- a/spec/v1/models/usage_profiling_response_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::UsageProfilingResponse -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'UsageProfilingResponse' do - before do - # run before each test - @instance = DatadogAPIClient::V1::UsageProfilingResponse.new - end - - after do - # run after each test - end - - describe 'test an instance of UsageProfilingResponse' do - it 'should create an instance of UsageProfilingResponse' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::UsageProfilingResponse) - end - end - describe 'test attribute "usage"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/usage_reports_type_spec.rb b/spec/v1/models/usage_reports_type_spec.rb deleted file mode 100644 index 8c513139df2..00000000000 --- a/spec/v1/models/usage_reports_type_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::UsageReportsType -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'UsageReportsType' do - before do - # run before each test - @instance = DatadogAPIClient::V1::UsageReportsType.new - end - - after do - # run after each test - end - - describe 'test an instance of UsageReportsType' do - it 'should create an instance of UsageReportsType' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::UsageReportsType) - end - end -end diff --git a/spec/v1/models/usage_rum_sessions_hour_spec.rb b/spec/v1/models/usage_rum_sessions_hour_spec.rb deleted file mode 100644 index 4fdbf0ca0b6..00000000000 --- a/spec/v1/models/usage_rum_sessions_hour_spec.rb +++ /dev/null @@ -1,47 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::UsageRumSessionsHour -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'UsageRumSessionsHour' do - before do - # run before each test - @instance = DatadogAPIClient::V1::UsageRumSessionsHour.new - end - - after do - # run after each test - end - - describe 'test an instance of UsageRumSessionsHour' do - it 'should create an instance of UsageRumSessionsHour' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::UsageRumSessionsHour) - end - end - describe 'test attribute "hour"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "session_count"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/usage_rum_sessions_response_spec.rb b/spec/v1/models/usage_rum_sessions_response_spec.rb deleted file mode 100644 index cea6d8736c5..00000000000 --- a/spec/v1/models/usage_rum_sessions_response_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::UsageRumSessionsResponse -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'UsageRumSessionsResponse' do - before do - # run before each test - @instance = DatadogAPIClient::V1::UsageRumSessionsResponse.new - end - - after do - # run after each test - end - - describe 'test an instance of UsageRumSessionsResponse' do - it 'should create an instance of UsageRumSessionsResponse' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::UsageRumSessionsResponse) - end - end - describe 'test attribute "usage"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/usage_snmp_hour_spec.rb b/spec/v1/models/usage_snmp_hour_spec.rb deleted file mode 100644 index c03ba92e922..00000000000 --- a/spec/v1/models/usage_snmp_hour_spec.rb +++ /dev/null @@ -1,47 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::UsageSNMPHour -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'UsageSNMPHour' do - before do - # run before each test - @instance = DatadogAPIClient::V1::UsageSNMPHour.new - end - - after do - # run after each test - end - - describe 'test an instance of UsageSNMPHour' do - it 'should create an instance of UsageSNMPHour' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::UsageSNMPHour) - end - end - describe 'test attribute "hour"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "snmp_devices"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/usage_snmp_response_spec.rb b/spec/v1/models/usage_snmp_response_spec.rb deleted file mode 100644 index 58aff16b01b..00000000000 --- a/spec/v1/models/usage_snmp_response_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::UsageSNMPResponse -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'UsageSNMPResponse' do - before do - # run before each test - @instance = DatadogAPIClient::V1::UsageSNMPResponse.new - end - - after do - # run after each test - end - - describe 'test an instance of UsageSNMPResponse' do - it 'should create an instance of UsageSNMPResponse' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::UsageSNMPResponse) - end - end - describe 'test attribute "usage"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/usage_sort_direction_spec.rb b/spec/v1/models/usage_sort_direction_spec.rb deleted file mode 100644 index f1bd1dfde58..00000000000 --- a/spec/v1/models/usage_sort_direction_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::UsageSortDirection -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'UsageSortDirection' do - before do - # run before each test - @instance = DatadogAPIClient::V1::UsageSortDirection.new - end - - after do - # run after each test - end - - describe 'test an instance of UsageSortDirection' do - it 'should create an instance of UsageSortDirection' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::UsageSortDirection) - end - end -end diff --git a/spec/v1/models/usage_sort_spec.rb b/spec/v1/models/usage_sort_spec.rb deleted file mode 100644 index 1eb3d616efc..00000000000 --- a/spec/v1/models/usage_sort_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::UsageSort -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'UsageSort' do - before do - # run before each test - @instance = DatadogAPIClient::V1::UsageSort.new - end - - after do - # run after each test - end - - describe 'test an instance of UsageSort' do - it 'should create an instance of UsageSort' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::UsageSort) - end - end -end diff --git a/spec/v1/models/usage_specified_custom_reports_attributes_spec.rb b/spec/v1/models/usage_specified_custom_reports_attributes_spec.rb deleted file mode 100644 index 4ad8aded989..00000000000 --- a/spec/v1/models/usage_specified_custom_reports_attributes_spec.rb +++ /dev/null @@ -1,71 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::UsageSpecifiedCustomReportsAttributes -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'UsageSpecifiedCustomReportsAttributes' do - before do - # run before each test - @instance = DatadogAPIClient::V1::UsageSpecifiedCustomReportsAttributes.new - end - - after do - # run after each test - end - - describe 'test an instance of UsageSpecifiedCustomReportsAttributes' do - it 'should create an instance of UsageSpecifiedCustomReportsAttributes' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::UsageSpecifiedCustomReportsAttributes) - end - end - describe 'test attribute "computed_on"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "end_date"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "location"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "size"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "start_date"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "tags"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/usage_specified_custom_reports_data_spec.rb b/spec/v1/models/usage_specified_custom_reports_data_spec.rb deleted file mode 100644 index 43c20cf82e6..00000000000 --- a/spec/v1/models/usage_specified_custom_reports_data_spec.rb +++ /dev/null @@ -1,53 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::UsageSpecifiedCustomReportsData -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'UsageSpecifiedCustomReportsData' do - before do - # run before each test - @instance = DatadogAPIClient::V1::UsageSpecifiedCustomReportsData.new - end - - after do - # run after each test - end - - describe 'test an instance of UsageSpecifiedCustomReportsData' do - it 'should create an instance of UsageSpecifiedCustomReportsData' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::UsageSpecifiedCustomReportsData) - end - end - describe 'test attribute "attributes"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/usage_specified_custom_reports_meta_spec.rb b/spec/v1/models/usage_specified_custom_reports_meta_spec.rb deleted file mode 100644 index 0eb22fcea54..00000000000 --- a/spec/v1/models/usage_specified_custom_reports_meta_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::UsageSpecifiedCustomReportsMeta -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'UsageSpecifiedCustomReportsMeta' do - before do - # run before each test - @instance = DatadogAPIClient::V1::UsageSpecifiedCustomReportsMeta.new - end - - after do - # run after each test - end - - describe 'test an instance of UsageSpecifiedCustomReportsMeta' do - it 'should create an instance of UsageSpecifiedCustomReportsMeta' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::UsageSpecifiedCustomReportsMeta) - end - end - describe 'test attribute "page"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/usage_specified_custom_reports_page_spec.rb b/spec/v1/models/usage_specified_custom_reports_page_spec.rb deleted file mode 100644 index 79ded10002e..00000000000 --- a/spec/v1/models/usage_specified_custom_reports_page_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::UsageSpecifiedCustomReportsPage -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'UsageSpecifiedCustomReportsPage' do - before do - # run before each test - @instance = DatadogAPIClient::V1::UsageSpecifiedCustomReportsPage.new - end - - after do - # run after each test - end - - describe 'test an instance of UsageSpecifiedCustomReportsPage' do - it 'should create an instance of UsageSpecifiedCustomReportsPage' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::UsageSpecifiedCustomReportsPage) - end - end - describe 'test attribute "total_count"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/usage_specified_custom_reports_response_spec.rb b/spec/v1/models/usage_specified_custom_reports_response_spec.rb deleted file mode 100644 index b27dfa422b2..00000000000 --- a/spec/v1/models/usage_specified_custom_reports_response_spec.rb +++ /dev/null @@ -1,47 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::UsageSpecifiedCustomReportsResponse -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'UsageSpecifiedCustomReportsResponse' do - before do - # run before each test - @instance = DatadogAPIClient::V1::UsageSpecifiedCustomReportsResponse.new - end - - after do - # run after each test - end - - describe 'test an instance of UsageSpecifiedCustomReportsResponse' do - it 'should create an instance of UsageSpecifiedCustomReportsResponse' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::UsageSpecifiedCustomReportsResponse) - end - end - describe 'test attribute "data"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "meta"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/usage_summary_date_org_spec.rb b/spec/v1/models/usage_summary_date_org_spec.rb deleted file mode 100644 index 6d4f2f9dc9e..00000000000 --- a/spec/v1/models/usage_summary_date_org_spec.rb +++ /dev/null @@ -1,191 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::UsageSummaryDateOrg -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'UsageSummaryDateOrg' do - before do - # run before each test - @instance = DatadogAPIClient::V1::UsageSummaryDateOrg.new - end - - after do - # run after each test - end - - describe 'test an instance of UsageSummaryDateOrg' do - it 'should create an instance of UsageSummaryDateOrg' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::UsageSummaryDateOrg) - end - end - describe 'test attribute "agent_host_top99p"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "apm_host_top99p"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "aws_host_top99p"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "aws_lambda_func_count"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "aws_lambda_invocations_sum"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "billable_ingested_bytes_sum"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "container_avg"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "container_hwm"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "custom_ts_avg"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "fargate_tasks_count_avg"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "fargate_tasks_count_hwm"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "gcp_host_top99p"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "indexed_events_count_sum"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "infra_host_top99p"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "ingested_events_bytes_sum"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "netflow_indexed_events_count_sum"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "npm_host_top99p"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "profiling_host_top99p"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "public_id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "rum_session_count_sum"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "synthetics_browser_check_calls_count_sum"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "synthetics_check_calls_count_sum"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "trace_search_indexed_events_count_sum"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "twol_ingested_events_bytes_sum"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/usage_summary_date_spec.rb b/spec/v1/models/usage_summary_date_spec.rb deleted file mode 100644 index fa83a91a87b..00000000000 --- a/spec/v1/models/usage_summary_date_spec.rb +++ /dev/null @@ -1,191 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::UsageSummaryDate -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'UsageSummaryDate' do - before do - # run before each test - @instance = DatadogAPIClient::V1::UsageSummaryDate.new - end - - after do - # run after each test - end - - describe 'test an instance of UsageSummaryDate' do - it 'should create an instance of UsageSummaryDate' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::UsageSummaryDate) - end - end - describe 'test attribute "agent_host_top99p"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "apm_host_top99p"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "aws_host_top99p"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "aws_lambda_func_count"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "aws_lambda_invocations_sum"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "azure_app_service_top99p"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "billable_ingested_bytes_sum"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "container_avg"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "container_hwm"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "custom_ts_avg"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "date"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "fargate_tasks_count_avg"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "fargate_tasks_count_hwm"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "gcp_host_top99p"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "indexed_events_count_sum"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "infra_host_top99p"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "ingested_events_bytes_sum"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "netflow_indexed_events_count_sum"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "npm_host_top99p"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "orgs"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "profiling_host_top99p"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "rum_session_count_sum"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "synthetics_browser_check_calls_count_sum"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "synthetics_check_calls_count_sum"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "trace_search_indexed_events_count_sum"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "twol_ingested_events_bytes_sum"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/usage_summary_response_spec.rb b/spec/v1/models/usage_summary_response_spec.rb deleted file mode 100644 index 0958db3acd6..00000000000 --- a/spec/v1/models/usage_summary_response_spec.rb +++ /dev/null @@ -1,215 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::UsageSummaryResponse -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'UsageSummaryResponse' do - before do - # run before each test - @instance = DatadogAPIClient::V1::UsageSummaryResponse.new - end - - after do - # run after each test - end - - describe 'test an instance of UsageSummaryResponse' do - it 'should create an instance of UsageSummaryResponse' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::UsageSummaryResponse) - end - end - describe 'test attribute "agent_host_top99p_sum"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "apm_host_top99p_sum"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "aws_host_top99p_sum"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "aws_lambda_func_count"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "aws_lambda_invocations_sum"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "azure_app_service_top99p_sum"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "azure_host_top99p_sum"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "billable_ingested_bytes_agg_sum"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "container_avg_sum"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "container_hwm_sum"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "custom_ts_sum"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "end_date"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "fargate_tasks_count_avg_sum"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "fargate_tasks_count_hwm_sum"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "gcp_host_top99p_sum"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "indexed_events_count_agg_sum"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "infra_host_top99p_sum"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "ingested_events_bytes_agg_sum"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "last_updated"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "netflow_indexed_events_count_agg_sum"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "npm_host_top99p_sum"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "profiling_container_agent_count_avg"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "profiling_host_count_top99p_sum"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "rum_session_count_agg_sum"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "start_date"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "synthetics_browser_check_calls_count_agg_sum"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "synthetics_check_calls_count_agg_sum"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "trace_search_indexed_events_count_agg_sum"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "twol_ingested_events_bytes_agg_sum"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "usage"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/usage_synthetics_api_hour_spec.rb b/spec/v1/models/usage_synthetics_api_hour_spec.rb deleted file mode 100644 index 853d090ef1b..00000000000 --- a/spec/v1/models/usage_synthetics_api_hour_spec.rb +++ /dev/null @@ -1,47 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::UsageSyntheticsAPIHour -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'UsageSyntheticsAPIHour' do - before do - # run before each test - @instance = DatadogAPIClient::V1::UsageSyntheticsAPIHour.new - end - - after do - # run after each test - end - - describe 'test an instance of UsageSyntheticsAPIHour' do - it 'should create an instance of UsageSyntheticsAPIHour' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::UsageSyntheticsAPIHour) - end - end - describe 'test attribute "check_calls_count"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "hour"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/usage_synthetics_api_response_spec.rb b/spec/v1/models/usage_synthetics_api_response_spec.rb deleted file mode 100644 index e26d411b13b..00000000000 --- a/spec/v1/models/usage_synthetics_api_response_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::UsageSyntheticsAPIResponse -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'UsageSyntheticsAPIResponse' do - before do - # run before each test - @instance = DatadogAPIClient::V1::UsageSyntheticsAPIResponse.new - end - - after do - # run after each test - end - - describe 'test an instance of UsageSyntheticsAPIResponse' do - it 'should create an instance of UsageSyntheticsAPIResponse' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::UsageSyntheticsAPIResponse) - end - end - describe 'test attribute "usage"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/usage_synthetics_browser_hour_spec.rb b/spec/v1/models/usage_synthetics_browser_hour_spec.rb deleted file mode 100644 index 2cbbd369d6c..00000000000 --- a/spec/v1/models/usage_synthetics_browser_hour_spec.rb +++ /dev/null @@ -1,47 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::UsageSyntheticsBrowserHour -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'UsageSyntheticsBrowserHour' do - before do - # run before each test - @instance = DatadogAPIClient::V1::UsageSyntheticsBrowserHour.new - end - - after do - # run after each test - end - - describe 'test an instance of UsageSyntheticsBrowserHour' do - it 'should create an instance of UsageSyntheticsBrowserHour' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::UsageSyntheticsBrowserHour) - end - end - describe 'test attribute "browser_check_calls_count"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "hour"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/usage_synthetics_browser_response_spec.rb b/spec/v1/models/usage_synthetics_browser_response_spec.rb deleted file mode 100644 index c06fe3741ee..00000000000 --- a/spec/v1/models/usage_synthetics_browser_response_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::UsageSyntheticsBrowserResponse -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'UsageSyntheticsBrowserResponse' do - before do - # run before each test - @instance = DatadogAPIClient::V1::UsageSyntheticsBrowserResponse.new - end - - after do - # run after each test - end - - describe 'test an instance of UsageSyntheticsBrowserResponse' do - it 'should create an instance of UsageSyntheticsBrowserResponse' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::UsageSyntheticsBrowserResponse) - end - end - describe 'test attribute "usage"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/usage_synthetics_hour_spec.rb b/spec/v1/models/usage_synthetics_hour_spec.rb deleted file mode 100644 index 887ce831bec..00000000000 --- a/spec/v1/models/usage_synthetics_hour_spec.rb +++ /dev/null @@ -1,47 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::UsageSyntheticsHour -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'UsageSyntheticsHour' do - before do - # run before each test - @instance = DatadogAPIClient::V1::UsageSyntheticsHour.new - end - - after do - # run after each test - end - - describe 'test an instance of UsageSyntheticsHour' do - it 'should create an instance of UsageSyntheticsHour' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::UsageSyntheticsHour) - end - end - describe 'test attribute "check_calls_count"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "hour"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/usage_synthetics_response_spec.rb b/spec/v1/models/usage_synthetics_response_spec.rb deleted file mode 100644 index 58310142425..00000000000 --- a/spec/v1/models/usage_synthetics_response_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::UsageSyntheticsResponse -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'UsageSyntheticsResponse' do - before do - # run before each test - @instance = DatadogAPIClient::V1::UsageSyntheticsResponse.new - end - - after do - # run after each test - end - - describe 'test an instance of UsageSyntheticsResponse' do - it 'should create an instance of UsageSyntheticsResponse' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::UsageSyntheticsResponse) - end - end - describe 'test attribute "usage"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/usage_timeseries_hour_spec.rb b/spec/v1/models/usage_timeseries_hour_spec.rb deleted file mode 100644 index 797f8f7e1d7..00000000000 --- a/spec/v1/models/usage_timeseries_hour_spec.rb +++ /dev/null @@ -1,59 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::UsageTimeseriesHour -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'UsageTimeseriesHour' do - before do - # run before each test - @instance = DatadogAPIClient::V1::UsageTimeseriesHour.new - end - - after do - # run after each test - end - - describe 'test an instance of UsageTimeseriesHour' do - it 'should create an instance of UsageTimeseriesHour' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::UsageTimeseriesHour) - end - end - describe 'test attribute "hour"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "num_custom_input_timeseries"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "num_custom_output_timeseries"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "num_custom_timeseries"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/usage_timeseries_response_spec.rb b/spec/v1/models/usage_timeseries_response_spec.rb deleted file mode 100644 index 4daf88b4eb1..00000000000 --- a/spec/v1/models/usage_timeseries_response_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::UsageTimeseriesResponse -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'UsageTimeseriesResponse' do - before do - # run before each test - @instance = DatadogAPIClient::V1::UsageTimeseriesResponse.new - end - - after do - # run after each test - end - - describe 'test an instance of UsageTimeseriesResponse' do - it 'should create an instance of UsageTimeseriesResponse' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::UsageTimeseriesResponse) - end - end - describe 'test attribute "usage"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/usage_top_avg_metrics_hour_spec.rb b/spec/v1/models/usage_top_avg_metrics_hour_spec.rb deleted file mode 100644 index ee235ef14ac..00000000000 --- a/spec/v1/models/usage_top_avg_metrics_hour_spec.rb +++ /dev/null @@ -1,59 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::UsageTopAvgMetricsHour -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'UsageTopAvgMetricsHour' do - before do - # run before each test - @instance = DatadogAPIClient::V1::UsageTopAvgMetricsHour.new - end - - after do - # run after each test - end - - describe 'test an instance of UsageTopAvgMetricsHour' do - it 'should create an instance of UsageTopAvgMetricsHour' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::UsageTopAvgMetricsHour) - end - end - describe 'test attribute "avg_metric_hour"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "max_metric_hour"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metric_category"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metric_name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/usage_top_avg_metrics_response_spec.rb b/spec/v1/models/usage_top_avg_metrics_response_spec.rb deleted file mode 100644 index 6f24f4f0f43..00000000000 --- a/spec/v1/models/usage_top_avg_metrics_response_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::UsageTopAvgMetricsResponse -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'UsageTopAvgMetricsResponse' do - before do - # run before each test - @instance = DatadogAPIClient::V1::UsageTopAvgMetricsResponse.new - end - - after do - # run after each test - end - - describe 'test an instance of UsageTopAvgMetricsResponse' do - it 'should create an instance of UsageTopAvgMetricsResponse' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::UsageTopAvgMetricsResponse) - end - end - describe 'test attribute "usage"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/usage_trace_hour_spec.rb b/spec/v1/models/usage_trace_hour_spec.rb deleted file mode 100644 index f5bad11249d..00000000000 --- a/spec/v1/models/usage_trace_hour_spec.rb +++ /dev/null @@ -1,47 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::UsageTraceHour -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'UsageTraceHour' do - before do - # run before each test - @instance = DatadogAPIClient::V1::UsageTraceHour.new - end - - after do - # run after each test - end - - describe 'test an instance of UsageTraceHour' do - it 'should create an instance of UsageTraceHour' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::UsageTraceHour) - end - end - describe 'test attribute "hour"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "indexed_events_count"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/usage_trace_response_spec.rb b/spec/v1/models/usage_trace_response_spec.rb deleted file mode 100644 index 78a36ba0c92..00000000000 --- a/spec/v1/models/usage_trace_response_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::UsageTraceResponse -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'UsageTraceResponse' do - before do - # run before each test - @instance = DatadogAPIClient::V1::UsageTraceResponse.new - end - - after do - # run after each test - end - - describe 'test an instance of UsageTraceResponse' do - it 'should create an instance of UsageTraceResponse' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::UsageTraceResponse) - end - end - describe 'test attribute "usage"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/usage_tracing_without_limits_hour_spec.rb b/spec/v1/models/usage_tracing_without_limits_hour_spec.rb deleted file mode 100644 index 2d890c543e9..00000000000 --- a/spec/v1/models/usage_tracing_without_limits_hour_spec.rb +++ /dev/null @@ -1,47 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::UsageTracingWithoutLimitsHour -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'UsageTracingWithoutLimitsHour' do - before do - # run before each test - @instance = DatadogAPIClient::V1::UsageTracingWithoutLimitsHour.new - end - - after do - # run after each test - end - - describe 'test an instance of UsageTracingWithoutLimitsHour' do - it 'should create an instance of UsageTracingWithoutLimitsHour' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::UsageTracingWithoutLimitsHour) - end - end - describe 'test attribute "hour"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "ingested_events_bytes"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/usage_tracing_without_limits_response_spec.rb b/spec/v1/models/usage_tracing_without_limits_response_spec.rb deleted file mode 100644 index 8f99e07f680..00000000000 --- a/spec/v1/models/usage_tracing_without_limits_response_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::UsageTracingWithoutLimitsResponse -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'UsageTracingWithoutLimitsResponse' do - before do - # run before each test - @instance = DatadogAPIClient::V1::UsageTracingWithoutLimitsResponse.new - end - - after do - # run after each test - end - - describe 'test an instance of UsageTracingWithoutLimitsResponse' do - it 'should create an instance of UsageTracingWithoutLimitsResponse' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::UsageTracingWithoutLimitsResponse) - end - end - describe 'test attribute "usage"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/user_disable_response_spec.rb b/spec/v1/models/user_disable_response_spec.rb deleted file mode 100644 index f1dd028d4d1..00000000000 --- a/spec/v1/models/user_disable_response_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::UserDisableResponse -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'UserDisableResponse' do - before do - # run before each test - @instance = DatadogAPIClient::V1::UserDisableResponse.new - end - - after do - # run after each test - end - - describe 'test an instance of UserDisableResponse' do - it 'should create an instance of UserDisableResponse' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::UserDisableResponse) - end - end - describe 'test attribute "message"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/user_list_response_spec.rb b/spec/v1/models/user_list_response_spec.rb deleted file mode 100644 index 03d9659761c..00000000000 --- a/spec/v1/models/user_list_response_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::UserListResponse -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'UserListResponse' do - before do - # run before each test - @instance = DatadogAPIClient::V1::UserListResponse.new - end - - after do - # run after each test - end - - describe 'test an instance of UserListResponse' do - it 'should create an instance of UserListResponse' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::UserListResponse) - end - end - describe 'test attribute "users"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/user_response_spec.rb b/spec/v1/models/user_response_spec.rb deleted file mode 100644 index e522c9d0d6b..00000000000 --- a/spec/v1/models/user_response_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::UserResponse -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'UserResponse' do - before do - # run before each test - @instance = DatadogAPIClient::V1::UserResponse.new - end - - after do - # run after each test - end - - describe 'test an instance of UserResponse' do - it 'should create an instance of UserResponse' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::UserResponse) - end - end - describe 'test attribute "user"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/user_spec.rb b/spec/v1/models/user_spec.rb deleted file mode 100644 index ec2ac2c4b46..00000000000 --- a/spec/v1/models/user_spec.rb +++ /dev/null @@ -1,77 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::User -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'User' do - before do - # run before each test - @instance = DatadogAPIClient::V1::User.new - end - - after do - # run after each test - end - - describe 'test an instance of User' do - it 'should create an instance of User' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::User) - end - end - describe 'test attribute "access_role"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "disabled"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "email"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "handle"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "icon"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "verified"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/widget_aggregator_spec.rb b/spec/v1/models/widget_aggregator_spec.rb deleted file mode 100644 index 43078400719..00000000000 --- a/spec/v1/models/widget_aggregator_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::WidgetAggregator -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'WidgetAggregator' do - before do - # run before each test - @instance = DatadogAPIClient::V1::WidgetAggregator.new - end - - after do - # run after each test - end - - describe 'test an instance of WidgetAggregator' do - it 'should create an instance of WidgetAggregator' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::WidgetAggregator) - end - end -end diff --git a/spec/v1/models/widget_axis_spec.rb b/spec/v1/models/widget_axis_spec.rb deleted file mode 100644 index bc6d084efb7..00000000000 --- a/spec/v1/models/widget_axis_spec.rb +++ /dev/null @@ -1,65 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::WidgetAxis -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'WidgetAxis' do - before do - # run before each test - @instance = DatadogAPIClient::V1::WidgetAxis.new - end - - after do - # run after each test - end - - describe 'test an instance of WidgetAxis' do - it 'should create an instance of WidgetAxis' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::WidgetAxis) - end - end - describe 'test attribute "include_zero"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "label"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "max"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "min"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "scale"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/widget_change_type_spec.rb b/spec/v1/models/widget_change_type_spec.rb deleted file mode 100644 index c94fd34f1d0..00000000000 --- a/spec/v1/models/widget_change_type_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::WidgetChangeType -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'WidgetChangeType' do - before do - # run before each test - @instance = DatadogAPIClient::V1::WidgetChangeType.new - end - - after do - # run after each test - end - - describe 'test an instance of WidgetChangeType' do - it 'should create an instance of WidgetChangeType' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::WidgetChangeType) - end - end -end diff --git a/spec/v1/models/widget_color_preference_spec.rb b/spec/v1/models/widget_color_preference_spec.rb deleted file mode 100644 index dd33113c727..00000000000 --- a/spec/v1/models/widget_color_preference_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::WidgetColorPreference -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'WidgetColorPreference' do - before do - # run before each test - @instance = DatadogAPIClient::V1::WidgetColorPreference.new - end - - after do - # run after each test - end - - describe 'test an instance of WidgetColorPreference' do - it 'should create an instance of WidgetColorPreference' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::WidgetColorPreference) - end - end -end diff --git a/spec/v1/models/widget_comparator_spec.rb b/spec/v1/models/widget_comparator_spec.rb deleted file mode 100644 index f60c4644164..00000000000 --- a/spec/v1/models/widget_comparator_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::WidgetComparator -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'WidgetComparator' do - before do - # run before each test - @instance = DatadogAPIClient::V1::WidgetComparator.new - end - - after do - # run after each test - end - - describe 'test an instance of WidgetComparator' do - it 'should create an instance of WidgetComparator' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::WidgetComparator) - end - end -end diff --git a/spec/v1/models/widget_compare_to_spec.rb b/spec/v1/models/widget_compare_to_spec.rb deleted file mode 100644 index 9f4c1f216c6..00000000000 --- a/spec/v1/models/widget_compare_to_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::WidgetCompareTo -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'WidgetCompareTo' do - before do - # run before each test - @instance = DatadogAPIClient::V1::WidgetCompareTo.new - end - - after do - # run after each test - end - - describe 'test an instance of WidgetCompareTo' do - it 'should create an instance of WidgetCompareTo' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::WidgetCompareTo) - end - end -end diff --git a/spec/v1/models/widget_conditional_format_spec.rb b/spec/v1/models/widget_conditional_format_spec.rb deleted file mode 100644 index 53522ff8935..00000000000 --- a/spec/v1/models/widget_conditional_format_spec.rb +++ /dev/null @@ -1,89 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::WidgetConditionalFormat -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'WidgetConditionalFormat' do - before do - # run before each test - @instance = DatadogAPIClient::V1::WidgetConditionalFormat.new - end - - after do - # run after each test - end - - describe 'test an instance of WidgetConditionalFormat' do - it 'should create an instance of WidgetConditionalFormat' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::WidgetConditionalFormat) - end - end - describe 'test attribute "comparator"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "custom_bg_color"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "custom_fg_color"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "hide_value"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "image_url"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metric"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "palette"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "timeframe"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "value"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/widget_custom_link_spec.rb b/spec/v1/models/widget_custom_link_spec.rb deleted file mode 100644 index 6a4e3deccbe..00000000000 --- a/spec/v1/models/widget_custom_link_spec.rb +++ /dev/null @@ -1,47 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::WidgetCustomLink -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'WidgetCustomLink' do - before do - # run before each test - @instance = DatadogAPIClient::V1::WidgetCustomLink.new - end - - after do - # run after each test - end - - describe 'test an instance of WidgetCustomLink' do - it 'should create an instance of WidgetCustomLink' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::WidgetCustomLink) - end - end - describe 'test attribute "label"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "link"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/widget_definition_spec.rb b/spec/v1/models/widget_definition_spec.rb deleted file mode 100644 index 40752cb34eb..00000000000 --- a/spec/v1/models/widget_definition_spec.rb +++ /dev/null @@ -1,503 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::WidgetDefinition -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'WidgetDefinition' do - before do - # run before each test - @instance = DatadogAPIClient::V1::WidgetDefinition.new - end - - after do - # run after each test - end - - describe 'test an instance of WidgetDefinition' do - it 'should create an instance of WidgetDefinition' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::WidgetDefinition) - end - end - describe 'test attribute "alert_id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "time"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "title"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "title_align"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "title_size"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "viz_type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "precision"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "text_align"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "unit"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "custom_links"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "requests"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "check"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "group"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "group_by"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "grouping"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "tags"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "legend_size"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "show_legend"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "event_size"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "query"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "tags_execution"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "color"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "font_size"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "text"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "layout_type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "widgets"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "events"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "yaxis"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "no_group_hosts"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "no_metric_hosts"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "node_type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "notes"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "scope"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "style"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "url"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "margin"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "sizing"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "columns"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "indexes"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "logset"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "message_display"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "show_date_column"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "show_message_column"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "sort"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "color_preference"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "count"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "display_format"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "hide_zero_counts"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "show_last_triggered"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "start"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "summary_type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "background_color"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "content"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "show_tick"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "tick_edge"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "tick_pos"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "autoscale"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "custom_unit"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "color_by_groups"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "xaxis"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "show_error_budget"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "slo_id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "time_windows"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "view_mode"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "view_type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "filters"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "service"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "env"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "show_breakdown"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "show_distribution"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "show_errors"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "show_hits"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "show_latency"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "show_resource_list"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "size_format"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "span_name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "markers"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/widget_display_type_spec.rb b/spec/v1/models/widget_display_type_spec.rb deleted file mode 100644 index a31eeeb1f3d..00000000000 --- a/spec/v1/models/widget_display_type_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::WidgetDisplayType -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'WidgetDisplayType' do - before do - # run before each test - @instance = DatadogAPIClient::V1::WidgetDisplayType.new - end - - after do - # run after each test - end - - describe 'test an instance of WidgetDisplayType' do - it 'should create an instance of WidgetDisplayType' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::WidgetDisplayType) - end - end -end diff --git a/spec/v1/models/widget_event_size_spec.rb b/spec/v1/models/widget_event_size_spec.rb deleted file mode 100644 index 480c9caddf3..00000000000 --- a/spec/v1/models/widget_event_size_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::WidgetEventSize -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'WidgetEventSize' do - before do - # run before each test - @instance = DatadogAPIClient::V1::WidgetEventSize.new - end - - after do - # run after each test - end - - describe 'test an instance of WidgetEventSize' do - it 'should create an instance of WidgetEventSize' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::WidgetEventSize) - end - end -end diff --git a/spec/v1/models/widget_event_spec.rb b/spec/v1/models/widget_event_spec.rb deleted file mode 100644 index ba45bbb53ac..00000000000 --- a/spec/v1/models/widget_event_spec.rb +++ /dev/null @@ -1,47 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::WidgetEvent -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'WidgetEvent' do - before do - # run before each test - @instance = DatadogAPIClient::V1::WidgetEvent.new - end - - after do - # run after each test - end - - describe 'test an instance of WidgetEvent' do - it 'should create an instance of WidgetEvent' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::WidgetEvent) - end - end - describe 'test attribute "q"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "tags_execution"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/widget_field_sort_spec.rb b/spec/v1/models/widget_field_sort_spec.rb deleted file mode 100644 index 1f75de32b99..00000000000 --- a/spec/v1/models/widget_field_sort_spec.rb +++ /dev/null @@ -1,47 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::WidgetFieldSort -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'WidgetFieldSort' do - before do - # run before each test - @instance = DatadogAPIClient::V1::WidgetFieldSort.new - end - - after do - # run after each test - end - - describe 'test an instance of WidgetFieldSort' do - it 'should create an instance of WidgetFieldSort' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::WidgetFieldSort) - end - end - describe 'test attribute "column"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "order"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/widget_grouping_spec.rb b/spec/v1/models/widget_grouping_spec.rb deleted file mode 100644 index 688b607156c..00000000000 --- a/spec/v1/models/widget_grouping_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::WidgetGrouping -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'WidgetGrouping' do - before do - # run before each test - @instance = DatadogAPIClient::V1::WidgetGrouping.new - end - - after do - # run after each test - end - - describe 'test an instance of WidgetGrouping' do - it 'should create an instance of WidgetGrouping' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::WidgetGrouping) - end - end -end diff --git a/spec/v1/models/widget_image_sizing_spec.rb b/spec/v1/models/widget_image_sizing_spec.rb deleted file mode 100644 index 7f0d9db6260..00000000000 --- a/spec/v1/models/widget_image_sizing_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::WidgetImageSizing -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'WidgetImageSizing' do - before do - # run before each test - @instance = DatadogAPIClient::V1::WidgetImageSizing.new - end - - after do - # run after each test - end - - describe 'test an instance of WidgetImageSizing' do - it 'should create an instance of WidgetImageSizing' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::WidgetImageSizing) - end - end -end diff --git a/spec/v1/models/widget_layout_spec.rb b/spec/v1/models/widget_layout_spec.rb deleted file mode 100644 index 7e992b4d042..00000000000 --- a/spec/v1/models/widget_layout_spec.rb +++ /dev/null @@ -1,59 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::WidgetLayout -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'WidgetLayout' do - before do - # run before each test - @instance = DatadogAPIClient::V1::WidgetLayout.new - end - - after do - # run after each test - end - - describe 'test an instance of WidgetLayout' do - it 'should create an instance of WidgetLayout' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::WidgetLayout) - end - end - describe 'test attribute "height"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "width"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "x"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "y"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/widget_layout_type_spec.rb b/spec/v1/models/widget_layout_type_spec.rb deleted file mode 100644 index e8072bfc786..00000000000 --- a/spec/v1/models/widget_layout_type_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::WidgetLayoutType -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'WidgetLayoutType' do - before do - # run before each test - @instance = DatadogAPIClient::V1::WidgetLayoutType.new - end - - after do - # run after each test - end - - describe 'test an instance of WidgetLayoutType' do - it 'should create an instance of WidgetLayoutType' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::WidgetLayoutType) - end - end -end diff --git a/spec/v1/models/widget_line_type_spec.rb b/spec/v1/models/widget_line_type_spec.rb deleted file mode 100644 index 6cdb30eb27c..00000000000 --- a/spec/v1/models/widget_line_type_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::WidgetLineType -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'WidgetLineType' do - before do - # run before each test - @instance = DatadogAPIClient::V1::WidgetLineType.new - end - - after do - # run after each test - end - - describe 'test an instance of WidgetLineType' do - it 'should create an instance of WidgetLineType' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::WidgetLineType) - end - end -end diff --git a/spec/v1/models/widget_line_width_spec.rb b/spec/v1/models/widget_line_width_spec.rb deleted file mode 100644 index 3d01b87aee5..00000000000 --- a/spec/v1/models/widget_line_width_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::WidgetLineWidth -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'WidgetLineWidth' do - before do - # run before each test - @instance = DatadogAPIClient::V1::WidgetLineWidth.new - end - - after do - # run after each test - end - - describe 'test an instance of WidgetLineWidth' do - it 'should create an instance of WidgetLineWidth' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::WidgetLineWidth) - end - end -end diff --git a/spec/v1/models/widget_live_span_spec.rb b/spec/v1/models/widget_live_span_spec.rb deleted file mode 100644 index 0b36e53ca29..00000000000 --- a/spec/v1/models/widget_live_span_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::WidgetLiveSpan -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'WidgetLiveSpan' do - before do - # run before each test - @instance = DatadogAPIClient::V1::WidgetLiveSpan.new - end - - after do - # run after each test - end - - describe 'test an instance of WidgetLiveSpan' do - it 'should create an instance of WidgetLiveSpan' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::WidgetLiveSpan) - end - end -end diff --git a/spec/v1/models/widget_margin_spec.rb b/spec/v1/models/widget_margin_spec.rb deleted file mode 100644 index d14b37ade99..00000000000 --- a/spec/v1/models/widget_margin_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::WidgetMargin -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'WidgetMargin' do - before do - # run before each test - @instance = DatadogAPIClient::V1::WidgetMargin.new - end - - after do - # run after each test - end - - describe 'test an instance of WidgetMargin' do - it 'should create an instance of WidgetMargin' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::WidgetMargin) - end - end -end diff --git a/spec/v1/models/widget_marker_spec.rb b/spec/v1/models/widget_marker_spec.rb deleted file mode 100644 index 670b1c9447d..00000000000 --- a/spec/v1/models/widget_marker_spec.rb +++ /dev/null @@ -1,59 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::WidgetMarker -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'WidgetMarker' do - before do - # run before each test - @instance = DatadogAPIClient::V1::WidgetMarker.new - end - - after do - # run after each test - end - - describe 'test an instance of WidgetMarker' do - it 'should create an instance of WidgetMarker' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::WidgetMarker) - end - end - describe 'test attribute "display_type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "label"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "time"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "value"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/widget_message_display_spec.rb b/spec/v1/models/widget_message_display_spec.rb deleted file mode 100644 index 208654c44f3..00000000000 --- a/spec/v1/models/widget_message_display_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::WidgetMessageDisplay -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'WidgetMessageDisplay' do - before do - # run before each test - @instance = DatadogAPIClient::V1::WidgetMessageDisplay.new - end - - after do - # run after each test - end - - describe 'test an instance of WidgetMessageDisplay' do - it 'should create an instance of WidgetMessageDisplay' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::WidgetMessageDisplay) - end - end -end diff --git a/spec/v1/models/widget_monitor_summary_display_format_spec.rb b/spec/v1/models/widget_monitor_summary_display_format_spec.rb deleted file mode 100644 index 82f56ccc2e2..00000000000 --- a/spec/v1/models/widget_monitor_summary_display_format_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::WidgetMonitorSummaryDisplayFormat -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'WidgetMonitorSummaryDisplayFormat' do - before do - # run before each test - @instance = DatadogAPIClient::V1::WidgetMonitorSummaryDisplayFormat.new - end - - after do - # run after each test - end - - describe 'test an instance of WidgetMonitorSummaryDisplayFormat' do - it 'should create an instance of WidgetMonitorSummaryDisplayFormat' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::WidgetMonitorSummaryDisplayFormat) - end - end -end diff --git a/spec/v1/models/widget_monitor_summary_sort_spec.rb b/spec/v1/models/widget_monitor_summary_sort_spec.rb deleted file mode 100644 index bc795277e3c..00000000000 --- a/spec/v1/models/widget_monitor_summary_sort_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::WidgetMonitorSummarySort -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'WidgetMonitorSummarySort' do - before do - # run before each test - @instance = DatadogAPIClient::V1::WidgetMonitorSummarySort.new - end - - after do - # run after each test - end - - describe 'test an instance of WidgetMonitorSummarySort' do - it 'should create an instance of WidgetMonitorSummarySort' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::WidgetMonitorSummarySort) - end - end -end diff --git a/spec/v1/models/widget_node_type_spec.rb b/spec/v1/models/widget_node_type_spec.rb deleted file mode 100644 index d517a2e7813..00000000000 --- a/spec/v1/models/widget_node_type_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::WidgetNodeType -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'WidgetNodeType' do - before do - # run before each test - @instance = DatadogAPIClient::V1::WidgetNodeType.new - end - - after do - # run after each test - end - - describe 'test an instance of WidgetNodeType' do - it 'should create an instance of WidgetNodeType' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::WidgetNodeType) - end - end -end diff --git a/spec/v1/models/widget_order_by_spec.rb b/spec/v1/models/widget_order_by_spec.rb deleted file mode 100644 index 25444df9744..00000000000 --- a/spec/v1/models/widget_order_by_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::WidgetOrderBy -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'WidgetOrderBy' do - before do - # run before each test - @instance = DatadogAPIClient::V1::WidgetOrderBy.new - end - - after do - # run after each test - end - - describe 'test an instance of WidgetOrderBy' do - it 'should create an instance of WidgetOrderBy' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::WidgetOrderBy) - end - end -end diff --git a/spec/v1/models/widget_palette_spec.rb b/spec/v1/models/widget_palette_spec.rb deleted file mode 100644 index da39721818b..00000000000 --- a/spec/v1/models/widget_palette_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::WidgetPalette -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'WidgetPalette' do - before do - # run before each test - @instance = DatadogAPIClient::V1::WidgetPalette.new - end - - after do - # run after each test - end - - describe 'test an instance of WidgetPalette' do - it 'should create an instance of WidgetPalette' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::WidgetPalette) - end - end -end diff --git a/spec/v1/models/widget_request_style_spec.rb b/spec/v1/models/widget_request_style_spec.rb deleted file mode 100644 index 4ebb85aebb3..00000000000 --- a/spec/v1/models/widget_request_style_spec.rb +++ /dev/null @@ -1,53 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::WidgetRequestStyle -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'WidgetRequestStyle' do - before do - # run before each test - @instance = DatadogAPIClient::V1::WidgetRequestStyle.new - end - - after do - # run after each test - end - - describe 'test an instance of WidgetRequestStyle' do - it 'should create an instance of WidgetRequestStyle' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::WidgetRequestStyle) - end - end - describe 'test attribute "line_type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "line_width"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "palette"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/widget_service_summary_display_format_spec.rb b/spec/v1/models/widget_service_summary_display_format_spec.rb deleted file mode 100644 index 392feadc9c8..00000000000 --- a/spec/v1/models/widget_service_summary_display_format_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::WidgetServiceSummaryDisplayFormat -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'WidgetServiceSummaryDisplayFormat' do - before do - # run before each test - @instance = DatadogAPIClient::V1::WidgetServiceSummaryDisplayFormat.new - end - - after do - # run after each test - end - - describe 'test an instance of WidgetServiceSummaryDisplayFormat' do - it 'should create an instance of WidgetServiceSummaryDisplayFormat' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::WidgetServiceSummaryDisplayFormat) - end - end -end diff --git a/spec/v1/models/widget_size_format_spec.rb b/spec/v1/models/widget_size_format_spec.rb deleted file mode 100644 index 96e0a558151..00000000000 --- a/spec/v1/models/widget_size_format_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::WidgetSizeFormat -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'WidgetSizeFormat' do - before do - # run before each test - @instance = DatadogAPIClient::V1::WidgetSizeFormat.new - end - - after do - # run after each test - end - - describe 'test an instance of WidgetSizeFormat' do - it 'should create an instance of WidgetSizeFormat' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::WidgetSizeFormat) - end - end -end diff --git a/spec/v1/models/widget_sort_spec.rb b/spec/v1/models/widget_sort_spec.rb deleted file mode 100644 index 50416187eb8..00000000000 --- a/spec/v1/models/widget_sort_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::WidgetSort -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'WidgetSort' do - before do - # run before each test - @instance = DatadogAPIClient::V1::WidgetSort.new - end - - after do - # run after each test - end - - describe 'test an instance of WidgetSort' do - it 'should create an instance of WidgetSort' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::WidgetSort) - end - end -end diff --git a/spec/v1/models/widget_spec.rb b/spec/v1/models/widget_spec.rb deleted file mode 100644 index 2a476953c9a..00000000000 --- a/spec/v1/models/widget_spec.rb +++ /dev/null @@ -1,53 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::Widget -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'Widget' do - before do - # run before each test - @instance = DatadogAPIClient::V1::Widget.new - end - - after do - # run after each test - end - - describe 'test an instance of Widget' do - it 'should create an instance of Widget' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::Widget) - end - end - describe 'test attribute "definition"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "layout"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/widget_style_spec.rb b/spec/v1/models/widget_style_spec.rb deleted file mode 100644 index 98885db2ad0..00000000000 --- a/spec/v1/models/widget_style_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::WidgetStyle -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'WidgetStyle' do - before do - # run before each test - @instance = DatadogAPIClient::V1::WidgetStyle.new - end - - after do - # run after each test - end - - describe 'test an instance of WidgetStyle' do - it 'should create an instance of WidgetStyle' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::WidgetStyle) - end - end - describe 'test attribute "palette"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/widget_summary_type_spec.rb b/spec/v1/models/widget_summary_type_spec.rb deleted file mode 100644 index 93db0bb0d36..00000000000 --- a/spec/v1/models/widget_summary_type_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::WidgetSummaryType -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'WidgetSummaryType' do - before do - # run before each test - @instance = DatadogAPIClient::V1::WidgetSummaryType.new - end - - after do - # run after each test - end - - describe 'test an instance of WidgetSummaryType' do - it 'should create an instance of WidgetSummaryType' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::WidgetSummaryType) - end - end -end diff --git a/spec/v1/models/widget_text_align_spec.rb b/spec/v1/models/widget_text_align_spec.rb deleted file mode 100644 index 27fa44eb365..00000000000 --- a/spec/v1/models/widget_text_align_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::WidgetTextAlign -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'WidgetTextAlign' do - before do - # run before each test - @instance = DatadogAPIClient::V1::WidgetTextAlign.new - end - - after do - # run after each test - end - - describe 'test an instance of WidgetTextAlign' do - it 'should create an instance of WidgetTextAlign' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::WidgetTextAlign) - end - end -end diff --git a/spec/v1/models/widget_tick_edge_spec.rb b/spec/v1/models/widget_tick_edge_spec.rb deleted file mode 100644 index 1f12847b419..00000000000 --- a/spec/v1/models/widget_tick_edge_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::WidgetTickEdge -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'WidgetTickEdge' do - before do - # run before each test - @instance = DatadogAPIClient::V1::WidgetTickEdge.new - end - - after do - # run after each test - end - - describe 'test an instance of WidgetTickEdge' do - it 'should create an instance of WidgetTickEdge' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::WidgetTickEdge) - end - end -end diff --git a/spec/v1/models/widget_time_spec.rb b/spec/v1/models/widget_time_spec.rb deleted file mode 100644 index 0d9de939156..00000000000 --- a/spec/v1/models/widget_time_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::WidgetTime -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'WidgetTime' do - before do - # run before each test - @instance = DatadogAPIClient::V1::WidgetTime.new - end - - after do - # run after each test - end - - describe 'test an instance of WidgetTime' do - it 'should create an instance of WidgetTime' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::WidgetTime) - end - end - describe 'test attribute "live_span"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v1/models/widget_time_windows_spec.rb b/spec/v1/models/widget_time_windows_spec.rb deleted file mode 100644 index 61b50a3e11a..00000000000 --- a/spec/v1/models/widget_time_windows_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::WidgetTimeWindows -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'WidgetTimeWindows' do - before do - # run before each test - @instance = DatadogAPIClient::V1::WidgetTimeWindows.new - end - - after do - # run after each test - end - - describe 'test an instance of WidgetTimeWindows' do - it 'should create an instance of WidgetTimeWindows' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::WidgetTimeWindows) - end - end -end diff --git a/spec/v1/models/widget_view_mode_spec.rb b/spec/v1/models/widget_view_mode_spec.rb deleted file mode 100644 index ad3030aee5c..00000000000 --- a/spec/v1/models/widget_view_mode_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::WidgetViewMode -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'WidgetViewMode' do - before do - # run before each test - @instance = DatadogAPIClient::V1::WidgetViewMode.new - end - - after do - # run after each test - end - - describe 'test an instance of WidgetViewMode' do - it 'should create an instance of WidgetViewMode' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::WidgetViewMode) - end - end -end diff --git a/spec/v1/models/widget_viz_type_spec.rb b/spec/v1/models/widget_viz_type_spec.rb deleted file mode 100644 index 76090a42b38..00000000000 --- a/spec/v1/models/widget_viz_type_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V1::WidgetVizType -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'WidgetVizType' do - before do - # run before each test - @instance = DatadogAPIClient::V1::WidgetVizType.new - end - - after do - # run after each test - end - - describe 'test an instance of WidgetVizType' do - it 'should create an instance of WidgetVizType' do - expect(@instance).to be_instance_of(DatadogAPIClient::V1::WidgetVizType) - end - end -end diff --git a/spec/v1/spec_helper.rb b/spec/v1/spec_helper.rb deleted file mode 100644 index f063aea76e7..00000000000 --- a/spec/v1/spec_helper.rb +++ /dev/null @@ -1,111 +0,0 @@ -=begin -#Datadog API V1 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -# load the gem -require 'datadog_api_client/v1' - -# The following was generated by the `rspec --init` command. Conventionally, all -# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`. -# The generated `.rspec` file contains `--require spec_helper` which will cause -# this file to always be loaded, without a need to explicitly require it in any -# files. -# -# Given that it is always loaded, you are encouraged to keep this file as -# light-weight as possible. Requiring heavyweight dependencies from this file -# will add to the boot time of your test suite on EVERY test run, even for an -# individual file that may not need all of that loaded. Instead, consider making -# a separate helper file that requires the additional dependencies and performs -# the additional setup, and require it from the spec files that actually need -# it. -# -# The `.rspec` file also contains a few flags that are not defaults but that -# users commonly want. -# -# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration -RSpec.configure do |config| - # rspec-expectations config goes here. You can use an alternate - # assertion/expectation library such as wrong or the stdlib/minitest - # assertions if you prefer. - config.expect_with :rspec do |expectations| - # This option will default to `true` in RSpec 4. It makes the `description` - # and `failure_message` of custom matchers include text for helper methods - # defined using `chain`, e.g.: - # be_bigger_than(2).and_smaller_than(4).description - # # => "be bigger than 2 and smaller than 4" - # ...rather than: - # # => "be bigger than 2" - expectations.include_chain_clauses_in_custom_matcher_descriptions = true - end - - # rspec-mocks config goes here. You can use an alternate test double - # library (such as bogus or mocha) by changing the `mock_with` option here. - config.mock_with :rspec do |mocks| - # Prevents you from mocking or stubbing a method that does not exist on - # a real object. This is generally recommended, and will default to - # `true` in RSpec 4. - mocks.verify_partial_doubles = true - end - -# The settings below are suggested to provide a good initial experience -# with RSpec, but feel free to customize to your heart's content. -=begin - # These two settings work together to allow you to limit a spec run - # to individual examples or groups you care about by tagging them with - # `:focus` metadata. When nothing is tagged with `:focus`, all examples - # get run. - config.filter_run :focus - config.run_all_when_everything_filtered = true - - # Allows RSpec to persist some state between runs in order to support - # the `--only-failures` and `--next-failure` CLI options. We recommend - # you configure your source control system to ignore this file. - config.example_status_persistence_file_path = "spec/examples.txt" - - # Limits the available syntax to the non-monkey patched syntax that is - # recommended. For more details, see: - # - http://rspec.info/blog/2012/06/rspecs-new-expectation-syntax/ - # - http://www.teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/ - # - http://rspec.info/blog/2014/05/notable-changes-in-rspec-3/#zero-monkey-patching-mode - config.disable_monkey_patching! - - # This setting enables warnings. It's recommended, but in some cases may - # be too noisy due to issues in dependencies. - config.warnings = true - - # Many RSpec users commonly either run the entire suite or an individual - # file, and it's useful to allow more verbose output when running an - # individual spec file. - if config.files_to_run.one? - # Use the documentation formatter for detailed output, - # unless a formatter has already been configured - # (e.g. via a command-line flag). - config.default_formatter = 'doc' - end - - # Print the 10 slowest examples and example groups at the - # end of the spec run, to help surface which specs are running - # particularly slow. - config.profile_examples = 10 - - # Run specs in random order to surface order dependencies. If you find an - # order dependency and want to debug it, you can fix the order by providing - # the seed, which is printed after each run. - # --seed 1234 - config.order = :random - - # Seed global randomization in this process using the `--seed` CLI option. - # Setting this allows you to use `--seed` to deterministically reproduce - # test failures related to randomization by passing the same `--seed` value - # as the one that triggered the failure. - Kernel.srand config.seed -=end -end diff --git a/spec/v2/api/dashboard_lists_api_spec.rb b/spec/v2/api/dashboard_lists_api_spec.rb deleted file mode 100644 index b6fe5b661b9..00000000000 --- a/spec/v2/api/dashboard_lists_api_spec.rb +++ /dev/null @@ -1,86 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' - -# Unit tests for DatadogAPIClient::V2::DashboardListsApi -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'DashboardListsApi' do - before do - # run before each test - @api_instance = DatadogAPIClient::V2::DashboardListsApi.new - end - - after do - # run after each test - end - - describe 'test an instance of DashboardListsApi' do - it 'should create an instance of DashboardListsApi' do - expect(@api_instance).to be_instance_of(DatadogAPIClient::V2::DashboardListsApi) - end - end - - # unit tests for create_dashboard_list_items - # Add Items to a Dashboard List - # Add dashboards to an existing dashboard list. - # @param dashboard_list_id ID of the dashboard list to add items to. - # @param body Dashboards to add to the dashboard list. - # @param [Hash] opts the optional parameters - # @return [DashboardListAddItemsResponse] - describe 'create_dashboard_list_items test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_dashboard_list_items - # Delete items from a dashboard list - # Delete dashboards from an existing dashboard list. - # @param dashboard_list_id ID of the dashboard list to delete items from. - # @param body Dashboards to delete from the dashboard list. - # @param [Hash] opts the optional parameters - # @return [DashboardListDeleteItemsResponse] - describe 'delete_dashboard_list_items test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for get_dashboard_list_items - # Get a Dashboard List - # Fetch the dashboard list’s dashboard definitions. - # @param dashboard_list_id ID of the dashboard list to get items from. - # @param [Hash] opts the optional parameters - # @return [DashboardListItems] - describe 'get_dashboard_list_items test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for update_dashboard_list_items - # Update items of a dashboard list - # Update dashboards of an existing dashboard list. - # @param dashboard_list_id ID of the dashboard list to update items from. - # @param body New dashboards of the dashboard list. - # @param [Hash] opts the optional parameters - # @return [DashboardListUpdateItemsResponse] - describe 'update_dashboard_list_items test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/api/logs_api_spec.rb b/spec/v2/api/logs_api_spec.rb deleted file mode 100644 index 048b021926c..00000000000 --- a/spec/v2/api/logs_api_spec.rb +++ /dev/null @@ -1,77 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' - -# Unit tests for DatadogAPIClient::V2::LogsApi -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogsApi' do - before do - # run before each test - @api_instance = DatadogAPIClient::V2::LogsApi.new - end - - after do - # run after each test - end - - describe 'test an instance of LogsApi' do - it 'should create an instance of LogsApi' do - expect(@api_instance).to be_instance_of(DatadogAPIClient::V2::LogsApi) - end - end - - # unit tests for aggregate_logs - # Aggregate events - # The public API endpoint to aggregate events into buckets and compute metrics and timeseries. - # @param [Hash] opts the optional parameters - # @option opts [LogsAggregateRequest] :body - # @return [LogsAggregateResponse] - describe 'aggregate_logs test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_logs - # Get a list of logs - # List endpoint returns logs that match a log search query. [Results are paginated][1]. Both this endpoint and the GET endpoint can be used interchangeably when listing logs. **If you are considering archiving logs for your organization, consider use of the Datadog archive capabilities instead of the log list API. See [Datadog Logs Archive documentation][2].** [1]: /logs/guide/collect-multiple-logs-with-pagination [2]: https://docs.datadoghq.com/logs/archives - # @param [Hash] opts the optional parameters - # @option opts [LogsListRequest] :body - # @return [LogsListResponse] - describe 'list_logs test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_logs_get - # Get a quick list of logs - # List endpoint returns logs that match a log search query. [Results are paginated][1]. Both this endpoint and the POST endpoint can be used interchangeably when listing logs. **If you are considering archiving logs for your organization, consider use of the Datadog archive capabilities instead of the log list API. See [Datadog Logs Archive documentation][2].** [1]: /logs/guide/collect-multiple-logs-with-pagination [2]: https://docs.datadoghq.com/logs/archives - # @param [Hash] opts the optional parameters - # @option opts [String] :filter_query Search query following logs syntax. - # @option opts [String] :filter_index For customers with multiple indexes, the indexes to search Defaults to '*' which means all indexes - # @option opts [DateTime] :filter_from Minimum timestamp for requested logs. - # @option opts [DateTime] :filter_to Maximum timestamp for requested logs. - # @option opts [LogsSort] :sort Order of logs in results. - # @option opts [String] :page_cursor List following results with a cursor provided in the previous query. - # @option opts [Integer] :page_limit Maximum number of logs in the response. - # @return [LogsListResponse] - describe 'list_logs_get test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/api/logs_archives_api_spec.rb b/spec/v2/api/logs_archives_api_spec.rb deleted file mode 100644 index 5208b494d93..00000000000 --- a/spec/v2/api/logs_archives_api_spec.rb +++ /dev/null @@ -1,133 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' - -# Unit tests for DatadogAPIClient::V2::LogsArchivesApi -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogsArchivesApi' do - before do - # run before each test - @api_instance = DatadogAPIClient::V2::LogsArchivesApi.new - end - - after do - # run after each test - end - - describe 'test an instance of LogsArchivesApi' do - it 'should create an instance of LogsArchivesApi' do - expect(@api_instance).to be_instance_of(DatadogAPIClient::V2::LogsArchivesApi) - end - end - - # unit tests for add_read_role_to_archive - # Grant role to an archive - # Adds a read role to an archive. ([Roles API](https://docs.datadoghq.com/api/v2/roles/)) - # @param archive_id The ID of the archive. - # @param [Hash] opts the optional parameters - # @option opts [RelationshipToRole] :body - # @return [nil] - describe 'add_read_role_to_archive test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for create_logs_archive - # Create an archive - # Create an archive in your organization. - # @param body The definition of the new archive. - # @param [Hash] opts the optional parameters - # @return [LogsArchive] - describe 'create_logs_archive test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_logs_archive - # Delete an archive - # Delete a given archive from your organization. - # @param archive_id The ID of the archive. - # @param [Hash] opts the optional parameters - # @return [nil] - describe 'delete_logs_archive test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for get_logs_archive - # Get an archive - # Get a specific archive from your organization. - # @param archive_id The ID of the archive. - # @param [Hash] opts the optional parameters - # @return [LogsArchive] - describe 'get_logs_archive test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_archive_read_roles - # List read roles for an archive - # Returns all read roles a given archive is restricted to. - # @param archive_id The ID of the archive. - # @param [Hash] opts the optional parameters - # @return [RolesResponse] - describe 'list_archive_read_roles test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_logs_archives - # Get all archives - # Get the list of configured logs archives with their definitions. - # @param [Hash] opts the optional parameters - # @return [LogsArchives] - describe 'list_logs_archives test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for remove_role_from_archive - # Revoke role from an archive - # Removes a role from an archive. ([Roles API](https://docs.datadoghq.com/api/v2/roles/)) - # @param archive_id The ID of the archive. - # @param [Hash] opts the optional parameters - # @option opts [RelationshipToRole] :body - # @return [nil] - describe 'remove_role_from_archive test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for update_logs_archive - # Update an archive - # Update a given archive configuration. **Note**: Using this method updates your archive configuration by **replacing** your current configuration with the new one sent to your Datadog organization. - # @param archive_id The ID of the archive. - # @param body New definition of the archive. - # @param [Hash] opts the optional parameters - # @return [LogsArchive] - describe 'update_logs_archive test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/api/roles_api_spec.rb b/spec/v2/api/roles_api_spec.rb deleted file mode 100644 index 18cfd332163..00000000000 --- a/spec/v2/api/roles_api_spec.rb +++ /dev/null @@ -1,190 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' - -# Unit tests for DatadogAPIClient::V2::RolesApi -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'RolesApi' do - before do - # run before each test - @api_instance = DatadogAPIClient::V2::RolesApi.new - end - - after do - # run after each test - end - - describe 'test an instance of RolesApi' do - it 'should create an instance of RolesApi' do - expect(@api_instance).to be_instance_of(DatadogAPIClient::V2::RolesApi) - end - end - - # unit tests for add_permission_to_role - # Grant permission to a role - # Adds a permission to a role. - # @param role_id The ID of the role. - # @param [Hash] opts the optional parameters - # @option opts [RelationshipToPermission] :body - # @return [PermissionsResponse] - describe 'add_permission_to_role test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for add_user_to_role - # Add a user to a role - # Adds a user to a role. - # @param role_id The ID of the role. - # @param [Hash] opts the optional parameters - # @option opts [RelationshipToUser] :body - # @return [UsersResponse] - describe 'add_user_to_role test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for create_role - # Create role - # Create a new role for your organization. - # @param [Hash] opts the optional parameters - # @option opts [RoleCreateRequest] :body - # @return [RoleCreateResponse] - describe 'create_role test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_role - # Delete role - # Disables a role. - # @param role_id The ID of the role. - # @param [Hash] opts the optional parameters - # @return [nil] - describe 'delete_role test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for get_role - # Get a role - # Get a role in the organization specified by the role’s `role_id`. - # @param role_id The ID of the role. - # @param [Hash] opts the optional parameters - # @return [RoleResponse] - describe 'get_role test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_permissions - # List permissions - # Returns a list of all permissions, including name, description, and ID. - # @param [Hash] opts the optional parameters - # @return [PermissionsResponse] - describe 'list_permissions test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_role_permissions - # List permissions for a role - # Returns a list of all permissions for a single role. - # @param role_id The ID of the role. - # @param [Hash] opts the optional parameters - # @return [PermissionsResponse] - describe 'list_role_permissions test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_role_users - # Get all users of a role - # Gets all users of a role. - # @param role_id The ID of the role. - # @param [Hash] opts the optional parameters - # @option opts [Integer] :page_size Size for a given page. - # @option opts [Integer] :page_number Specific page number to return. - # @option opts [String] :sort User attribute to order results by. Sort order is **ascending** by default. Sort order is **descending** if the field is prefixed by a negative sign, for example `sort=-name`. Options: `name`, `email`, `status`. - # @option opts [String] :filter Filter all users by the given string. Defaults to no filtering. - # @return [UsersResponse] - describe 'list_role_users test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_roles - # List roles - # Returns all roles, including their names and IDs. - # @param [Hash] opts the optional parameters - # @option opts [Integer] :page_size Size for a given page. - # @option opts [Integer] :page_number Specific page number to return. - # @option opts [RolesSort] :sort Sort roles depending on the given field. Sort order is **ascending** by default. Sort order is **descending** if the field is prefixed by a negative sign, for example: `sort=-name`. - # @option opts [String] :filter Filter all roles by the given string. - # @return [RolesResponse] - describe 'list_roles test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for remove_permission_from_role - # Revoke permission - # Removes a permission from a role. - # @param role_id The ID of the role. - # @param [Hash] opts the optional parameters - # @option opts [RelationshipToPermission] :body - # @return [PermissionsResponse] - describe 'remove_permission_from_role test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for remove_user_from_role - # Remove a user from a role - # Removes a user from a role. - # @param role_id The ID of the role. - # @param [Hash] opts the optional parameters - # @option opts [RelationshipToUser] :body - # @return [UsersResponse] - describe 'remove_user_from_role test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for update_role - # Update a role - # Edit a role. Can only be used with application keys belonging to administrators. - # @param role_id The ID of the role. - # @param [Hash] opts the optional parameters - # @option opts [RoleUpdateRequest] :body - # @return [RoleUpdateResponse] - describe 'update_role test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/api/security_monitoring_api_spec.rb b/spec/v2/api/security_monitoring_api_spec.rb deleted file mode 100644 index b365aecb81a..00000000000 --- a/spec/v2/api/security_monitoring_api_spec.rb +++ /dev/null @@ -1,126 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' - -# Unit tests for DatadogAPIClient::V2::SecurityMonitoringApi -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SecurityMonitoringApi' do - before do - # run before each test - @api_instance = DatadogAPIClient::V2::SecurityMonitoringApi.new - end - - after do - # run after each test - end - - describe 'test an instance of SecurityMonitoringApi' do - it 'should create an instance of SecurityMonitoringApi' do - expect(@api_instance).to be_instance_of(DatadogAPIClient::V2::SecurityMonitoringApi) - end - end - - # unit tests for create_security_monitoring_rule - # Create a detection rule - # Create a detection rule. - # @param [Hash] opts the optional parameters - # @option opts [SecurityMonitoringRuleCreatePayload] :body - # @return [SecurityMonitoringRuleResponse] - describe 'create_security_monitoring_rule test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_security_monitoring_rule - # Delete an existing rule - # Delete an existing rule. Default rules cannot be deleted. - # @param rule_id The ID of the rule. - # @param [Hash] opts the optional parameters - # @return [nil] - describe 'delete_security_monitoring_rule test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for get_security_monitoring_rule - # Get a rule's details - # Get a rule's details. - # @param rule_id The ID of the rule. - # @param [Hash] opts the optional parameters - # @return [SecurityMonitoringRuleResponse] - describe 'get_security_monitoring_rule test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_security_monitoring_rules - # List rules - # List rules. - # @param [Hash] opts the optional parameters - # @option opts [Integer] :page_size Size for a given page. - # @option opts [Integer] :page_number Specific page number to return. - # @return [SecurityMonitoringListRulesResponse] - describe 'list_security_monitoring_rules test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_security_monitoring_signals - # Get a quick list of security signals - # The list endpoint returns security signals that match a search query. Both this endpoint and the POST endpoint can be used interchangeably when listing security signals. - # @param [Hash] opts the optional parameters - # @option opts [String] :filter_query The search query for security signals. - # @option opts [DateTime] :filter_from The minimum timestamp for requested security signals. - # @option opts [DateTime] :filter_to The maximum timestamp for requested security signals. - # @option opts [SecurityMonitoringSignalsSort] :sort The order of the security signals in results. - # @option opts [String] :page_cursor A list of results using the cursor provided in the previous query. - # @option opts [Integer] :page_limit The maximum number of security signals in the response. - # @return [SecurityMonitoringSignalsListResponse] - describe 'list_security_monitoring_signals test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for search_security_monitoring_signals - # Get a list of security signals - # Returns security signals that match a search query. Both this endpoint and the GET endpoint can be used interchangeably for listing security signals. - # @param [Hash] opts the optional parameters - # @option opts [SecurityMonitoringSignalListRequest] :body - # @return [SecurityMonitoringSignalsListResponse] - describe 'search_security_monitoring_signals test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for update_security_monitoring_rule - # Update an existing rule - # Update an existing rule. When updating `cases`, `queries` or `options`, the whole field must be included. For example, when modifying a query all queries must be included. Default rules can only be updated to be enabled and to change notifications. - # @param rule_id The ID of the rule. - # @param [Hash] opts the optional parameters - # @option opts [SecurityMonitoringRuleUpdatePayload] :body - # @return [SecurityMonitoringRuleResponse] - describe 'update_security_monitoring_rule test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/api/users_api_spec.rb b/spec/v2/api/users_api_spec.rb deleted file mode 100644 index 445bf1e769c..00000000000 --- a/spec/v2/api/users_api_spec.rb +++ /dev/null @@ -1,149 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' - -# Unit tests for DatadogAPIClient::V2::UsersApi -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'UsersApi' do - before do - # run before each test - @api_instance = DatadogAPIClient::V2::UsersApi.new - end - - after do - # run after each test - end - - describe 'test an instance of UsersApi' do - it 'should create an instance of UsersApi' do - expect(@api_instance).to be_instance_of(DatadogAPIClient::V2::UsersApi) - end - end - - # unit tests for create_user - # Create a user - # Create a user for your organization. - # @param [Hash] opts the optional parameters - # @option opts [UserCreateRequest] :body - # @return [UserResponse] - describe 'create_user test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for disable_user - # Disable a user - # Disable a user. Can only be used with an application key belonging to an administrator user. - # @param user_id The ID of the user. - # @param [Hash] opts the optional parameters - # @return [nil] - describe 'disable_user test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for get_invitation - # Get a user invitation - # Returns a single user invitation by its UUID. - # @param user_invitation_uuid The UUID of the user invitation. - # @param [Hash] opts the optional parameters - # @return [UserInvitationResponse] - describe 'get_invitation test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for get_user - # Get a user - # Get a user in the organization specified by the user’s `user_id`. - # @param user_id The ID of the user. - # @param [Hash] opts the optional parameters - # @return [UserResponse] - describe 'get_user test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_user_organizations - # Get a user organization - # Get a user organization. Returns the user information and all organizations joined by this user. - # @param user_id The ID of the user. - # @param [Hash] opts the optional parameters - # @return [UserResponse] - describe 'list_user_organizations test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_user_permissions - # Get a user permissions - # Get a user permission set. Returns a list of the user’s permissions granted by the associated user's roles. - # @param user_id The ID of the user. - # @param [Hash] opts the optional parameters - # @return [PermissionsResponse] - describe 'list_user_permissions test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_users - # List all users - # Get the list of all users in the organization. This list includes all users even if they are disabled or unverified. - # @param [Hash] opts the optional parameters - # @option opts [Integer] :page_size Size for a given page. - # @option opts [Integer] :page_number Specific page number to return. - # @option opts [String] :sort User attribute to order results by. Sort order is ascending by default. Sort order is descending if the field is prefixed by a negative sign, for example `sort=-name`. Options: `name`, `modified_at`, `user_count`. - # @option opts [QuerySortOrder] :sort_dir Direction of sort. Options: `asc`, `desc`. - # @option opts [String] :filter Filter all users by the given string. Defaults to no filtering. - # @option opts [String] :filter_status Filter on status attribute. Comma separated list, with possible values `Active`, `Pending`, and `Disabled`. Defaults to no filtering. - # @return [UsersResponse] - describe 'list_users test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for send_invitations - # Send invitation emails - # Sends emails to one or more users inviting them to join the organization. - # @param [Hash] opts the optional parameters - # @option opts [UserInvitationsRequest] :body - # @return [UserInvitationsResponse] - describe 'send_invitations test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for update_user - # Update a user - # Edit a user. Can only be used with an application key belonging to an administrator user. - # @param user_id The ID of the user. - # @param [Hash] opts the optional parameters - # @option opts [UserUpdateRequest] :body - # @return [UserResponse] - describe 'update_user test' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/api_client_spec.rb b/spec/v2/api_client_spec.rb deleted file mode 100644 index e2fedaa736e..00000000000 --- a/spec/v2/api_client_spec.rb +++ /dev/null @@ -1,226 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' - -describe DatadogAPIClient::V2::ApiClient do - context 'initialization' do - context 'URL stuff' do - context 'host' do - it 'removes http from host' do - DatadogAPIClient::V2.configure { |c| c.host = 'http://example.com' } - expect(DatadogAPIClient::V2::Configuration.default.host).to eq('example.com') - end - - it 'removes https from host' do - DatadogAPIClient::V2.configure { |c| c.host = 'https://wookiee.com' } - expect(DatadogAPIClient::V2::ApiClient.default.config.host).to eq('wookiee.com') - end - - it 'removes trailing path from host' do - DatadogAPIClient::V2.configure { |c| c.host = 'hobo.com/v4' } - expect(DatadogAPIClient::V2::Configuration.default.host).to eq('hobo.com') - end - end - - context 'base_path' do - it "prepends a slash to base_path" do - DatadogAPIClient::V2.configure { |c| c.base_path = 'v4/dog' } - expect(DatadogAPIClient::V2::Configuration.default.base_path).to eq('/v4/dog') - end - - it "doesn't prepend a slash if one is already there" do - DatadogAPIClient::V2.configure { |c| c.base_path = '/v4/dog' } - expect(DatadogAPIClient::V2::Configuration.default.base_path).to eq('/v4/dog') - end - - it "ends up as a blank string if nil" do - DatadogAPIClient::V2.configure { |c| c.base_path = nil } - expect(DatadogAPIClient::V2::Configuration.default.base_path).to eq('') - end - end - end - end - - describe 'params_encoding in #build_request' do - let(:config) { DatadogAPIClient::V2::Configuration.new } - let(:api_client) { DatadogAPIClient::V2::ApiClient.new(config) } - - it 'defaults to nil' do - expect(DatadogAPIClient::V2::Configuration.default.params_encoding).to eq(nil) - expect(config.params_encoding).to eq(nil) - - request = api_client.build_request(:get, '/test') - expect(request.options[:params_encoding]).to eq(nil) - end - - it 'can be customized' do - config.params_encoding = :multi - request = api_client.build_request(:get, '/test') - expect(request.options[:params_encoding]).to eq(:multi) - end - end - - describe 'timeout in #build_request' do - let(:config) { DatadogAPIClient::V2::Configuration.new } - let(:api_client) { DatadogAPIClient::V2::ApiClient.new(config) } - - it 'defaults to 0' do - expect(DatadogAPIClient::V2::Configuration.default.timeout).to eq(0) - expect(config.timeout).to eq(0) - - request = api_client.build_request(:get, '/test') - expect(request.options[:timeout]).to eq(0) - end - - it 'can be customized' do - config.timeout = 100 - request = api_client.build_request(:get, '/test') - expect(request.options[:timeout]).to eq(100) - end - end - - describe '#deserialize' do - it "handles Array" do - api_client = DatadogAPIClient::V2::ApiClient.new - headers = { 'Content-Type' => 'application/json' } - response = double('response', headers: headers, body: '[12, 34]') - data = api_client.deserialize(response, 'Array') - expect(data).to be_instance_of(Array) - expect(data).to eq([12, 34]) - end - - it 'handles Array>' do - api_client = DatadogAPIClient::V2::ApiClient.new - headers = { 'Content-Type' => 'application/json' } - response = double('response', headers: headers, body: '[[12, 34], [56]]') - data = api_client.deserialize(response, 'Array>') - expect(data).to be_instance_of(Array) - expect(data).to eq([[12, 34], [56]]) - end - - it 'handles Hash' do - api_client = DatadogAPIClient::V2::ApiClient.new - headers = { 'Content-Type' => 'application/json' } - response = double('response', headers: headers, body: '{"message": "Hello"}') - data = api_client.deserialize(response, 'Hash') - expect(data).to be_instance_of(Hash) - expect(data).to eq(:message => 'Hello') - end - end - - describe "#object_to_hash" do - it 'ignores nils and includes empty arrays' do - # uncomment below to test object_to_hash for model - # api_client = DatadogAPIClient::V2::ApiClient.new - # _model = DatadogAPIClient::V2::ModelName.new - # update the model attribute below - # _model.id = 1 - # update the expected value (hash) below - # expected = {id: 1, name: '', tags: []} - # expect(api_client.object_to_hash(_model)).to eq(expected) - end - end - - describe '#build_collection_param' do - let(:param) { ['aa', 'bb', 'cc'] } - let(:api_client) { DatadogAPIClient::V2::ApiClient.new } - - it 'works for csv' do - expect(api_client.build_collection_param(param, :csv)).to eq('aa,bb,cc') - end - - it 'works for ssv' do - expect(api_client.build_collection_param(param, :ssv)).to eq('aa bb cc') - end - - it 'works for tsv' do - expect(api_client.build_collection_param(param, :tsv)).to eq("aa\tbb\tcc") - end - - it 'works for pipes' do - expect(api_client.build_collection_param(param, :pipes)).to eq('aa|bb|cc') - end - - it 'works for multi' do - expect(api_client.build_collection_param(param, :multi)).to eq(['aa', 'bb', 'cc']) - end - - it 'fails for invalid collection format' do - expect { api_client.build_collection_param(param, :INVALID) }.to raise_error(RuntimeError, 'unknown collection format: :INVALID') - end - end - - describe '#json_mime?' do - let(:api_client) { DatadogAPIClient::V2::ApiClient.new } - - it 'works' do - expect(api_client.json_mime?(nil)).to eq false - expect(api_client.json_mime?('')).to eq false - - expect(api_client.json_mime?('application/json')).to eq true - expect(api_client.json_mime?('application/json; charset=UTF8')).to eq true - expect(api_client.json_mime?('APPLICATION/JSON')).to eq true - - expect(api_client.json_mime?('application/xml')).to eq false - expect(api_client.json_mime?('text/plain')).to eq false - expect(api_client.json_mime?('application/jsonp')).to eq false - end - end - - describe '#select_header_accept' do - let(:api_client) { DatadogAPIClient::V2::ApiClient.new } - - it 'works' do - expect(api_client.select_header_accept(nil)).to be_nil - expect(api_client.select_header_accept([])).to be_nil - - expect(api_client.select_header_accept(['application/json'])).to eq('application/json') - expect(api_client.select_header_accept(['application/xml', 'application/json; charset=UTF8'])).to eq('application/json; charset=UTF8') - expect(api_client.select_header_accept(['APPLICATION/JSON', 'text/html'])).to eq('APPLICATION/JSON') - - expect(api_client.select_header_accept(['application/xml'])).to eq('application/xml') - expect(api_client.select_header_accept(['text/html', 'application/xml'])).to eq('text/html,application/xml') - end - end - - describe '#select_header_content_type' do - let(:api_client) { DatadogAPIClient::V2::ApiClient.new } - - it 'works' do - expect(api_client.select_header_content_type(nil)).to eq('application/json') - expect(api_client.select_header_content_type([])).to eq('application/json') - - expect(api_client.select_header_content_type(['application/json'])).to eq('application/json') - expect(api_client.select_header_content_type(['application/xml', 'application/json; charset=UTF8'])).to eq('application/json; charset=UTF8') - expect(api_client.select_header_content_type(['APPLICATION/JSON', 'text/html'])).to eq('APPLICATION/JSON') - expect(api_client.select_header_content_type(['application/xml'])).to eq('application/xml') - expect(api_client.select_header_content_type(['text/plain', 'application/xml'])).to eq('text/plain') - end - end - - describe '#sanitize_filename' do - let(:api_client) { DatadogAPIClient::V2::ApiClient.new } - - it 'works' do - expect(api_client.sanitize_filename('sun')).to eq('sun') - expect(api_client.sanitize_filename('sun.gif')).to eq('sun.gif') - expect(api_client.sanitize_filename('../sun.gif')).to eq('sun.gif') - expect(api_client.sanitize_filename('/var/tmp/sun.gif')).to eq('sun.gif') - expect(api_client.sanitize_filename('./sun.gif')).to eq('sun.gif') - expect(api_client.sanitize_filename('..\sun.gif')).to eq('sun.gif') - expect(api_client.sanitize_filename('\var\tmp\sun.gif')).to eq('sun.gif') - expect(api_client.sanitize_filename('c:\var\tmp\sun.gif')).to eq('sun.gif') - expect(api_client.sanitize_filename('.\sun.gif')).to eq('sun.gif') - end - end -end diff --git a/spec/v2/configuration_spec.rb b/spec/v2/configuration_spec.rb deleted file mode 100644 index 594cd5f809a..00000000000 --- a/spec/v2/configuration_spec.rb +++ /dev/null @@ -1,42 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' - -describe DatadogAPIClient::V2::Configuration do - let(:config) { DatadogAPIClient::V2::Configuration.default } - - before(:each) do - # uncomment below to setup host and base_path - # require 'URI' - # uri = URI.parse("https://api.datadoghq.com") - # DatadogAPIClient::V2.configure do |c| - # c.host = uri.host - # c.base_path = uri.path - # end - end - - describe '#base_url' do - it 'should have the default value' do - # uncomment below to test default value of the base path - # expect(config.base_url).to eq("https://api.datadoghq.com") - end - - it 'should remove trailing slashes' do - [nil, '', '/', '//'].each do |base_path| - config.base_path = base_path - # uncomment below to test trailing slashes - # expect(config.base_url).to eq("https://api.datadoghq.com") - end - end - end -end diff --git a/spec/v2/models/api_error_response_spec.rb b/spec/v2/models/api_error_response_spec.rb deleted file mode 100644 index 6128ce50131..00000000000 --- a/spec/v2/models/api_error_response_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::APIErrorResponse -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'APIErrorResponse' do - before do - # run before each test - @instance = DatadogAPIClient::V2::APIErrorResponse.new - end - - after do - # run after each test - end - - describe 'test an instance of APIErrorResponse' do - it 'should create an instance of APIErrorResponse' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::APIErrorResponse) - end - end - describe 'test attribute "errors"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/creator_spec.rb b/spec/v2/models/creator_spec.rb deleted file mode 100644 index 5e2234e651b..00000000000 --- a/spec/v2/models/creator_spec.rb +++ /dev/null @@ -1,53 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::Creator -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'Creator' do - before do - # run before each test - @instance = DatadogAPIClient::V2::Creator.new - end - - after do - # run after each test - end - - describe 'test an instance of Creator' do - it 'should create an instance of Creator' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::Creator) - end - end - describe 'test attribute "email"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "handle"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/dashboard_list_add_items_request_spec.rb b/spec/v2/models/dashboard_list_add_items_request_spec.rb deleted file mode 100644 index 41627574957..00000000000 --- a/spec/v2/models/dashboard_list_add_items_request_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::DashboardListAddItemsRequest -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'DashboardListAddItemsRequest' do - before do - # run before each test - @instance = DatadogAPIClient::V2::DashboardListAddItemsRequest.new - end - - after do - # run after each test - end - - describe 'test an instance of DashboardListAddItemsRequest' do - it 'should create an instance of DashboardListAddItemsRequest' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::DashboardListAddItemsRequest) - end - end - describe 'test attribute "dashboards"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/dashboard_list_add_items_response_spec.rb b/spec/v2/models/dashboard_list_add_items_response_spec.rb deleted file mode 100644 index 22c4c2eab22..00000000000 --- a/spec/v2/models/dashboard_list_add_items_response_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::DashboardListAddItemsResponse -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'DashboardListAddItemsResponse' do - before do - # run before each test - @instance = DatadogAPIClient::V2::DashboardListAddItemsResponse.new - end - - after do - # run after each test - end - - describe 'test an instance of DashboardListAddItemsResponse' do - it 'should create an instance of DashboardListAddItemsResponse' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::DashboardListAddItemsResponse) - end - end - describe 'test attribute "added_dashboards_to_list"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/dashboard_list_delete_items_request_spec.rb b/spec/v2/models/dashboard_list_delete_items_request_spec.rb deleted file mode 100644 index b7091c89233..00000000000 --- a/spec/v2/models/dashboard_list_delete_items_request_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::DashboardListDeleteItemsRequest -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'DashboardListDeleteItemsRequest' do - before do - # run before each test - @instance = DatadogAPIClient::V2::DashboardListDeleteItemsRequest.new - end - - after do - # run after each test - end - - describe 'test an instance of DashboardListDeleteItemsRequest' do - it 'should create an instance of DashboardListDeleteItemsRequest' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::DashboardListDeleteItemsRequest) - end - end - describe 'test attribute "dashboards"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/dashboard_list_delete_items_response_spec.rb b/spec/v2/models/dashboard_list_delete_items_response_spec.rb deleted file mode 100644 index 065fde5e3e0..00000000000 --- a/spec/v2/models/dashboard_list_delete_items_response_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::DashboardListDeleteItemsResponse -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'DashboardListDeleteItemsResponse' do - before do - # run before each test - @instance = DatadogAPIClient::V2::DashboardListDeleteItemsResponse.new - end - - after do - # run after each test - end - - describe 'test an instance of DashboardListDeleteItemsResponse' do - it 'should create an instance of DashboardListDeleteItemsResponse' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::DashboardListDeleteItemsResponse) - end - end - describe 'test attribute "deleted_dashboards_from_list"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/dashboard_list_item_request_spec.rb b/spec/v2/models/dashboard_list_item_request_spec.rb deleted file mode 100644 index bcde746beff..00000000000 --- a/spec/v2/models/dashboard_list_item_request_spec.rb +++ /dev/null @@ -1,47 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::DashboardListItemRequest -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'DashboardListItemRequest' do - before do - # run before each test - @instance = DatadogAPIClient::V2::DashboardListItemRequest.new - end - - after do - # run after each test - end - - describe 'test an instance of DashboardListItemRequest' do - it 'should create an instance of DashboardListItemRequest' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::DashboardListItemRequest) - end - end - describe 'test attribute "id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/dashboard_list_item_response_spec.rb b/spec/v2/models/dashboard_list_item_response_spec.rb deleted file mode 100644 index 96aa4e82ea6..00000000000 --- a/spec/v2/models/dashboard_list_item_response_spec.rb +++ /dev/null @@ -1,47 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::DashboardListItemResponse -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'DashboardListItemResponse' do - before do - # run before each test - @instance = DatadogAPIClient::V2::DashboardListItemResponse.new - end - - after do - # run after each test - end - - describe 'test an instance of DashboardListItemResponse' do - it 'should create an instance of DashboardListItemResponse' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::DashboardListItemResponse) - end - end - describe 'test attribute "id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/dashboard_list_item_spec.rb b/spec/v2/models/dashboard_list_item_spec.rb deleted file mode 100644 index e8fe458cf12..00000000000 --- a/spec/v2/models/dashboard_list_item_spec.rb +++ /dev/null @@ -1,107 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::DashboardListItem -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'DashboardListItem' do - before do - # run before each test - @instance = DatadogAPIClient::V2::DashboardListItem.new - end - - after do - # run after each test - end - - describe 'test an instance of DashboardListItem' do - it 'should create an instance of DashboardListItem' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::DashboardListItem) - end - end - describe 'test attribute "author"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "created"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "icon"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "is_favorite"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "is_read_only"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "is_shared"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "modified"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "popularity"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "title"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "url"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/dashboard_list_items_spec.rb b/spec/v2/models/dashboard_list_items_spec.rb deleted file mode 100644 index 8d6a283e1bb..00000000000 --- a/spec/v2/models/dashboard_list_items_spec.rb +++ /dev/null @@ -1,47 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::DashboardListItems -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'DashboardListItems' do - before do - # run before each test - @instance = DatadogAPIClient::V2::DashboardListItems.new - end - - after do - # run after each test - end - - describe 'test an instance of DashboardListItems' do - it 'should create an instance of DashboardListItems' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::DashboardListItems) - end - end - describe 'test attribute "dashboards"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "total"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/dashboard_list_update_items_request_spec.rb b/spec/v2/models/dashboard_list_update_items_request_spec.rb deleted file mode 100644 index c17bd481544..00000000000 --- a/spec/v2/models/dashboard_list_update_items_request_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::DashboardListUpdateItemsRequest -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'DashboardListUpdateItemsRequest' do - before do - # run before each test - @instance = DatadogAPIClient::V2::DashboardListUpdateItemsRequest.new - end - - after do - # run after each test - end - - describe 'test an instance of DashboardListUpdateItemsRequest' do - it 'should create an instance of DashboardListUpdateItemsRequest' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::DashboardListUpdateItemsRequest) - end - end - describe 'test attribute "dashboards"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/dashboard_list_update_items_response_spec.rb b/spec/v2/models/dashboard_list_update_items_response_spec.rb deleted file mode 100644 index 77e67ce3391..00000000000 --- a/spec/v2/models/dashboard_list_update_items_response_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::DashboardListUpdateItemsResponse -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'DashboardListUpdateItemsResponse' do - before do - # run before each test - @instance = DatadogAPIClient::V2::DashboardListUpdateItemsResponse.new - end - - after do - # run after each test - end - - describe 'test an instance of DashboardListUpdateItemsResponse' do - it 'should create an instance of DashboardListUpdateItemsResponse' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::DashboardListUpdateItemsResponse) - end - end - describe 'test attribute "dashboards"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/dashboard_type_spec.rb b/spec/v2/models/dashboard_type_spec.rb deleted file mode 100644 index d7d0bfe5fb1..00000000000 --- a/spec/v2/models/dashboard_type_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::DashboardType -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'DashboardType' do - before do - # run before each test - @instance = DatadogAPIClient::V2::DashboardType.new - end - - after do - # run after each test - end - - describe 'test an instance of DashboardType' do - it 'should create an instance of DashboardType' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::DashboardType) - end - end -end diff --git a/spec/v2/models/log_attributes_spec.rb b/spec/v2/models/log_attributes_spec.rb deleted file mode 100644 index bf8ba8a4286..00000000000 --- a/spec/v2/models/log_attributes_spec.rb +++ /dev/null @@ -1,77 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::LogAttributes -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogAttributes' do - before do - # run before each test - @instance = DatadogAPIClient::V2::LogAttributes.new - end - - after do - # run after each test - end - - describe 'test an instance of LogAttributes' do - it 'should create an instance of LogAttributes' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::LogAttributes) - end - end - describe 'test attribute "attributes"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "host"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "message"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "service"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "status"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "tags"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "timestamp"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/log_spec.rb b/spec/v2/models/log_spec.rb deleted file mode 100644 index 07b69f0a1d5..00000000000 --- a/spec/v2/models/log_spec.rb +++ /dev/null @@ -1,53 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::Log -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'Log' do - before do - # run before each test - @instance = DatadogAPIClient::V2::Log.new - end - - after do - # run after each test - end - - describe 'test an instance of Log' do - it 'should create an instance of Log' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::Log) - end - end - describe 'test attribute "attributes"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/log_type_spec.rb b/spec/v2/models/log_type_spec.rb deleted file mode 100644 index adcff289fca..00000000000 --- a/spec/v2/models/log_type_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::LogType -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogType' do - before do - # run before each test - @instance = DatadogAPIClient::V2::LogType.new - end - - after do - # run after each test - end - - describe 'test an instance of LogType' do - it 'should create an instance of LogType' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::LogType) - end - end -end diff --git a/spec/v2/models/logs_aggregate_bucket_spec.rb b/spec/v2/models/logs_aggregate_bucket_spec.rb deleted file mode 100644 index 1ecd8224b3e..00000000000 --- a/spec/v2/models/logs_aggregate_bucket_spec.rb +++ /dev/null @@ -1,47 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::LogsAggregateBucket -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogsAggregateBucket' do - before do - # run before each test - @instance = DatadogAPIClient::V2::LogsAggregateBucket.new - end - - after do - # run after each test - end - - describe 'test an instance of LogsAggregateBucket' do - it 'should create an instance of LogsAggregateBucket' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::LogsAggregateBucket) - end - end - describe 'test attribute "by"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "computes"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/logs_aggregate_bucket_value_spec.rb b/spec/v2/models/logs_aggregate_bucket_value_spec.rb deleted file mode 100644 index eccea4745ac..00000000000 --- a/spec/v2/models/logs_aggregate_bucket_value_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::LogsAggregateBucketValue -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogsAggregateBucketValue' do - before do - # run before each test - @instance = DatadogAPIClient::V2::LogsAggregateBucketValue.new - end - - after do - # run after each test - end - - describe 'test an instance of LogsAggregateBucketValue' do - it 'should create an instance of LogsAggregateBucketValue' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::LogsAggregateBucketValue) - end - end -end diff --git a/spec/v2/models/logs_aggregate_bucket_value_timeseries_point_spec.rb b/spec/v2/models/logs_aggregate_bucket_value_timeseries_point_spec.rb deleted file mode 100644 index c7f8d63a337..00000000000 --- a/spec/v2/models/logs_aggregate_bucket_value_timeseries_point_spec.rb +++ /dev/null @@ -1,47 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::LogsAggregateBucketValueTimeseriesPoint -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogsAggregateBucketValueTimeseriesPoint' do - before do - # run before each test - @instance = DatadogAPIClient::V2::LogsAggregateBucketValueTimeseriesPoint.new - end - - after do - # run after each test - end - - describe 'test an instance of LogsAggregateBucketValueTimeseriesPoint' do - it 'should create an instance of LogsAggregateBucketValueTimeseriesPoint' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::LogsAggregateBucketValueTimeseriesPoint) - end - end - describe 'test attribute "time"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "value"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/logs_aggregate_bucket_value_timeseries_spec.rb b/spec/v2/models/logs_aggregate_bucket_value_timeseries_spec.rb deleted file mode 100644 index cff0cca0572..00000000000 --- a/spec/v2/models/logs_aggregate_bucket_value_timeseries_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::LogsAggregateBucketValueTimeseries -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogsAggregateBucketValueTimeseries' do - before do - # run before each test - @instance = DatadogAPIClient::V2::LogsAggregateBucketValueTimeseries.new - end - - after do - # run after each test - end - - describe 'test an instance of LogsAggregateBucketValueTimeseries' do - it 'should create an instance of LogsAggregateBucketValueTimeseries' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::LogsAggregateBucketValueTimeseries) - end - end -end diff --git a/spec/v2/models/logs_aggregate_request_paging_spec.rb b/spec/v2/models/logs_aggregate_request_paging_spec.rb deleted file mode 100644 index 00b2c764c24..00000000000 --- a/spec/v2/models/logs_aggregate_request_paging_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::LogsAggregateRequestPaging -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogsAggregateRequestPaging' do - before do - # run before each test - @instance = DatadogAPIClient::V2::LogsAggregateRequestPaging.new - end - - after do - # run after each test - end - - describe 'test an instance of LogsAggregateRequestPaging' do - it 'should create an instance of LogsAggregateRequestPaging' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::LogsAggregateRequestPaging) - end - end - describe 'test attribute "after"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/logs_aggregate_request_spec.rb b/spec/v2/models/logs_aggregate_request_spec.rb deleted file mode 100644 index 161233ac533..00000000000 --- a/spec/v2/models/logs_aggregate_request_spec.rb +++ /dev/null @@ -1,65 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::LogsAggregateRequest -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogsAggregateRequest' do - before do - # run before each test - @instance = DatadogAPIClient::V2::LogsAggregateRequest.new - end - - after do - # run after each test - end - - describe 'test an instance of LogsAggregateRequest' do - it 'should create an instance of LogsAggregateRequest' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::LogsAggregateRequest) - end - end - describe 'test attribute "compute"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "filter"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "group_by"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "options"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "paging"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/logs_aggregate_response_data_spec.rb b/spec/v2/models/logs_aggregate_response_data_spec.rb deleted file mode 100644 index 348a1237fad..00000000000 --- a/spec/v2/models/logs_aggregate_response_data_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::LogsAggregateResponseData -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogsAggregateResponseData' do - before do - # run before each test - @instance = DatadogAPIClient::V2::LogsAggregateResponseData.new - end - - after do - # run after each test - end - - describe 'test an instance of LogsAggregateResponseData' do - it 'should create an instance of LogsAggregateResponseData' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::LogsAggregateResponseData) - end - end - describe 'test attribute "buckets"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/logs_aggregate_response_spec.rb b/spec/v2/models/logs_aggregate_response_spec.rb deleted file mode 100644 index 422411871e8..00000000000 --- a/spec/v2/models/logs_aggregate_response_spec.rb +++ /dev/null @@ -1,47 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::LogsAggregateResponse -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogsAggregateResponse' do - before do - # run before each test - @instance = DatadogAPIClient::V2::LogsAggregateResponse.new - end - - after do - # run after each test - end - - describe 'test an instance of LogsAggregateResponse' do - it 'should create an instance of LogsAggregateResponse' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::LogsAggregateResponse) - end - end - describe 'test attribute "data"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "meta"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/logs_aggregate_response_status_spec.rb b/spec/v2/models/logs_aggregate_response_status_spec.rb deleted file mode 100644 index 55bebc79987..00000000000 --- a/spec/v2/models/logs_aggregate_response_status_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::LogsAggregateResponseStatus -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogsAggregateResponseStatus' do - before do - # run before each test - @instance = DatadogAPIClient::V2::LogsAggregateResponseStatus.new - end - - after do - # run after each test - end - - describe 'test an instance of LogsAggregateResponseStatus' do - it 'should create an instance of LogsAggregateResponseStatus' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::LogsAggregateResponseStatus) - end - end -end diff --git a/spec/v2/models/logs_aggregate_sort_spec.rb b/spec/v2/models/logs_aggregate_sort_spec.rb deleted file mode 100644 index dcc3211669f..00000000000 --- a/spec/v2/models/logs_aggregate_sort_spec.rb +++ /dev/null @@ -1,59 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::LogsAggregateSort -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogsAggregateSort' do - before do - # run before each test - @instance = DatadogAPIClient::V2::LogsAggregateSort.new - end - - after do - # run after each test - end - - describe 'test an instance of LogsAggregateSort' do - it 'should create an instance of LogsAggregateSort' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::LogsAggregateSort) - end - end - describe 'test attribute "aggregation"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metric"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "order"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/logs_aggregate_sort_type_spec.rb b/spec/v2/models/logs_aggregate_sort_type_spec.rb deleted file mode 100644 index a7060c5007c..00000000000 --- a/spec/v2/models/logs_aggregate_sort_type_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::LogsAggregateSortType -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogsAggregateSortType' do - before do - # run before each test - @instance = DatadogAPIClient::V2::LogsAggregateSortType.new - end - - after do - # run after each test - end - - describe 'test an instance of LogsAggregateSortType' do - it 'should create an instance of LogsAggregateSortType' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::LogsAggregateSortType) - end - end -end diff --git a/spec/v2/models/logs_aggregation_function_spec.rb b/spec/v2/models/logs_aggregation_function_spec.rb deleted file mode 100644 index df72a6894dd..00000000000 --- a/spec/v2/models/logs_aggregation_function_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::LogsAggregationFunction -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogsAggregationFunction' do - before do - # run before each test - @instance = DatadogAPIClient::V2::LogsAggregationFunction.new - end - - after do - # run after each test - end - - describe 'test an instance of LogsAggregationFunction' do - it 'should create an instance of LogsAggregationFunction' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::LogsAggregationFunction) - end - end -end diff --git a/spec/v2/models/logs_archive_attributes_spec.rb b/spec/v2/models/logs_archive_attributes_spec.rb deleted file mode 100644 index dc597461402..00000000000 --- a/spec/v2/models/logs_archive_attributes_spec.rb +++ /dev/null @@ -1,59 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::LogsArchiveAttributes -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogsArchiveAttributes' do - before do - # run before each test - @instance = DatadogAPIClient::V2::LogsArchiveAttributes.new - end - - after do - # run after each test - end - - describe 'test an instance of LogsArchiveAttributes' do - it 'should create an instance of LogsArchiveAttributes' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::LogsArchiveAttributes) - end - end - describe 'test attribute "destination"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "query"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "state"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/logs_archive_create_request_attributes_spec.rb b/spec/v2/models/logs_archive_create_request_attributes_spec.rb deleted file mode 100644 index 64ddc831f4e..00000000000 --- a/spec/v2/models/logs_archive_create_request_attributes_spec.rb +++ /dev/null @@ -1,53 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::LogsArchiveCreateRequestAttributes -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogsArchiveCreateRequestAttributes' do - before do - # run before each test - @instance = DatadogAPIClient::V2::LogsArchiveCreateRequestAttributes.new - end - - after do - # run after each test - end - - describe 'test an instance of LogsArchiveCreateRequestAttributes' do - it 'should create an instance of LogsArchiveCreateRequestAttributes' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::LogsArchiveCreateRequestAttributes) - end - end - describe 'test attribute "destination"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "query"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/logs_archive_create_request_definition_spec.rb b/spec/v2/models/logs_archive_create_request_definition_spec.rb deleted file mode 100644 index e353c0b49af..00000000000 --- a/spec/v2/models/logs_archive_create_request_definition_spec.rb +++ /dev/null @@ -1,47 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::LogsArchiveCreateRequestDefinition -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogsArchiveCreateRequestDefinition' do - before do - # run before each test - @instance = DatadogAPIClient::V2::LogsArchiveCreateRequestDefinition.new - end - - after do - # run after each test - end - - describe 'test an instance of LogsArchiveCreateRequestDefinition' do - it 'should create an instance of LogsArchiveCreateRequestDefinition' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::LogsArchiveCreateRequestDefinition) - end - end - describe 'test attribute "attributes"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/logs_archive_create_request_destination_spec.rb b/spec/v2/models/logs_archive_create_request_destination_spec.rb deleted file mode 100644 index 2957818c3c0..00000000000 --- a/spec/v2/models/logs_archive_create_request_destination_spec.rb +++ /dev/null @@ -1,77 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::LogsArchiveCreateRequestDestination -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogsArchiveCreateRequestDestination' do - before do - # run before each test - @instance = DatadogAPIClient::V2::LogsArchiveCreateRequestDestination.new - end - - after do - # run after each test - end - - describe 'test an instance of LogsArchiveCreateRequestDestination' do - it 'should create an instance of LogsArchiveCreateRequestDestination' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::LogsArchiveCreateRequestDestination) - end - end - describe 'test attribute "container"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "integration"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "path"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "region"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "storage_account"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "bucket"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/logs_archive_create_request_spec.rb b/spec/v2/models/logs_archive_create_request_spec.rb deleted file mode 100644 index 4117e10d146..00000000000 --- a/spec/v2/models/logs_archive_create_request_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::LogsArchiveCreateRequest -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogsArchiveCreateRequest' do - before do - # run before each test - @instance = DatadogAPIClient::V2::LogsArchiveCreateRequest.new - end - - after do - # run after each test - end - - describe 'test an instance of LogsArchiveCreateRequest' do - it 'should create an instance of LogsArchiveCreateRequest' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::LogsArchiveCreateRequest) - end - end - describe 'test attribute "data"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/logs_archive_definition_spec.rb b/spec/v2/models/logs_archive_definition_spec.rb deleted file mode 100644 index 06327762125..00000000000 --- a/spec/v2/models/logs_archive_definition_spec.rb +++ /dev/null @@ -1,53 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::LogsArchiveDefinition -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogsArchiveDefinition' do - before do - # run before each test - @instance = DatadogAPIClient::V2::LogsArchiveDefinition.new - end - - after do - # run after each test - end - - describe 'test an instance of LogsArchiveDefinition' do - it 'should create an instance of LogsArchiveDefinition' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::LogsArchiveDefinition) - end - end - describe 'test attribute "attributes"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/logs_archive_destination_azure_spec.rb b/spec/v2/models/logs_archive_destination_azure_spec.rb deleted file mode 100644 index dee644ddf42..00000000000 --- a/spec/v2/models/logs_archive_destination_azure_spec.rb +++ /dev/null @@ -1,71 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::LogsArchiveDestinationAzure -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogsArchiveDestinationAzure' do - before do - # run before each test - @instance = DatadogAPIClient::V2::LogsArchiveDestinationAzure.new - end - - after do - # run after each test - end - - describe 'test an instance of LogsArchiveDestinationAzure' do - it 'should create an instance of LogsArchiveDestinationAzure' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::LogsArchiveDestinationAzure) - end - end - describe 'test attribute "container"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "integration"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "path"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "region"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "storage_account"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/logs_archive_destination_azure_type_spec.rb b/spec/v2/models/logs_archive_destination_azure_type_spec.rb deleted file mode 100644 index 166b5d4f6e2..00000000000 --- a/spec/v2/models/logs_archive_destination_azure_type_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::LogsArchiveDestinationAzureType -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogsArchiveDestinationAzureType' do - before do - # run before each test - @instance = DatadogAPIClient::V2::LogsArchiveDestinationAzureType.new - end - - after do - # run after each test - end - - describe 'test an instance of LogsArchiveDestinationAzureType' do - it 'should create an instance of LogsArchiveDestinationAzureType' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::LogsArchiveDestinationAzureType) - end - end -end diff --git a/spec/v2/models/logs_archive_destination_gcs_spec.rb b/spec/v2/models/logs_archive_destination_gcs_spec.rb deleted file mode 100644 index 8967d0897fc..00000000000 --- a/spec/v2/models/logs_archive_destination_gcs_spec.rb +++ /dev/null @@ -1,59 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::LogsArchiveDestinationGCS -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogsArchiveDestinationGCS' do - before do - # run before each test - @instance = DatadogAPIClient::V2::LogsArchiveDestinationGCS.new - end - - after do - # run after each test - end - - describe 'test an instance of LogsArchiveDestinationGCS' do - it 'should create an instance of LogsArchiveDestinationGCS' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::LogsArchiveDestinationGCS) - end - end - describe 'test attribute "bucket"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "integration"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "path"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/logs_archive_destination_gcs_type_spec.rb b/spec/v2/models/logs_archive_destination_gcs_type_spec.rb deleted file mode 100644 index 66fdd58bdf3..00000000000 --- a/spec/v2/models/logs_archive_destination_gcs_type_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::LogsArchiveDestinationGCSType -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogsArchiveDestinationGCSType' do - before do - # run before each test - @instance = DatadogAPIClient::V2::LogsArchiveDestinationGCSType.new - end - - after do - # run after each test - end - - describe 'test an instance of LogsArchiveDestinationGCSType' do - it 'should create an instance of LogsArchiveDestinationGCSType' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::LogsArchiveDestinationGCSType) - end - end -end diff --git a/spec/v2/models/logs_archive_destination_s3_spec.rb b/spec/v2/models/logs_archive_destination_s3_spec.rb deleted file mode 100644 index 5471027248c..00000000000 --- a/spec/v2/models/logs_archive_destination_s3_spec.rb +++ /dev/null @@ -1,59 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::LogsArchiveDestinationS3 -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogsArchiveDestinationS3' do - before do - # run before each test - @instance = DatadogAPIClient::V2::LogsArchiveDestinationS3.new - end - - after do - # run after each test - end - - describe 'test an instance of LogsArchiveDestinationS3' do - it 'should create an instance of LogsArchiveDestinationS3' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::LogsArchiveDestinationS3) - end - end - describe 'test attribute "bucket"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "integration"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "path"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/logs_archive_destination_s3_type_spec.rb b/spec/v2/models/logs_archive_destination_s3_type_spec.rb deleted file mode 100644 index d4a283002c8..00000000000 --- a/spec/v2/models/logs_archive_destination_s3_type_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::LogsArchiveDestinationS3Type -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogsArchiveDestinationS3Type' do - before do - # run before each test - @instance = DatadogAPIClient::V2::LogsArchiveDestinationS3Type.new - end - - after do - # run after each test - end - - describe 'test an instance of LogsArchiveDestinationS3Type' do - it 'should create an instance of LogsArchiveDestinationS3Type' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::LogsArchiveDestinationS3Type) - end - end -end diff --git a/spec/v2/models/logs_archive_destination_spec.rb b/spec/v2/models/logs_archive_destination_spec.rb deleted file mode 100644 index ae3d079ae95..00000000000 --- a/spec/v2/models/logs_archive_destination_spec.rb +++ /dev/null @@ -1,77 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::LogsArchiveDestination -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogsArchiveDestination' do - before do - # run before each test - @instance = DatadogAPIClient::V2::LogsArchiveDestination.new - end - - after do - # run after each test - end - - describe 'test an instance of LogsArchiveDestination' do - it 'should create an instance of LogsArchiveDestination' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::LogsArchiveDestination) - end - end - describe 'test attribute "container"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "integration"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "path"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "region"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "storage_account"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "bucket"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/logs_archive_integration_azure_spec.rb b/spec/v2/models/logs_archive_integration_azure_spec.rb deleted file mode 100644 index de6403b168c..00000000000 --- a/spec/v2/models/logs_archive_integration_azure_spec.rb +++ /dev/null @@ -1,47 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::LogsArchiveIntegrationAzure -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogsArchiveIntegrationAzure' do - before do - # run before each test - @instance = DatadogAPIClient::V2::LogsArchiveIntegrationAzure.new - end - - after do - # run after each test - end - - describe 'test an instance of LogsArchiveIntegrationAzure' do - it 'should create an instance of LogsArchiveIntegrationAzure' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::LogsArchiveIntegrationAzure) - end - end - describe 'test attribute "client_id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "tenant_id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/logs_archive_integration_gcs_spec.rb b/spec/v2/models/logs_archive_integration_gcs_spec.rb deleted file mode 100644 index 66ab3cd2777..00000000000 --- a/spec/v2/models/logs_archive_integration_gcs_spec.rb +++ /dev/null @@ -1,47 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::LogsArchiveIntegrationGCS -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogsArchiveIntegrationGCS' do - before do - # run before each test - @instance = DatadogAPIClient::V2::LogsArchiveIntegrationGCS.new - end - - after do - # run after each test - end - - describe 'test an instance of LogsArchiveIntegrationGCS' do - it 'should create an instance of LogsArchiveIntegrationGCS' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::LogsArchiveIntegrationGCS) - end - end - describe 'test attribute "client_email"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "project_id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/logs_archive_integration_s3_spec.rb b/spec/v2/models/logs_archive_integration_s3_spec.rb deleted file mode 100644 index c906da7ccd6..00000000000 --- a/spec/v2/models/logs_archive_integration_s3_spec.rb +++ /dev/null @@ -1,47 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::LogsArchiveIntegrationS3 -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogsArchiveIntegrationS3' do - before do - # run before each test - @instance = DatadogAPIClient::V2::LogsArchiveIntegrationS3.new - end - - after do - # run after each test - end - - describe 'test an instance of LogsArchiveIntegrationS3' do - it 'should create an instance of LogsArchiveIntegrationS3' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::LogsArchiveIntegrationS3) - end - end - describe 'test attribute "account_id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "role_name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/logs_archive_spec.rb b/spec/v2/models/logs_archive_spec.rb deleted file mode 100644 index af815ed0e65..00000000000 --- a/spec/v2/models/logs_archive_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::LogsArchive -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogsArchive' do - before do - # run before each test - @instance = DatadogAPIClient::V2::LogsArchive.new - end - - after do - # run after each test - end - - describe 'test an instance of LogsArchive' do - it 'should create an instance of LogsArchive' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::LogsArchive) - end - end - describe 'test attribute "data"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/logs_archive_state_spec.rb b/spec/v2/models/logs_archive_state_spec.rb deleted file mode 100644 index a02a1ea22af..00000000000 --- a/spec/v2/models/logs_archive_state_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::LogsArchiveState -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogsArchiveState' do - before do - # run before each test - @instance = DatadogAPIClient::V2::LogsArchiveState.new - end - - after do - # run after each test - end - - describe 'test an instance of LogsArchiveState' do - it 'should create an instance of LogsArchiveState' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::LogsArchiveState) - end - end -end diff --git a/spec/v2/models/logs_archives_spec.rb b/spec/v2/models/logs_archives_spec.rb deleted file mode 100644 index 3e5526641f1..00000000000 --- a/spec/v2/models/logs_archives_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::LogsArchives -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogsArchives' do - before do - # run before each test - @instance = DatadogAPIClient::V2::LogsArchives.new - end - - after do - # run after each test - end - - describe 'test an instance of LogsArchives' do - it 'should create an instance of LogsArchives' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::LogsArchives) - end - end - describe 'test attribute "data"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/logs_compute_spec.rb b/spec/v2/models/logs_compute_spec.rb deleted file mode 100644 index f02aae9fa3a..00000000000 --- a/spec/v2/models/logs_compute_spec.rb +++ /dev/null @@ -1,59 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::LogsCompute -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogsCompute' do - before do - # run before each test - @instance = DatadogAPIClient::V2::LogsCompute.new - end - - after do - # run after each test - end - - describe 'test an instance of LogsCompute' do - it 'should create an instance of LogsCompute' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::LogsCompute) - end - end - describe 'test attribute "aggregation"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "interval"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metric"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/logs_compute_type_spec.rb b/spec/v2/models/logs_compute_type_spec.rb deleted file mode 100644 index 2227e528620..00000000000 --- a/spec/v2/models/logs_compute_type_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::LogsComputeType -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogsComputeType' do - before do - # run before each test - @instance = DatadogAPIClient::V2::LogsComputeType.new - end - - after do - # run after each test - end - - describe 'test an instance of LogsComputeType' do - it 'should create an instance of LogsComputeType' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::LogsComputeType) - end - end -end diff --git a/spec/v2/models/logs_group_by_histogram_spec.rb b/spec/v2/models/logs_group_by_histogram_spec.rb deleted file mode 100644 index 6cf3c67c12c..00000000000 --- a/spec/v2/models/logs_group_by_histogram_spec.rb +++ /dev/null @@ -1,53 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::LogsGroupByHistogram -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogsGroupByHistogram' do - before do - # run before each test - @instance = DatadogAPIClient::V2::LogsGroupByHistogram.new - end - - after do - # run after each test - end - - describe 'test an instance of LogsGroupByHistogram' do - it 'should create an instance of LogsGroupByHistogram' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::LogsGroupByHistogram) - end - end - describe 'test attribute "interval"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "max"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "min"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/logs_group_by_missing_spec.rb b/spec/v2/models/logs_group_by_missing_spec.rb deleted file mode 100644 index ca19755fc4e..00000000000 --- a/spec/v2/models/logs_group_by_missing_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::LogsGroupByMissing -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogsGroupByMissing' do - before do - # run before each test - @instance = DatadogAPIClient::V2::LogsGroupByMissing.new - end - - after do - # run after each test - end - - describe 'test an instance of LogsGroupByMissing' do - it 'should create an instance of LogsGroupByMissing' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::LogsGroupByMissing) - end - end -end diff --git a/spec/v2/models/logs_group_by_spec.rb b/spec/v2/models/logs_group_by_spec.rb deleted file mode 100644 index 270cb67dcaa..00000000000 --- a/spec/v2/models/logs_group_by_spec.rb +++ /dev/null @@ -1,71 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::LogsGroupBy -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogsGroupBy' do - before do - # run before each test - @instance = DatadogAPIClient::V2::LogsGroupBy.new - end - - after do - # run after each test - end - - describe 'test an instance of LogsGroupBy' do - it 'should create an instance of LogsGroupBy' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::LogsGroupBy) - end - end - describe 'test attribute "facet"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "histogram"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "limit"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "missing"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "sort"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "total"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/logs_group_by_total_spec.rb b/spec/v2/models/logs_group_by_total_spec.rb deleted file mode 100644 index 168741fe288..00000000000 --- a/spec/v2/models/logs_group_by_total_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::LogsGroupByTotal -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogsGroupByTotal' do - before do - # run before each test - @instance = DatadogAPIClient::V2::LogsGroupByTotal.new - end - - after do - # run after each test - end - - describe 'test an instance of LogsGroupByTotal' do - it 'should create an instance of LogsGroupByTotal' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::LogsGroupByTotal) - end - end -end diff --git a/spec/v2/models/logs_list_request_page_spec.rb b/spec/v2/models/logs_list_request_page_spec.rb deleted file mode 100644 index 0a15547b4fb..00000000000 --- a/spec/v2/models/logs_list_request_page_spec.rb +++ /dev/null @@ -1,47 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::LogsListRequestPage -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogsListRequestPage' do - before do - # run before each test - @instance = DatadogAPIClient::V2::LogsListRequestPage.new - end - - after do - # run after each test - end - - describe 'test an instance of LogsListRequestPage' do - it 'should create an instance of LogsListRequestPage' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::LogsListRequestPage) - end - end - describe 'test attribute "cursor"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "limit"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/logs_list_request_spec.rb b/spec/v2/models/logs_list_request_spec.rb deleted file mode 100644 index c195f7e6a6c..00000000000 --- a/spec/v2/models/logs_list_request_spec.rb +++ /dev/null @@ -1,59 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::LogsListRequest -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogsListRequest' do - before do - # run before each test - @instance = DatadogAPIClient::V2::LogsListRequest.new - end - - after do - # run after each test - end - - describe 'test an instance of LogsListRequest' do - it 'should create an instance of LogsListRequest' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::LogsListRequest) - end - end - describe 'test attribute "filter"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "options"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "page"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "sort"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/logs_list_response_links_spec.rb b/spec/v2/models/logs_list_response_links_spec.rb deleted file mode 100644 index d200b7c601c..00000000000 --- a/spec/v2/models/logs_list_response_links_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::LogsListResponseLinks -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogsListResponseLinks' do - before do - # run before each test - @instance = DatadogAPIClient::V2::LogsListResponseLinks.new - end - - after do - # run after each test - end - - describe 'test an instance of LogsListResponseLinks' do - it 'should create an instance of LogsListResponseLinks' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::LogsListResponseLinks) - end - end - describe 'test attribute "_next"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/logs_list_response_spec.rb b/spec/v2/models/logs_list_response_spec.rb deleted file mode 100644 index f09970d64a8..00000000000 --- a/spec/v2/models/logs_list_response_spec.rb +++ /dev/null @@ -1,53 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::LogsListResponse -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogsListResponse' do - before do - # run before each test - @instance = DatadogAPIClient::V2::LogsListResponse.new - end - - after do - # run after each test - end - - describe 'test an instance of LogsListResponse' do - it 'should create an instance of LogsListResponse' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::LogsListResponse) - end - end - describe 'test attribute "data"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "links"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "meta"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/logs_query_filter_spec.rb b/spec/v2/models/logs_query_filter_spec.rb deleted file mode 100644 index ac1a7806c3a..00000000000 --- a/spec/v2/models/logs_query_filter_spec.rb +++ /dev/null @@ -1,59 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::LogsQueryFilter -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogsQueryFilter' do - before do - # run before each test - @instance = DatadogAPIClient::V2::LogsQueryFilter.new - end - - after do - # run after each test - end - - describe 'test an instance of LogsQueryFilter' do - it 'should create an instance of LogsQueryFilter' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::LogsQueryFilter) - end - end - describe 'test attribute "from"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "indexes"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "query"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "to"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/logs_query_options_spec.rb b/spec/v2/models/logs_query_options_spec.rb deleted file mode 100644 index f2dab7f7ff1..00000000000 --- a/spec/v2/models/logs_query_options_spec.rb +++ /dev/null @@ -1,47 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::LogsQueryOptions -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogsQueryOptions' do - before do - # run before each test - @instance = DatadogAPIClient::V2::LogsQueryOptions.new - end - - after do - # run after each test - end - - describe 'test an instance of LogsQueryOptions' do - it 'should create an instance of LogsQueryOptions' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::LogsQueryOptions) - end - end - describe 'test attribute "time_offset"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "timezone"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/logs_response_metadata_page_spec.rb b/spec/v2/models/logs_response_metadata_page_spec.rb deleted file mode 100644 index 7ef4df604fc..00000000000 --- a/spec/v2/models/logs_response_metadata_page_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::LogsResponseMetadataPage -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogsResponseMetadataPage' do - before do - # run before each test - @instance = DatadogAPIClient::V2::LogsResponseMetadataPage.new - end - - after do - # run after each test - end - - describe 'test an instance of LogsResponseMetadataPage' do - it 'should create an instance of LogsResponseMetadataPage' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::LogsResponseMetadataPage) - end - end - describe 'test attribute "after"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/logs_response_metadata_spec.rb b/spec/v2/models/logs_response_metadata_spec.rb deleted file mode 100644 index a94a37ca319..00000000000 --- a/spec/v2/models/logs_response_metadata_spec.rb +++ /dev/null @@ -1,65 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::LogsResponseMetadata -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogsResponseMetadata' do - before do - # run before each test - @instance = DatadogAPIClient::V2::LogsResponseMetadata.new - end - - after do - # run after each test - end - - describe 'test an instance of LogsResponseMetadata' do - it 'should create an instance of LogsResponseMetadata' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::LogsResponseMetadata) - end - end - describe 'test attribute "elapsed"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "page"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "request_id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "status"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "warnings"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/logs_sort_order_spec.rb b/spec/v2/models/logs_sort_order_spec.rb deleted file mode 100644 index af4adc2d3b6..00000000000 --- a/spec/v2/models/logs_sort_order_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::LogsSortOrder -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogsSortOrder' do - before do - # run before each test - @instance = DatadogAPIClient::V2::LogsSortOrder.new - end - - after do - # run after each test - end - - describe 'test an instance of LogsSortOrder' do - it 'should create an instance of LogsSortOrder' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::LogsSortOrder) - end - end -end diff --git a/spec/v2/models/logs_sort_spec.rb b/spec/v2/models/logs_sort_spec.rb deleted file mode 100644 index 8079002152f..00000000000 --- a/spec/v2/models/logs_sort_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::LogsSort -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogsSort' do - before do - # run before each test - @instance = DatadogAPIClient::V2::LogsSort.new - end - - after do - # run after each test - end - - describe 'test an instance of LogsSort' do - it 'should create an instance of LogsSort' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::LogsSort) - end - end -end diff --git a/spec/v2/models/logs_warning_spec.rb b/spec/v2/models/logs_warning_spec.rb deleted file mode 100644 index e0a5cfdea5f..00000000000 --- a/spec/v2/models/logs_warning_spec.rb +++ /dev/null @@ -1,53 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::LogsWarning -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'LogsWarning' do - before do - # run before each test - @instance = DatadogAPIClient::V2::LogsWarning.new - end - - after do - # run after each test - end - - describe 'test an instance of LogsWarning' do - it 'should create an instance of LogsWarning' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::LogsWarning) - end - end - describe 'test attribute "code"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "detail"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "title"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/organization_attributes_spec.rb b/spec/v2/models/organization_attributes_spec.rb deleted file mode 100644 index b844fd282bd..00000000000 --- a/spec/v2/models/organization_attributes_spec.rb +++ /dev/null @@ -1,83 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::OrganizationAttributes -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'OrganizationAttributes' do - before do - # run before each test - @instance = DatadogAPIClient::V2::OrganizationAttributes.new - end - - after do - # run after each test - end - - describe 'test an instance of OrganizationAttributes' do - it 'should create an instance of OrganizationAttributes' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::OrganizationAttributes) - end - end - describe 'test attribute "created_at"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "description"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "disabled"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "modified_at"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "public_id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "sharing"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "url"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/organization_spec.rb b/spec/v2/models/organization_spec.rb deleted file mode 100644 index 92e1d4ac143..00000000000 --- a/spec/v2/models/organization_spec.rb +++ /dev/null @@ -1,53 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::Organization -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'Organization' do - before do - # run before each test - @instance = DatadogAPIClient::V2::Organization.new - end - - after do - # run after each test - end - - describe 'test an instance of Organization' do - it 'should create an instance of Organization' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::Organization) - end - end - describe 'test attribute "attributes"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/organizations_type_spec.rb b/spec/v2/models/organizations_type_spec.rb deleted file mode 100644 index 2bea2db68e6..00000000000 --- a/spec/v2/models/organizations_type_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::OrganizationsType -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'OrganizationsType' do - before do - # run before each test - @instance = DatadogAPIClient::V2::OrganizationsType.new - end - - after do - # run after each test - end - - describe 'test an instance of OrganizationsType' do - it 'should create an instance of OrganizationsType' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::OrganizationsType) - end - end -end diff --git a/spec/v2/models/pagination_spec.rb b/spec/v2/models/pagination_spec.rb deleted file mode 100644 index 6b3e4817f63..00000000000 --- a/spec/v2/models/pagination_spec.rb +++ /dev/null @@ -1,47 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::Pagination -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'Pagination' do - before do - # run before each test - @instance = DatadogAPIClient::V2::Pagination.new - end - - after do - # run after each test - end - - describe 'test an instance of Pagination' do - it 'should create an instance of Pagination' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::Pagination) - end - end - describe 'test attribute "total_count"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "total_filtered_count"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/permission_attributes_spec.rb b/spec/v2/models/permission_attributes_spec.rb deleted file mode 100644 index 1bb3f6f955d..00000000000 --- a/spec/v2/models/permission_attributes_spec.rb +++ /dev/null @@ -1,77 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::PermissionAttributes -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'PermissionAttributes' do - before do - # run before each test - @instance = DatadogAPIClient::V2::PermissionAttributes.new - end - - after do - # run after each test - end - - describe 'test an instance of PermissionAttributes' do - it 'should create an instance of PermissionAttributes' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::PermissionAttributes) - end - end - describe 'test attribute "created"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "description"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "display_name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "display_type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "group_name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "restricted"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/permission_spec.rb b/spec/v2/models/permission_spec.rb deleted file mode 100644 index b98baf9f370..00000000000 --- a/spec/v2/models/permission_spec.rb +++ /dev/null @@ -1,53 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::Permission -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'Permission' do - before do - # run before each test - @instance = DatadogAPIClient::V2::Permission.new - end - - after do - # run after each test - end - - describe 'test an instance of Permission' do - it 'should create an instance of Permission' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::Permission) - end - end - describe 'test attribute "attributes"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/permissions_response_spec.rb b/spec/v2/models/permissions_response_spec.rb deleted file mode 100644 index 7b8acaed4a8..00000000000 --- a/spec/v2/models/permissions_response_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::PermissionsResponse -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'PermissionsResponse' do - before do - # run before each test - @instance = DatadogAPIClient::V2::PermissionsResponse.new - end - - after do - # run after each test - end - - describe 'test an instance of PermissionsResponse' do - it 'should create an instance of PermissionsResponse' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::PermissionsResponse) - end - end - describe 'test attribute "data"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/permissions_type_spec.rb b/spec/v2/models/permissions_type_spec.rb deleted file mode 100644 index 3612f519ac3..00000000000 --- a/spec/v2/models/permissions_type_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::PermissionsType -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'PermissionsType' do - before do - # run before each test - @instance = DatadogAPIClient::V2::PermissionsType.new - end - - after do - # run after each test - end - - describe 'test an instance of PermissionsType' do - it 'should create an instance of PermissionsType' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::PermissionsType) - end - end -end diff --git a/spec/v2/models/query_sort_order_spec.rb b/spec/v2/models/query_sort_order_spec.rb deleted file mode 100644 index f6610d0c17a..00000000000 --- a/spec/v2/models/query_sort_order_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::QuerySortOrder -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'QuerySortOrder' do - before do - # run before each test - @instance = DatadogAPIClient::V2::QuerySortOrder.new - end - - after do - # run after each test - end - - describe 'test an instance of QuerySortOrder' do - it 'should create an instance of QuerySortOrder' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::QuerySortOrder) - end - end -end diff --git a/spec/v2/models/relationship_to_organization_data_spec.rb b/spec/v2/models/relationship_to_organization_data_spec.rb deleted file mode 100644 index 16f44d9cc03..00000000000 --- a/spec/v2/models/relationship_to_organization_data_spec.rb +++ /dev/null @@ -1,47 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::RelationshipToOrganizationData -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'RelationshipToOrganizationData' do - before do - # run before each test - @instance = DatadogAPIClient::V2::RelationshipToOrganizationData.new - end - - after do - # run after each test - end - - describe 'test an instance of RelationshipToOrganizationData' do - it 'should create an instance of RelationshipToOrganizationData' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::RelationshipToOrganizationData) - end - end - describe 'test attribute "id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/relationship_to_organization_spec.rb b/spec/v2/models/relationship_to_organization_spec.rb deleted file mode 100644 index 71954450275..00000000000 --- a/spec/v2/models/relationship_to_organization_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::RelationshipToOrganization -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'RelationshipToOrganization' do - before do - # run before each test - @instance = DatadogAPIClient::V2::RelationshipToOrganization.new - end - - after do - # run after each test - end - - describe 'test an instance of RelationshipToOrganization' do - it 'should create an instance of RelationshipToOrganization' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::RelationshipToOrganization) - end - end - describe 'test attribute "data"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/relationship_to_organizations_spec.rb b/spec/v2/models/relationship_to_organizations_spec.rb deleted file mode 100644 index ce9aa3114b5..00000000000 --- a/spec/v2/models/relationship_to_organizations_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::RelationshipToOrganizations -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'RelationshipToOrganizations' do - before do - # run before each test - @instance = DatadogAPIClient::V2::RelationshipToOrganizations.new - end - - after do - # run after each test - end - - describe 'test an instance of RelationshipToOrganizations' do - it 'should create an instance of RelationshipToOrganizations' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::RelationshipToOrganizations) - end - end - describe 'test attribute "data"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/relationship_to_permission_data_spec.rb b/spec/v2/models/relationship_to_permission_data_spec.rb deleted file mode 100644 index 8207f755ddd..00000000000 --- a/spec/v2/models/relationship_to_permission_data_spec.rb +++ /dev/null @@ -1,47 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::RelationshipToPermissionData -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'RelationshipToPermissionData' do - before do - # run before each test - @instance = DatadogAPIClient::V2::RelationshipToPermissionData.new - end - - after do - # run after each test - end - - describe 'test an instance of RelationshipToPermissionData' do - it 'should create an instance of RelationshipToPermissionData' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::RelationshipToPermissionData) - end - end - describe 'test attribute "id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/relationship_to_permission_spec.rb b/spec/v2/models/relationship_to_permission_spec.rb deleted file mode 100644 index 065bfb5adfa..00000000000 --- a/spec/v2/models/relationship_to_permission_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::RelationshipToPermission -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'RelationshipToPermission' do - before do - # run before each test - @instance = DatadogAPIClient::V2::RelationshipToPermission.new - end - - after do - # run after each test - end - - describe 'test an instance of RelationshipToPermission' do - it 'should create an instance of RelationshipToPermission' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::RelationshipToPermission) - end - end - describe 'test attribute "data"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/relationship_to_permissions_spec.rb b/spec/v2/models/relationship_to_permissions_spec.rb deleted file mode 100644 index e4549fbaa7a..00000000000 --- a/spec/v2/models/relationship_to_permissions_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::RelationshipToPermissions -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'RelationshipToPermissions' do - before do - # run before each test - @instance = DatadogAPIClient::V2::RelationshipToPermissions.new - end - - after do - # run after each test - end - - describe 'test an instance of RelationshipToPermissions' do - it 'should create an instance of RelationshipToPermissions' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::RelationshipToPermissions) - end - end - describe 'test attribute "data"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/relationship_to_role_data_spec.rb b/spec/v2/models/relationship_to_role_data_spec.rb deleted file mode 100644 index 77b4388f279..00000000000 --- a/spec/v2/models/relationship_to_role_data_spec.rb +++ /dev/null @@ -1,47 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::RelationshipToRoleData -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'RelationshipToRoleData' do - before do - # run before each test - @instance = DatadogAPIClient::V2::RelationshipToRoleData.new - end - - after do - # run after each test - end - - describe 'test an instance of RelationshipToRoleData' do - it 'should create an instance of RelationshipToRoleData' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::RelationshipToRoleData) - end - end - describe 'test attribute "id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/relationship_to_role_spec.rb b/spec/v2/models/relationship_to_role_spec.rb deleted file mode 100644 index d8c1178665f..00000000000 --- a/spec/v2/models/relationship_to_role_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::RelationshipToRole -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'RelationshipToRole' do - before do - # run before each test - @instance = DatadogAPIClient::V2::RelationshipToRole.new - end - - after do - # run after each test - end - - describe 'test an instance of RelationshipToRole' do - it 'should create an instance of RelationshipToRole' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::RelationshipToRole) - end - end - describe 'test attribute "data"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/relationship_to_roles_spec.rb b/spec/v2/models/relationship_to_roles_spec.rb deleted file mode 100644 index f0293792be5..00000000000 --- a/spec/v2/models/relationship_to_roles_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::RelationshipToRoles -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'RelationshipToRoles' do - before do - # run before each test - @instance = DatadogAPIClient::V2::RelationshipToRoles.new - end - - after do - # run after each test - end - - describe 'test an instance of RelationshipToRoles' do - it 'should create an instance of RelationshipToRoles' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::RelationshipToRoles) - end - end - describe 'test attribute "data"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/relationship_to_user_data_spec.rb b/spec/v2/models/relationship_to_user_data_spec.rb deleted file mode 100644 index ab43975acb4..00000000000 --- a/spec/v2/models/relationship_to_user_data_spec.rb +++ /dev/null @@ -1,47 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::RelationshipToUserData -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'RelationshipToUserData' do - before do - # run before each test - @instance = DatadogAPIClient::V2::RelationshipToUserData.new - end - - after do - # run after each test - end - - describe 'test an instance of RelationshipToUserData' do - it 'should create an instance of RelationshipToUserData' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::RelationshipToUserData) - end - end - describe 'test attribute "id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/relationship_to_user_spec.rb b/spec/v2/models/relationship_to_user_spec.rb deleted file mode 100644 index 2d12f64f9a2..00000000000 --- a/spec/v2/models/relationship_to_user_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::RelationshipToUser -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'RelationshipToUser' do - before do - # run before each test - @instance = DatadogAPIClient::V2::RelationshipToUser.new - end - - after do - # run after each test - end - - describe 'test an instance of RelationshipToUser' do - it 'should create an instance of RelationshipToUser' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::RelationshipToUser) - end - end - describe 'test attribute "data"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/relationship_to_users_spec.rb b/spec/v2/models/relationship_to_users_spec.rb deleted file mode 100644 index e65e582d347..00000000000 --- a/spec/v2/models/relationship_to_users_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::RelationshipToUsers -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'RelationshipToUsers' do - before do - # run before each test - @instance = DatadogAPIClient::V2::RelationshipToUsers.new - end - - after do - # run after each test - end - - describe 'test an instance of RelationshipToUsers' do - it 'should create an instance of RelationshipToUsers' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::RelationshipToUsers) - end - end - describe 'test attribute "data"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/response_meta_attributes_spec.rb b/spec/v2/models/response_meta_attributes_spec.rb deleted file mode 100644 index a40f7b5deb4..00000000000 --- a/spec/v2/models/response_meta_attributes_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::ResponseMetaAttributes -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'ResponseMetaAttributes' do - before do - # run before each test - @instance = DatadogAPIClient::V2::ResponseMetaAttributes.new - end - - after do - # run after each test - end - - describe 'test an instance of ResponseMetaAttributes' do - it 'should create an instance of ResponseMetaAttributes' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::ResponseMetaAttributes) - end - end - describe 'test attribute "page"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/role_attributes_spec.rb b/spec/v2/models/role_attributes_spec.rb deleted file mode 100644 index 4acb77c8193..00000000000 --- a/spec/v2/models/role_attributes_spec.rb +++ /dev/null @@ -1,59 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::RoleAttributes -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'RoleAttributes' do - before do - # run before each test - @instance = DatadogAPIClient::V2::RoleAttributes.new - end - - after do - # run after each test - end - - describe 'test an instance of RoleAttributes' do - it 'should create an instance of RoleAttributes' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::RoleAttributes) - end - end - describe 'test attribute "created_at"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "modified_at"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "user_count"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/role_create_attributes_spec.rb b/spec/v2/models/role_create_attributes_spec.rb deleted file mode 100644 index 8ce37ec66ea..00000000000 --- a/spec/v2/models/role_create_attributes_spec.rb +++ /dev/null @@ -1,53 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::RoleCreateAttributes -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'RoleCreateAttributes' do - before do - # run before each test - @instance = DatadogAPIClient::V2::RoleCreateAttributes.new - end - - after do - # run after each test - end - - describe 'test an instance of RoleCreateAttributes' do - it 'should create an instance of RoleCreateAttributes' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::RoleCreateAttributes) - end - end - describe 'test attribute "created_at"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "modified_at"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/role_create_data_spec.rb b/spec/v2/models/role_create_data_spec.rb deleted file mode 100644 index 161473b1550..00000000000 --- a/spec/v2/models/role_create_data_spec.rb +++ /dev/null @@ -1,53 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::RoleCreateData -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'RoleCreateData' do - before do - # run before each test - @instance = DatadogAPIClient::V2::RoleCreateData.new - end - - after do - # run after each test - end - - describe 'test an instance of RoleCreateData' do - it 'should create an instance of RoleCreateData' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::RoleCreateData) - end - end - describe 'test attribute "attributes"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "relationships"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/role_create_request_spec.rb b/spec/v2/models/role_create_request_spec.rb deleted file mode 100644 index 1fd85f4effb..00000000000 --- a/spec/v2/models/role_create_request_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::RoleCreateRequest -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'RoleCreateRequest' do - before do - # run before each test - @instance = DatadogAPIClient::V2::RoleCreateRequest.new - end - - after do - # run after each test - end - - describe 'test an instance of RoleCreateRequest' do - it 'should create an instance of RoleCreateRequest' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::RoleCreateRequest) - end - end - describe 'test attribute "data"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/role_create_response_data_spec.rb b/spec/v2/models/role_create_response_data_spec.rb deleted file mode 100644 index 40cbd6be32a..00000000000 --- a/spec/v2/models/role_create_response_data_spec.rb +++ /dev/null @@ -1,59 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::RoleCreateResponseData -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'RoleCreateResponseData' do - before do - # run before each test - @instance = DatadogAPIClient::V2::RoleCreateResponseData.new - end - - after do - # run after each test - end - - describe 'test an instance of RoleCreateResponseData' do - it 'should create an instance of RoleCreateResponseData' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::RoleCreateResponseData) - end - end - describe 'test attribute "attributes"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "relationships"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/role_create_response_spec.rb b/spec/v2/models/role_create_response_spec.rb deleted file mode 100644 index a9d6fff44cc..00000000000 --- a/spec/v2/models/role_create_response_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::RoleCreateResponse -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'RoleCreateResponse' do - before do - # run before each test - @instance = DatadogAPIClient::V2::RoleCreateResponse.new - end - - after do - # run after each test - end - - describe 'test an instance of RoleCreateResponse' do - it 'should create an instance of RoleCreateResponse' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::RoleCreateResponse) - end - end - describe 'test attribute "data"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/role_relationships_spec.rb b/spec/v2/models/role_relationships_spec.rb deleted file mode 100644 index 636a1e3d41c..00000000000 --- a/spec/v2/models/role_relationships_spec.rb +++ /dev/null @@ -1,47 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::RoleRelationships -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'RoleRelationships' do - before do - # run before each test - @instance = DatadogAPIClient::V2::RoleRelationships.new - end - - after do - # run after each test - end - - describe 'test an instance of RoleRelationships' do - it 'should create an instance of RoleRelationships' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::RoleRelationships) - end - end - describe 'test attribute "permissions"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "users"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/role_response_relationships_spec.rb b/spec/v2/models/role_response_relationships_spec.rb deleted file mode 100644 index 909c3b79d2d..00000000000 --- a/spec/v2/models/role_response_relationships_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::RoleResponseRelationships -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'RoleResponseRelationships' do - before do - # run before each test - @instance = DatadogAPIClient::V2::RoleResponseRelationships.new - end - - after do - # run after each test - end - - describe 'test an instance of RoleResponseRelationships' do - it 'should create an instance of RoleResponseRelationships' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::RoleResponseRelationships) - end - end - describe 'test attribute "permissions"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/role_response_spec.rb b/spec/v2/models/role_response_spec.rb deleted file mode 100644 index d607430ae9b..00000000000 --- a/spec/v2/models/role_response_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::RoleResponse -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'RoleResponse' do - before do - # run before each test - @instance = DatadogAPIClient::V2::RoleResponse.new - end - - after do - # run after each test - end - - describe 'test an instance of RoleResponse' do - it 'should create an instance of RoleResponse' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::RoleResponse) - end - end - describe 'test attribute "data"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/role_spec.rb b/spec/v2/models/role_spec.rb deleted file mode 100644 index 36f130aab23..00000000000 --- a/spec/v2/models/role_spec.rb +++ /dev/null @@ -1,59 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::Role -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'Role' do - before do - # run before each test - @instance = DatadogAPIClient::V2::Role.new - end - - after do - # run after each test - end - - describe 'test an instance of Role' do - it 'should create an instance of Role' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::Role) - end - end - describe 'test attribute "attributes"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "relationships"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/role_update_attributes_spec.rb b/spec/v2/models/role_update_attributes_spec.rb deleted file mode 100644 index ef1b961e186..00000000000 --- a/spec/v2/models/role_update_attributes_spec.rb +++ /dev/null @@ -1,53 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::RoleUpdateAttributes -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'RoleUpdateAttributes' do - before do - # run before each test - @instance = DatadogAPIClient::V2::RoleUpdateAttributes.new - end - - after do - # run after each test - end - - describe 'test an instance of RoleUpdateAttributes' do - it 'should create an instance of RoleUpdateAttributes' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::RoleUpdateAttributes) - end - end - describe 'test attribute "created_at"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "modified_at"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/role_update_data_spec.rb b/spec/v2/models/role_update_data_spec.rb deleted file mode 100644 index 8842369d8c3..00000000000 --- a/spec/v2/models/role_update_data_spec.rb +++ /dev/null @@ -1,53 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::RoleUpdateData -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'RoleUpdateData' do - before do - # run before each test - @instance = DatadogAPIClient::V2::RoleUpdateData.new - end - - after do - # run after each test - end - - describe 'test an instance of RoleUpdateData' do - it 'should create an instance of RoleUpdateData' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::RoleUpdateData) - end - end - describe 'test attribute "attributes"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/role_update_request_spec.rb b/spec/v2/models/role_update_request_spec.rb deleted file mode 100644 index dd4e3733f94..00000000000 --- a/spec/v2/models/role_update_request_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::RoleUpdateRequest -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'RoleUpdateRequest' do - before do - # run before each test - @instance = DatadogAPIClient::V2::RoleUpdateRequest.new - end - - after do - # run after each test - end - - describe 'test an instance of RoleUpdateRequest' do - it 'should create an instance of RoleUpdateRequest' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::RoleUpdateRequest) - end - end - describe 'test attribute "data"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/role_update_response_data_spec.rb b/spec/v2/models/role_update_response_data_spec.rb deleted file mode 100644 index 183f4c9e402..00000000000 --- a/spec/v2/models/role_update_response_data_spec.rb +++ /dev/null @@ -1,59 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::RoleUpdateResponseData -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'RoleUpdateResponseData' do - before do - # run before each test - @instance = DatadogAPIClient::V2::RoleUpdateResponseData.new - end - - after do - # run after each test - end - - describe 'test an instance of RoleUpdateResponseData' do - it 'should create an instance of RoleUpdateResponseData' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::RoleUpdateResponseData) - end - end - describe 'test attribute "attributes"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "relationships"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/role_update_response_spec.rb b/spec/v2/models/role_update_response_spec.rb deleted file mode 100644 index 9812ad0384d..00000000000 --- a/spec/v2/models/role_update_response_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::RoleUpdateResponse -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'RoleUpdateResponse' do - before do - # run before each test - @instance = DatadogAPIClient::V2::RoleUpdateResponse.new - end - - after do - # run after each test - end - - describe 'test an instance of RoleUpdateResponse' do - it 'should create an instance of RoleUpdateResponse' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::RoleUpdateResponse) - end - end - describe 'test attribute "data"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/roles_response_spec.rb b/spec/v2/models/roles_response_spec.rb deleted file mode 100644 index d6c68357ff7..00000000000 --- a/spec/v2/models/roles_response_spec.rb +++ /dev/null @@ -1,47 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::RolesResponse -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'RolesResponse' do - before do - # run before each test - @instance = DatadogAPIClient::V2::RolesResponse.new - end - - after do - # run after each test - end - - describe 'test an instance of RolesResponse' do - it 'should create an instance of RolesResponse' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::RolesResponse) - end - end - describe 'test attribute "data"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "meta"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/roles_sort_spec.rb b/spec/v2/models/roles_sort_spec.rb deleted file mode 100644 index 6aa1a05ef86..00000000000 --- a/spec/v2/models/roles_sort_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::RolesSort -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'RolesSort' do - before do - # run before each test - @instance = DatadogAPIClient::V2::RolesSort.new - end - - after do - # run after each test - end - - describe 'test an instance of RolesSort' do - it 'should create an instance of RolesSort' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::RolesSort) - end - end -end diff --git a/spec/v2/models/roles_type_spec.rb b/spec/v2/models/roles_type_spec.rb deleted file mode 100644 index 6f36b37f2fe..00000000000 --- a/spec/v2/models/roles_type_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::RolesType -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'RolesType' do - before do - # run before each test - @instance = DatadogAPIClient::V2::RolesType.new - end - - after do - # run after each test - end - - describe 'test an instance of RolesType' do - it 'should create an instance of RolesType' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::RolesType) - end - end -end diff --git a/spec/v2/models/security_monitoring_list_rules_response_spec.rb b/spec/v2/models/security_monitoring_list_rules_response_spec.rb deleted file mode 100644 index 4f27703b3cf..00000000000 --- a/spec/v2/models/security_monitoring_list_rules_response_spec.rb +++ /dev/null @@ -1,47 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::SecurityMonitoringListRulesResponse -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SecurityMonitoringListRulesResponse' do - before do - # run before each test - @instance = DatadogAPIClient::V2::SecurityMonitoringListRulesResponse.new - end - - after do - # run after each test - end - - describe 'test an instance of SecurityMonitoringListRulesResponse' do - it 'should create an instance of SecurityMonitoringListRulesResponse' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::SecurityMonitoringListRulesResponse) - end - end - describe 'test attribute "data"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "meta"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/security_monitoring_rule_case_create_spec.rb b/spec/v2/models/security_monitoring_rule_case_create_spec.rb deleted file mode 100644 index e8d87dedee2..00000000000 --- a/spec/v2/models/security_monitoring_rule_case_create_spec.rb +++ /dev/null @@ -1,59 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::SecurityMonitoringRuleCaseCreate -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SecurityMonitoringRuleCaseCreate' do - before do - # run before each test - @instance = DatadogAPIClient::V2::SecurityMonitoringRuleCaseCreate.new - end - - after do - # run after each test - end - - describe 'test an instance of SecurityMonitoringRuleCaseCreate' do - it 'should create an instance of SecurityMonitoringRuleCaseCreate' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::SecurityMonitoringRuleCaseCreate) - end - end - describe 'test attribute "condition"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "notifications"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "status"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/security_monitoring_rule_case_spec.rb b/spec/v2/models/security_monitoring_rule_case_spec.rb deleted file mode 100644 index e793308a24f..00000000000 --- a/spec/v2/models/security_monitoring_rule_case_spec.rb +++ /dev/null @@ -1,59 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::SecurityMonitoringRuleCase -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SecurityMonitoringRuleCase' do - before do - # run before each test - @instance = DatadogAPIClient::V2::SecurityMonitoringRuleCase.new - end - - after do - # run after each test - end - - describe 'test an instance of SecurityMonitoringRuleCase' do - it 'should create an instance of SecurityMonitoringRuleCase' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::SecurityMonitoringRuleCase) - end - end - describe 'test attribute "condition"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "notifications"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "status"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/security_monitoring_rule_create_payload_spec.rb b/spec/v2/models/security_monitoring_rule_create_payload_spec.rb deleted file mode 100644 index 22cbb3dd677..00000000000 --- a/spec/v2/models/security_monitoring_rule_create_payload_spec.rb +++ /dev/null @@ -1,77 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::SecurityMonitoringRuleCreatePayload -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SecurityMonitoringRuleCreatePayload' do - before do - # run before each test - @instance = DatadogAPIClient::V2::SecurityMonitoringRuleCreatePayload.new - end - - after do - # run after each test - end - - describe 'test an instance of SecurityMonitoringRuleCreatePayload' do - it 'should create an instance of SecurityMonitoringRuleCreatePayload' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::SecurityMonitoringRuleCreatePayload) - end - end - describe 'test attribute "cases"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "is_enabled"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "message"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "options"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "queries"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "tags"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/security_monitoring_rule_evaluation_window_spec.rb b/spec/v2/models/security_monitoring_rule_evaluation_window_spec.rb deleted file mode 100644 index a3b176643da..00000000000 --- a/spec/v2/models/security_monitoring_rule_evaluation_window_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::SecurityMonitoringRuleEvaluationWindow -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SecurityMonitoringRuleEvaluationWindow' do - before do - # run before each test - @instance = DatadogAPIClient::V2::SecurityMonitoringRuleEvaluationWindow.new - end - - after do - # run after each test - end - - describe 'test an instance of SecurityMonitoringRuleEvaluationWindow' do - it 'should create an instance of SecurityMonitoringRuleEvaluationWindow' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::SecurityMonitoringRuleEvaluationWindow) - end - end -end diff --git a/spec/v2/models/security_monitoring_rule_keep_alive_spec.rb b/spec/v2/models/security_monitoring_rule_keep_alive_spec.rb deleted file mode 100644 index 4950b11dfeb..00000000000 --- a/spec/v2/models/security_monitoring_rule_keep_alive_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::SecurityMonitoringRuleKeepAlive -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SecurityMonitoringRuleKeepAlive' do - before do - # run before each test - @instance = DatadogAPIClient::V2::SecurityMonitoringRuleKeepAlive.new - end - - after do - # run after each test - end - - describe 'test an instance of SecurityMonitoringRuleKeepAlive' do - it 'should create an instance of SecurityMonitoringRuleKeepAlive' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::SecurityMonitoringRuleKeepAlive) - end - end -end diff --git a/spec/v2/models/security_monitoring_rule_max_signal_duration_spec.rb b/spec/v2/models/security_monitoring_rule_max_signal_duration_spec.rb deleted file mode 100644 index dff6877d8bf..00000000000 --- a/spec/v2/models/security_monitoring_rule_max_signal_duration_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::SecurityMonitoringRuleMaxSignalDuration -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SecurityMonitoringRuleMaxSignalDuration' do - before do - # run before each test - @instance = DatadogAPIClient::V2::SecurityMonitoringRuleMaxSignalDuration.new - end - - after do - # run after each test - end - - describe 'test an instance of SecurityMonitoringRuleMaxSignalDuration' do - it 'should create an instance of SecurityMonitoringRuleMaxSignalDuration' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::SecurityMonitoringRuleMaxSignalDuration) - end - end -end diff --git a/spec/v2/models/security_monitoring_rule_options_spec.rb b/spec/v2/models/security_monitoring_rule_options_spec.rb deleted file mode 100644 index f8364fc5d01..00000000000 --- a/spec/v2/models/security_monitoring_rule_options_spec.rb +++ /dev/null @@ -1,53 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::SecurityMonitoringRuleOptions -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SecurityMonitoringRuleOptions' do - before do - # run before each test - @instance = DatadogAPIClient::V2::SecurityMonitoringRuleOptions.new - end - - after do - # run after each test - end - - describe 'test an instance of SecurityMonitoringRuleOptions' do - it 'should create an instance of SecurityMonitoringRuleOptions' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::SecurityMonitoringRuleOptions) - end - end - describe 'test attribute "evaluation_window"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "keep_alive"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "max_signal_duration"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/security_monitoring_rule_query_create_spec.rb b/spec/v2/models/security_monitoring_rule_query_create_spec.rb deleted file mode 100644 index 1c528c0341a..00000000000 --- a/spec/v2/models/security_monitoring_rule_query_create_spec.rb +++ /dev/null @@ -1,59 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::SecurityMonitoringRuleQueryCreate -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SecurityMonitoringRuleQueryCreate' do - before do - # run before each test - @instance = DatadogAPIClient::V2::SecurityMonitoringRuleQueryCreate.new - end - - after do - # run after each test - end - - describe 'test an instance of SecurityMonitoringRuleQueryCreate' do - it 'should create an instance of SecurityMonitoringRuleQueryCreate' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::SecurityMonitoringRuleQueryCreate) - end - end - describe 'test attribute "distinct_fields"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "group_by_fields"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "query"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/security_monitoring_rule_query_spec.rb b/spec/v2/models/security_monitoring_rule_query_spec.rb deleted file mode 100644 index d2ab2f3a0f5..00000000000 --- a/spec/v2/models/security_monitoring_rule_query_spec.rb +++ /dev/null @@ -1,59 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::SecurityMonitoringRuleQuery -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SecurityMonitoringRuleQuery' do - before do - # run before each test - @instance = DatadogAPIClient::V2::SecurityMonitoringRuleQuery.new - end - - after do - # run after each test - end - - describe 'test an instance of SecurityMonitoringRuleQuery' do - it 'should create an instance of SecurityMonitoringRuleQuery' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::SecurityMonitoringRuleQuery) - end - end - describe 'test attribute "distinct_fields"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "group_by_fields"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "query"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/security_monitoring_rule_response_spec.rb b/spec/v2/models/security_monitoring_rule_response_spec.rb deleted file mode 100644 index 82070e6c136..00000000000 --- a/spec/v2/models/security_monitoring_rule_response_spec.rb +++ /dev/null @@ -1,113 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::SecurityMonitoringRuleResponse -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SecurityMonitoringRuleResponse' do - before do - # run before each test - @instance = DatadogAPIClient::V2::SecurityMonitoringRuleResponse.new - end - - after do - # run after each test - end - - describe 'test an instance of SecurityMonitoringRuleResponse' do - it 'should create an instance of SecurityMonitoringRuleResponse' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::SecurityMonitoringRuleResponse) - end - end - describe 'test attribute "cases"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "created_at"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "creation_author_id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "is_default"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "is_deleted"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "is_enabled"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "message"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "options"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "queries"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "tags"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/security_monitoring_rule_severity_spec.rb b/spec/v2/models/security_monitoring_rule_severity_spec.rb deleted file mode 100644 index abfd29c9e81..00000000000 --- a/spec/v2/models/security_monitoring_rule_severity_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::SecurityMonitoringRuleSeverity -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SecurityMonitoringRuleSeverity' do - before do - # run before each test - @instance = DatadogAPIClient::V2::SecurityMonitoringRuleSeverity.new - end - - after do - # run after each test - end - - describe 'test an instance of SecurityMonitoringRuleSeverity' do - it 'should create an instance of SecurityMonitoringRuleSeverity' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::SecurityMonitoringRuleSeverity) - end - end -end diff --git a/spec/v2/models/security_monitoring_rule_update_payload_spec.rb b/spec/v2/models/security_monitoring_rule_update_payload_spec.rb deleted file mode 100644 index 58096997e2b..00000000000 --- a/spec/v2/models/security_monitoring_rule_update_payload_spec.rb +++ /dev/null @@ -1,77 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::SecurityMonitoringRuleUpdatePayload -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SecurityMonitoringRuleUpdatePayload' do - before do - # run before each test - @instance = DatadogAPIClient::V2::SecurityMonitoringRuleUpdatePayload.new - end - - after do - # run after each test - end - - describe 'test an instance of SecurityMonitoringRuleUpdatePayload' do - it 'should create an instance of SecurityMonitoringRuleUpdatePayload' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::SecurityMonitoringRuleUpdatePayload) - end - end - describe 'test attribute "cases"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "is_enabled"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "message"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "options"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "queries"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "tags"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/security_monitoring_signal_attributes_spec.rb b/spec/v2/models/security_monitoring_signal_attributes_spec.rb deleted file mode 100644 index 0847be2f12b..00000000000 --- a/spec/v2/models/security_monitoring_signal_attributes_spec.rb +++ /dev/null @@ -1,59 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::SecurityMonitoringSignalAttributes -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SecurityMonitoringSignalAttributes' do - before do - # run before each test - @instance = DatadogAPIClient::V2::SecurityMonitoringSignalAttributes.new - end - - after do - # run after each test - end - - describe 'test an instance of SecurityMonitoringSignalAttributes' do - it 'should create an instance of SecurityMonitoringSignalAttributes' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::SecurityMonitoringSignalAttributes) - end - end - describe 'test attribute "attributes"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "message"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "tags"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "timestamp"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/security_monitoring_signal_list_request_filter_spec.rb b/spec/v2/models/security_monitoring_signal_list_request_filter_spec.rb deleted file mode 100644 index 10632472254..00000000000 --- a/spec/v2/models/security_monitoring_signal_list_request_filter_spec.rb +++ /dev/null @@ -1,53 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::SecurityMonitoringSignalListRequestFilter -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SecurityMonitoringSignalListRequestFilter' do - before do - # run before each test - @instance = DatadogAPIClient::V2::SecurityMonitoringSignalListRequestFilter.new - end - - after do - # run after each test - end - - describe 'test an instance of SecurityMonitoringSignalListRequestFilter' do - it 'should create an instance of SecurityMonitoringSignalListRequestFilter' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::SecurityMonitoringSignalListRequestFilter) - end - end - describe 'test attribute "from"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "query"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "to"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/security_monitoring_signal_list_request_page_spec.rb b/spec/v2/models/security_monitoring_signal_list_request_page_spec.rb deleted file mode 100644 index bdbca954b64..00000000000 --- a/spec/v2/models/security_monitoring_signal_list_request_page_spec.rb +++ /dev/null @@ -1,47 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::SecurityMonitoringSignalListRequestPage -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SecurityMonitoringSignalListRequestPage' do - before do - # run before each test - @instance = DatadogAPIClient::V2::SecurityMonitoringSignalListRequestPage.new - end - - after do - # run after each test - end - - describe 'test an instance of SecurityMonitoringSignalListRequestPage' do - it 'should create an instance of SecurityMonitoringSignalListRequestPage' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::SecurityMonitoringSignalListRequestPage) - end - end - describe 'test attribute "cursor"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "limit"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/security_monitoring_signal_list_request_spec.rb b/spec/v2/models/security_monitoring_signal_list_request_spec.rb deleted file mode 100644 index 2023fb4dd29..00000000000 --- a/spec/v2/models/security_monitoring_signal_list_request_spec.rb +++ /dev/null @@ -1,53 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::SecurityMonitoringSignalListRequest -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SecurityMonitoringSignalListRequest' do - before do - # run before each test - @instance = DatadogAPIClient::V2::SecurityMonitoringSignalListRequest.new - end - - after do - # run after each test - end - - describe 'test an instance of SecurityMonitoringSignalListRequest' do - it 'should create an instance of SecurityMonitoringSignalListRequest' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::SecurityMonitoringSignalListRequest) - end - end - describe 'test attribute "filter"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "page"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "sort"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/security_monitoring_signal_spec.rb b/spec/v2/models/security_monitoring_signal_spec.rb deleted file mode 100644 index f13f39c83df..00000000000 --- a/spec/v2/models/security_monitoring_signal_spec.rb +++ /dev/null @@ -1,53 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::SecurityMonitoringSignal -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SecurityMonitoringSignal' do - before do - # run before each test - @instance = DatadogAPIClient::V2::SecurityMonitoringSignal.new - end - - after do - # run after each test - end - - describe 'test an instance of SecurityMonitoringSignal' do - it 'should create an instance of SecurityMonitoringSignal' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::SecurityMonitoringSignal) - end - end - describe 'test attribute "attributes"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/security_monitoring_signal_type_spec.rb b/spec/v2/models/security_monitoring_signal_type_spec.rb deleted file mode 100644 index e036ff1ee97..00000000000 --- a/spec/v2/models/security_monitoring_signal_type_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::SecurityMonitoringSignalType -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SecurityMonitoringSignalType' do - before do - # run before each test - @instance = DatadogAPIClient::V2::SecurityMonitoringSignalType.new - end - - after do - # run after each test - end - - describe 'test an instance of SecurityMonitoringSignalType' do - it 'should create an instance of SecurityMonitoringSignalType' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::SecurityMonitoringSignalType) - end - end -end diff --git a/spec/v2/models/security_monitoring_signals_list_response_links_spec.rb b/spec/v2/models/security_monitoring_signals_list_response_links_spec.rb deleted file mode 100644 index 00770ec0546..00000000000 --- a/spec/v2/models/security_monitoring_signals_list_response_links_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::SecurityMonitoringSignalsListResponseLinks -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SecurityMonitoringSignalsListResponseLinks' do - before do - # run before each test - @instance = DatadogAPIClient::V2::SecurityMonitoringSignalsListResponseLinks.new - end - - after do - # run after each test - end - - describe 'test an instance of SecurityMonitoringSignalsListResponseLinks' do - it 'should create an instance of SecurityMonitoringSignalsListResponseLinks' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::SecurityMonitoringSignalsListResponseLinks) - end - end - describe 'test attribute "_next"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/security_monitoring_signals_list_response_meta_page_spec.rb b/spec/v2/models/security_monitoring_signals_list_response_meta_page_spec.rb deleted file mode 100644 index 36328caf6e8..00000000000 --- a/spec/v2/models/security_monitoring_signals_list_response_meta_page_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::SecurityMonitoringSignalsListResponseMetaPage -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SecurityMonitoringSignalsListResponseMetaPage' do - before do - # run before each test - @instance = DatadogAPIClient::V2::SecurityMonitoringSignalsListResponseMetaPage.new - end - - after do - # run after each test - end - - describe 'test an instance of SecurityMonitoringSignalsListResponseMetaPage' do - it 'should create an instance of SecurityMonitoringSignalsListResponseMetaPage' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::SecurityMonitoringSignalsListResponseMetaPage) - end - end - describe 'test attribute "after"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/security_monitoring_signals_list_response_meta_spec.rb b/spec/v2/models/security_monitoring_signals_list_response_meta_spec.rb deleted file mode 100644 index 559cc51ebee..00000000000 --- a/spec/v2/models/security_monitoring_signals_list_response_meta_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::SecurityMonitoringSignalsListResponseMeta -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SecurityMonitoringSignalsListResponseMeta' do - before do - # run before each test - @instance = DatadogAPIClient::V2::SecurityMonitoringSignalsListResponseMeta.new - end - - after do - # run after each test - end - - describe 'test an instance of SecurityMonitoringSignalsListResponseMeta' do - it 'should create an instance of SecurityMonitoringSignalsListResponseMeta' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::SecurityMonitoringSignalsListResponseMeta) - end - end - describe 'test attribute "page"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/security_monitoring_signals_list_response_spec.rb b/spec/v2/models/security_monitoring_signals_list_response_spec.rb deleted file mode 100644 index b6a754e5665..00000000000 --- a/spec/v2/models/security_monitoring_signals_list_response_spec.rb +++ /dev/null @@ -1,53 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::SecurityMonitoringSignalsListResponse -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SecurityMonitoringSignalsListResponse' do - before do - # run before each test - @instance = DatadogAPIClient::V2::SecurityMonitoringSignalsListResponse.new - end - - after do - # run after each test - end - - describe 'test an instance of SecurityMonitoringSignalsListResponse' do - it 'should create an instance of SecurityMonitoringSignalsListResponse' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::SecurityMonitoringSignalsListResponse) - end - end - describe 'test attribute "data"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "links"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "meta"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/security_monitoring_signals_sort_spec.rb b/spec/v2/models/security_monitoring_signals_sort_spec.rb deleted file mode 100644 index fea6d6b6dd5..00000000000 --- a/spec/v2/models/security_monitoring_signals_sort_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::SecurityMonitoringSignalsSort -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'SecurityMonitoringSignalsSort' do - before do - # run before each test - @instance = DatadogAPIClient::V2::SecurityMonitoringSignalsSort.new - end - - after do - # run after each test - end - - describe 'test an instance of SecurityMonitoringSignalsSort' do - it 'should create an instance of SecurityMonitoringSignalsSort' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::SecurityMonitoringSignalsSort) - end - end -end diff --git a/spec/v2/models/user_attributes_spec.rb b/spec/v2/models/user_attributes_spec.rb deleted file mode 100644 index 06b8507d1f3..00000000000 --- a/spec/v2/models/user_attributes_spec.rb +++ /dev/null @@ -1,89 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::UserAttributes -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'UserAttributes' do - before do - # run before each test - @instance = DatadogAPIClient::V2::UserAttributes.new - end - - after do - # run after each test - end - - describe 'test an instance of UserAttributes' do - it 'should create an instance of UserAttributes' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::UserAttributes) - end - end - describe 'test attribute "created_at"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "disabled"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "email"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "handle"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "icon"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "status"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "title"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "verified"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/user_create_attributes_spec.rb b/spec/v2/models/user_create_attributes_spec.rb deleted file mode 100644 index 91107c9cef7..00000000000 --- a/spec/v2/models/user_create_attributes_spec.rb +++ /dev/null @@ -1,53 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::UserCreateAttributes -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'UserCreateAttributes' do - before do - # run before each test - @instance = DatadogAPIClient::V2::UserCreateAttributes.new - end - - after do - # run after each test - end - - describe 'test an instance of UserCreateAttributes' do - it 'should create an instance of UserCreateAttributes' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::UserCreateAttributes) - end - end - describe 'test attribute "email"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "title"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/user_create_data_spec.rb b/spec/v2/models/user_create_data_spec.rb deleted file mode 100644 index 5b81cc250a4..00000000000 --- a/spec/v2/models/user_create_data_spec.rb +++ /dev/null @@ -1,53 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::UserCreateData -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'UserCreateData' do - before do - # run before each test - @instance = DatadogAPIClient::V2::UserCreateData.new - end - - after do - # run after each test - end - - describe 'test an instance of UserCreateData' do - it 'should create an instance of UserCreateData' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::UserCreateData) - end - end - describe 'test attribute "attributes"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "relationships"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/user_create_request_spec.rb b/spec/v2/models/user_create_request_spec.rb deleted file mode 100644 index 8f8d83776b7..00000000000 --- a/spec/v2/models/user_create_request_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::UserCreateRequest -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'UserCreateRequest' do - before do - # run before each test - @instance = DatadogAPIClient::V2::UserCreateRequest.new - end - - after do - # run after each test - end - - describe 'test an instance of UserCreateRequest' do - it 'should create an instance of UserCreateRequest' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::UserCreateRequest) - end - end - describe 'test attribute "data"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/user_invitation_data_attributes_spec.rb b/spec/v2/models/user_invitation_data_attributes_spec.rb deleted file mode 100644 index 2dfad384895..00000000000 --- a/spec/v2/models/user_invitation_data_attributes_spec.rb +++ /dev/null @@ -1,59 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::UserInvitationDataAttributes -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'UserInvitationDataAttributes' do - before do - # run before each test - @instance = DatadogAPIClient::V2::UserInvitationDataAttributes.new - end - - after do - # run after each test - end - - describe 'test an instance of UserInvitationDataAttributes' do - it 'should create an instance of UserInvitationDataAttributes' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::UserInvitationDataAttributes) - end - end - describe 'test attribute "created_at"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "expires_at"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "invite_type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "uuid"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/user_invitation_data_spec.rb b/spec/v2/models/user_invitation_data_spec.rb deleted file mode 100644 index 09f0c5db7e7..00000000000 --- a/spec/v2/models/user_invitation_data_spec.rb +++ /dev/null @@ -1,47 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::UserInvitationData -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'UserInvitationData' do - before do - # run before each test - @instance = DatadogAPIClient::V2::UserInvitationData.new - end - - after do - # run after each test - end - - describe 'test an instance of UserInvitationData' do - it 'should create an instance of UserInvitationData' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::UserInvitationData) - end - end - describe 'test attribute "relationships"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/user_invitation_relationships_spec.rb b/spec/v2/models/user_invitation_relationships_spec.rb deleted file mode 100644 index af8c4f79cee..00000000000 --- a/spec/v2/models/user_invitation_relationships_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::UserInvitationRelationships -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'UserInvitationRelationships' do - before do - # run before each test - @instance = DatadogAPIClient::V2::UserInvitationRelationships.new - end - - after do - # run after each test - end - - describe 'test an instance of UserInvitationRelationships' do - it 'should create an instance of UserInvitationRelationships' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::UserInvitationRelationships) - end - end - describe 'test attribute "user"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/user_invitation_response_data_spec.rb b/spec/v2/models/user_invitation_response_data_spec.rb deleted file mode 100644 index 2deddabb924..00000000000 --- a/spec/v2/models/user_invitation_response_data_spec.rb +++ /dev/null @@ -1,53 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::UserInvitationResponseData -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'UserInvitationResponseData' do - before do - # run before each test - @instance = DatadogAPIClient::V2::UserInvitationResponseData.new - end - - after do - # run after each test - end - - describe 'test an instance of UserInvitationResponseData' do - it 'should create an instance of UserInvitationResponseData' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::UserInvitationResponseData) - end - end - describe 'test attribute "attributes"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/user_invitation_response_spec.rb b/spec/v2/models/user_invitation_response_spec.rb deleted file mode 100644 index 06e02aa7753..00000000000 --- a/spec/v2/models/user_invitation_response_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::UserInvitationResponse -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'UserInvitationResponse' do - before do - # run before each test - @instance = DatadogAPIClient::V2::UserInvitationResponse.new - end - - after do - # run after each test - end - - describe 'test an instance of UserInvitationResponse' do - it 'should create an instance of UserInvitationResponse' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::UserInvitationResponse) - end - end - describe 'test attribute "data"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/user_invitations_request_spec.rb b/spec/v2/models/user_invitations_request_spec.rb deleted file mode 100644 index 9c6ad918be0..00000000000 --- a/spec/v2/models/user_invitations_request_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::UserInvitationsRequest -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'UserInvitationsRequest' do - before do - # run before each test - @instance = DatadogAPIClient::V2::UserInvitationsRequest.new - end - - after do - # run after each test - end - - describe 'test an instance of UserInvitationsRequest' do - it 'should create an instance of UserInvitationsRequest' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::UserInvitationsRequest) - end - end - describe 'test attribute "data"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/user_invitations_response_spec.rb b/spec/v2/models/user_invitations_response_spec.rb deleted file mode 100644 index d01a34b936b..00000000000 --- a/spec/v2/models/user_invitations_response_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::UserInvitationsResponse -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'UserInvitationsResponse' do - before do - # run before each test - @instance = DatadogAPIClient::V2::UserInvitationsResponse.new - end - - after do - # run after each test - end - - describe 'test an instance of UserInvitationsResponse' do - it 'should create an instance of UserInvitationsResponse' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::UserInvitationsResponse) - end - end - describe 'test attribute "data"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/user_invitations_type_spec.rb b/spec/v2/models/user_invitations_type_spec.rb deleted file mode 100644 index a169915c2c5..00000000000 --- a/spec/v2/models/user_invitations_type_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::UserInvitationsType -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'UserInvitationsType' do - before do - # run before each test - @instance = DatadogAPIClient::V2::UserInvitationsType.new - end - - after do - # run after each test - end - - describe 'test an instance of UserInvitationsType' do - it 'should create an instance of UserInvitationsType' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::UserInvitationsType) - end - end -end diff --git a/spec/v2/models/user_relationships_spec.rb b/spec/v2/models/user_relationships_spec.rb deleted file mode 100644 index f9d44706177..00000000000 --- a/spec/v2/models/user_relationships_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::UserRelationships -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'UserRelationships' do - before do - # run before each test - @instance = DatadogAPIClient::V2::UserRelationships.new - end - - after do - # run after each test - end - - describe 'test an instance of UserRelationships' do - it 'should create an instance of UserRelationships' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::UserRelationships) - end - end - describe 'test attribute "roles"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/user_response_included_item_spec.rb b/spec/v2/models/user_response_included_item_spec.rb deleted file mode 100644 index e597c4a664f..00000000000 --- a/spec/v2/models/user_response_included_item_spec.rb +++ /dev/null @@ -1,59 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::UserResponseIncludedItem -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'UserResponseIncludedItem' do - before do - # run before each test - @instance = DatadogAPIClient::V2::UserResponseIncludedItem.new - end - - after do - # run after each test - end - - describe 'test an instance of UserResponseIncludedItem' do - it 'should create an instance of UserResponseIncludedItem' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::UserResponseIncludedItem) - end - end - describe 'test attribute "attributes"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "relationships"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/user_response_relationships_spec.rb b/spec/v2/models/user_response_relationships_spec.rb deleted file mode 100644 index 1c40c78263e..00000000000 --- a/spec/v2/models/user_response_relationships_spec.rb +++ /dev/null @@ -1,59 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::UserResponseRelationships -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'UserResponseRelationships' do - before do - # run before each test - @instance = DatadogAPIClient::V2::UserResponseRelationships.new - end - - after do - # run after each test - end - - describe 'test an instance of UserResponseRelationships' do - it 'should create an instance of UserResponseRelationships' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::UserResponseRelationships) - end - end - describe 'test attribute "org"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "other_orgs"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "other_users"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "roles"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/user_response_spec.rb b/spec/v2/models/user_response_spec.rb deleted file mode 100644 index 53f8398f760..00000000000 --- a/spec/v2/models/user_response_spec.rb +++ /dev/null @@ -1,47 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::UserResponse -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'UserResponse' do - before do - # run before each test - @instance = DatadogAPIClient::V2::UserResponse.new - end - - after do - # run after each test - end - - describe 'test an instance of UserResponse' do - it 'should create an instance of UserResponse' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::UserResponse) - end - end - describe 'test attribute "data"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "included"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/user_spec.rb b/spec/v2/models/user_spec.rb deleted file mode 100644 index 8b7bc3cb1ca..00000000000 --- a/spec/v2/models/user_spec.rb +++ /dev/null @@ -1,59 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::User -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'User' do - before do - # run before each test - @instance = DatadogAPIClient::V2::User.new - end - - after do - # run after each test - end - - describe 'test an instance of User' do - it 'should create an instance of User' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::User) - end - end - describe 'test attribute "attributes"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "relationships"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/user_update_attributes_spec.rb b/spec/v2/models/user_update_attributes_spec.rb deleted file mode 100644 index 40ac8f05b74..00000000000 --- a/spec/v2/models/user_update_attributes_spec.rb +++ /dev/null @@ -1,53 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::UserUpdateAttributes -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'UserUpdateAttributes' do - before do - # run before each test - @instance = DatadogAPIClient::V2::UserUpdateAttributes.new - end - - after do - # run after each test - end - - describe 'test an instance of UserUpdateAttributes' do - it 'should create an instance of UserUpdateAttributes' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::UserUpdateAttributes) - end - end - describe 'test attribute "disabled"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "email"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/user_update_data_spec.rb b/spec/v2/models/user_update_data_spec.rb deleted file mode 100644 index 421fcdbda64..00000000000 --- a/spec/v2/models/user_update_data_spec.rb +++ /dev/null @@ -1,53 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::UserUpdateData -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'UserUpdateData' do - before do - # run before each test - @instance = DatadogAPIClient::V2::UserUpdateData.new - end - - after do - # run after each test - end - - describe 'test an instance of UserUpdateData' do - it 'should create an instance of UserUpdateData' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::UserUpdateData) - end - end - describe 'test attribute "attributes"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/user_update_request_spec.rb b/spec/v2/models/user_update_request_spec.rb deleted file mode 100644 index fb935723cc5..00000000000 --- a/spec/v2/models/user_update_request_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::UserUpdateRequest -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'UserUpdateRequest' do - before do - # run before each test - @instance = DatadogAPIClient::V2::UserUpdateRequest.new - end - - after do - # run after each test - end - - describe 'test an instance of UserUpdateRequest' do - it 'should create an instance of UserUpdateRequest' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::UserUpdateRequest) - end - end - describe 'test attribute "data"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/users_response_spec.rb b/spec/v2/models/users_response_spec.rb deleted file mode 100644 index 80284ddf932..00000000000 --- a/spec/v2/models/users_response_spec.rb +++ /dev/null @@ -1,53 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::UsersResponse -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'UsersResponse' do - before do - # run before each test - @instance = DatadogAPIClient::V2::UsersResponse.new - end - - after do - # run after each test - end - - describe 'test an instance of UsersResponse' do - it 'should create an instance of UsersResponse' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::UsersResponse) - end - end - describe 'test attribute "data"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "included"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "meta"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/spec/v2/models/users_type_spec.rb b/spec/v2/models/users_type_spec.rb deleted file mode 100644 index f4abcc159eb..00000000000 --- a/spec/v2/models/users_type_spec.rb +++ /dev/null @@ -1,35 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for DatadogAPIClient::V2::UsersType -# Automatically generated by openapi-generator (https://openapi-generator.tech) -# Please update as you see appropriate -describe 'UsersType' do - before do - # run before each test - @instance = DatadogAPIClient::V2::UsersType.new - end - - after do - # run after each test - end - - describe 'test an instance of UsersType' do - it 'should create an instance of UsersType' do - expect(@instance).to be_instance_of(DatadogAPIClient::V2::UsersType) - end - end -end diff --git a/spec/v2/spec_helper.rb b/spec/v2/spec_helper.rb deleted file mode 100644 index a4467de69d5..00000000000 --- a/spec/v2/spec_helper.rb +++ /dev/null @@ -1,111 +0,0 @@ -=begin -#Datadog API V2 Collection - -#Collection of all Datadog Public endpoints. - -The version of the OpenAPI document: 1.0 -Contact: support@datadoghq.com -Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.0-SNAPSHOT - -=end - -# load the gem -require 'datadog_api_client/v2' - -# The following was generated by the `rspec --init` command. Conventionally, all -# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`. -# The generated `.rspec` file contains `--require spec_helper` which will cause -# this file to always be loaded, without a need to explicitly require it in any -# files. -# -# Given that it is always loaded, you are encouraged to keep this file as -# light-weight as possible. Requiring heavyweight dependencies from this file -# will add to the boot time of your test suite on EVERY test run, even for an -# individual file that may not need all of that loaded. Instead, consider making -# a separate helper file that requires the additional dependencies and performs -# the additional setup, and require it from the spec files that actually need -# it. -# -# The `.rspec` file also contains a few flags that are not defaults but that -# users commonly want. -# -# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration -RSpec.configure do |config| - # rspec-expectations config goes here. You can use an alternate - # assertion/expectation library such as wrong or the stdlib/minitest - # assertions if you prefer. - config.expect_with :rspec do |expectations| - # This option will default to `true` in RSpec 4. It makes the `description` - # and `failure_message` of custom matchers include text for helper methods - # defined using `chain`, e.g.: - # be_bigger_than(2).and_smaller_than(4).description - # # => "be bigger than 2 and smaller than 4" - # ...rather than: - # # => "be bigger than 2" - expectations.include_chain_clauses_in_custom_matcher_descriptions = true - end - - # rspec-mocks config goes here. You can use an alternate test double - # library (such as bogus or mocha) by changing the `mock_with` option here. - config.mock_with :rspec do |mocks| - # Prevents you from mocking or stubbing a method that does not exist on - # a real object. This is generally recommended, and will default to - # `true` in RSpec 4. - mocks.verify_partial_doubles = true - end - -# The settings below are suggested to provide a good initial experience -# with RSpec, but feel free to customize to your heart's content. -=begin - # These two settings work together to allow you to limit a spec run - # to individual examples or groups you care about by tagging them with - # `:focus` metadata. When nothing is tagged with `:focus`, all examples - # get run. - config.filter_run :focus - config.run_all_when_everything_filtered = true - - # Allows RSpec to persist some state between runs in order to support - # the `--only-failures` and `--next-failure` CLI options. We recommend - # you configure your source control system to ignore this file. - config.example_status_persistence_file_path = "spec/examples.txt" - - # Limits the available syntax to the non-monkey patched syntax that is - # recommended. For more details, see: - # - http://rspec.info/blog/2012/06/rspecs-new-expectation-syntax/ - # - http://www.teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/ - # - http://rspec.info/blog/2014/05/notable-changes-in-rspec-3/#zero-monkey-patching-mode - config.disable_monkey_patching! - - # This setting enables warnings. It's recommended, but in some cases may - # be too noisy due to issues in dependencies. - config.warnings = true - - # Many RSpec users commonly either run the entire suite or an individual - # file, and it's useful to allow more verbose output when running an - # individual spec file. - if config.files_to_run.one? - # Use the documentation formatter for detailed output, - # unless a formatter has already been configured - # (e.g. via a command-line flag). - config.default_formatter = 'doc' - end - - # Print the 10 slowest examples and example groups at the - # end of the spec run, to help surface which specs are running - # particularly slow. - config.profile_examples = 10 - - # Run specs in random order to surface order dependencies. If you find an - # order dependency and want to debug it, you can fix the order by providing - # the seed, which is printed after each run. - # --seed 1234 - config.order = :random - - # Seed global randomization in this process using the `--seed` CLI option. - # Setting this allows you to use `--seed` to deterministically reproduce - # test failures related to randomization by passing the same `--seed` value - # as the one that triggered the failure. - Kernel.srand config.seed -=end -end