Sha256: 3a8193476e5aaaa20ad0765a40b1f5d762fb85cec1d58786b4c374027011c2cb
Contents?: true
Size: 1.77 KB
Versions: 2
Compression:
Stored size: 1.77 KB
Contents
=begin #Billing API #Automate your infrastructure billing with the Bare Metal Cloud Billing API. Reserve your server instances to ensure guaranteed resource availability for 12, 24, and 36 months. Retrieve your server’s rated usage for a given period and enable or disable auto-renewals.<br> <br> <span class='pnap-api-knowledge-base-link'> Knowledge base articles to help you can be found <a href='https://phoenixnap.com/kb/phoenixnap-bare-metal-cloud-billing-models' target='_blank'>here</a> </span><br> <br> <b>All URLs are relative to (https://api.phoenixnap.com/billing/v1/)</b> The version of the OpenAPI document: 0.1 Contact: support@phoenixnap.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 7.2.0 =end require 'spec_helper' require 'json' require 'date' # Unit tests for BillingApi::RatedUsageGet200ResponseInner # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate describe BillingApi::RatedUsageGet200ResponseInner do describe '.openapi_one_of' do it 'lists the items referenced in the oneOf array' do expect(described_class.openapi_one_of).to_not be_empty end end describe '.openapi_discriminator_name' do it 'returns the value of the "discriminator" property' do expect(described_class.openapi_discriminator_name).to_not be_empty end end describe '.openapi_discriminator_mapping' do it 'returns the key/values of the "mapping" property' do expect(described_class.openapi_discriminator_mapping.values.sort).to eq(described_class.openapi_one_of.sort) end end describe '.build' do it 'returns the correct model' do # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
pnap_billing_api-2.0.0 | spec/models/rated_usage_get200_response_inner_spec.rb |
pnap_billing_api-1.0.0 | spec/models/rated_usage_get200_response_inner_spec.rb |