freeclimb 5.3.0 → 5.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
 - data/CHANGELOG.md +9 -1
 - data/Gemfile.lock +1 -1
 - data/README.md +18 -4
 - data/docs/AvailableNumber.md +0 -4
 - data/docs/BlobListResponse.md +32 -0
 - data/docs/BlobResult.md +32 -0
 - data/docs/CreateBlobRequest.md +22 -0
 - data/docs/DefaultApi.md +449 -6
 - data/docs/IncomingNumberResult.md +0 -4
 - data/docs/ModifyBlobRequest.md +20 -0
 - data/docs/PlatformError.md +24 -0
 - data/docs/ReplaceBlobRequest.md +18 -0
 - data/docs/Say.md +2 -0
 - data/docs/TTSEngine.md +20 -0
 - data/docs/TTSEngineName.md +18 -0
 - data/lib/freeclimb/api/default_api.rb +715 -8
 - data/lib/freeclimb/models/available_number.rb +1 -23
 - data/lib/freeclimb/models/blob_list_response.rb +303 -0
 - data/lib/freeclimb/models/blob_result.rb +332 -0
 - data/lib/freeclimb/models/create_blob_request.rb +255 -0
 - data/lib/freeclimb/models/incoming_number_result.rb +1 -23
 - data/lib/freeclimb/models/modify_blob_request.rb +245 -0
 - data/lib/freeclimb/models/platform_error.rb +244 -0
 - data/lib/freeclimb/models/replace_blob_request.rb +221 -0
 - data/lib/freeclimb/models/say.rb +10 -1
 - data/lib/freeclimb/models/tts_engine.rb +250 -0
 - data/lib/freeclimb/models/tts_engine_name.rb +36 -0
 - data/lib/freeclimb/version.rb +1 -1
 - data/lib/freeclimb.rb +8 -0
 - data/openapi.json +894 -97
 - data/spec/api/default_api_spec.rb +188 -32
 - data/spec/models/account_result_spec.rb +3 -3
 - data/spec/models/available_number_spec.rb +3 -98
 - data/spec/models/blob_list_response_spec.rb +502 -0
 - data/spec/models/blob_result_spec.rb +489 -0
 - data/spec/models/call_result_spec.rb +3 -3
 - data/spec/models/conference_result_spec.rb +3 -3
 - data/spec/models/create_blob_request_spec.rb +273 -0
 - data/spec/models/export_request_spec.rb +6 -6
 - data/spec/models/export_result_spec.rb +6 -6
 - data/spec/models/incoming_number_result_spec.rb +6 -102
 - data/spec/models/log_result_spec.rb +3 -3
 - data/spec/models/message_result_spec.rb +3 -3
 - data/spec/models/modify_blob_request_spec.rb +226 -0
 - data/spec/models/platform_error_spec.rb +318 -0
 - data/spec/models/queue_result_spec.rb +3 -3
 - data/spec/models/replace_blob_request_spec.rb +176 -0
 - data/spec/models/say_spec.rb +50 -0
 - data/spec/models/sms_ten_dlc_partner_campaign_spec.rb +3 -3
 - data/spec/models/transcribe_utterance_spec.rb +3 -3
 - data/spec/models/tts_engine_name_spec.rb +75 -0
 - data/spec/models/tts_engine_spec.rb +183 -0
 - data/spec/spec_helper.rb +1 -1
 - metadata +26 -2
 
| 
         @@ -0,0 +1,273 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            # #FreeClimb API
         
     | 
| 
      
 2 
     | 
    
         
            +
            #
         
     | 
| 
      
 3 
     | 
    
         
            +
            # FreeClimb is a cloud-based application programming interface (API) that puts the power of the Vail platform in your hands. FreeClimb simplifies the process of creating applications that can use a full range of telephony features without requiring specialized or on-site telephony equipment. Using the FreeClimb REST API to write applications is easy! You have the option to use the language of your choice or hit the API directly. Your application can execute a command by issuing a RESTful request to the FreeClimb API. The base URL to send HTTP requests to the FreeClimb REST API is: /apiserver. FreeClimb authenticates and processes your request.
         
     | 
| 
      
 4 
     | 
    
         
            +
            #
         
     | 
| 
      
 5 
     | 
    
         
            +
            # The version of the OpenAPI document: 1.0.0
         
     | 
| 
      
 6 
     | 
    
         
            +
            # Contact: support@freeclimb.com
         
     | 
| 
      
 7 
     | 
    
         
            +
            # Generated by: https://openapi-generator.tech
         
     | 
| 
      
 8 
     | 
    
         
            +
            # OpenAPI Generator version: 7.9.0
         
     | 
| 
      
 9 
     | 
    
         
            +
            #
         
     | 
| 
      
 10 
     | 
    
         
            +
             
     | 
| 
      
 11 
     | 
    
         
            +
            require "spec_helper"
         
     | 
| 
      
 12 
     | 
    
         
            +
            require "json"
         
     | 
| 
      
 13 
     | 
    
         
            +
            require "date"
         
     | 
| 
      
 14 
     | 
    
         
            +
            include Freeclimb
         
     | 
| 
      
 15 
     | 
    
         
            +
             
     | 
| 
      
 16 
     | 
    
         
            +
            # Unit tests for Freeclimb::CreateBlobRequest
         
     | 
| 
      
 17 
     | 
    
         
            +
            # Automatically generated by openapi-generator (https://openapi-generator.tech)
         
     | 
| 
      
 18 
     | 
    
         
            +
            # Please update as you see appropriate
         
     | 
| 
      
 19 
     | 
    
         
            +
            describe Freeclimb::CreateBlobRequest do
         
     | 
| 
      
 20 
     | 
    
         
            +
              let(:instance) { Freeclimb::CreateBlobRequest.new }
         
     | 
| 
      
 21 
     | 
    
         
            +
             
     | 
| 
      
 22 
     | 
    
         
            +
              describe "test an instance of CreateBlobRequest" do
         
     | 
| 
      
 23 
     | 
    
         
            +
                it "should create an instance of CreateBlobRequest" do
         
     | 
| 
      
 24 
     | 
    
         
            +
                  expect(instance).to be_instance_of(Freeclimb::CreateBlobRequest)
         
     | 
| 
      
 25 
     | 
    
         
            +
                end
         
     | 
| 
      
 26 
     | 
    
         
            +
              end
         
     | 
| 
      
 27 
     | 
    
         
            +
             
     | 
| 
      
 28 
     | 
    
         
            +
              describe 'test attribute "_alias"' do
         
     | 
| 
      
 29 
     | 
    
         
            +
                it "should assign a value of maxLength" do
         
     | 
| 
      
 30 
     | 
    
         
            +
                  instance._alias = "T" * 64
         
     | 
| 
      
 31 
     | 
    
         
            +
                  expect(instance._alias).to eq("T" * 64)
         
     | 
| 
      
 32 
     | 
    
         
            +
                end
         
     | 
| 
      
 33 
     | 
    
         
            +
                it "should not assign a value over maxLength" do
         
     | 
| 
      
 34 
     | 
    
         
            +
                  expect { instance._alias = "T" * (64 + 1) }.to raise_error(ArgumentError)
         
     | 
| 
      
 35 
     | 
    
         
            +
                end
         
     | 
| 
      
 36 
     | 
    
         
            +
              end
         
     | 
| 
      
 37 
     | 
    
         
            +
             
     | 
| 
      
 38 
     | 
    
         
            +
              describe 'test attribute "expires_at"' do
         
     | 
| 
      
 39 
     | 
    
         
            +
                it "should work" do
         
     | 
| 
      
 40 
     | 
    
         
            +
                  instance.expires_at = "TEST_STRING"
         
     | 
| 
      
 41 
     | 
    
         
            +
                  expect(instance.expires_at).to eq("TEST_STRING")
         
     | 
| 
      
 42 
     | 
    
         
            +
                end
         
     | 
| 
      
 43 
     | 
    
         
            +
              end
         
     | 
| 
      
 44 
     | 
    
         
            +
             
     | 
| 
      
 45 
     | 
    
         
            +
              describe 'test attribute "blob"' do
         
     | 
| 
      
 46 
     | 
    
         
            +
                it "should work" do
         
     | 
| 
      
 47 
     | 
    
         
            +
                  testObject = Object.new
         
     | 
| 
      
 48 
     | 
    
         
            +
                  instance.blob = testObject
         
     | 
| 
      
 49 
     | 
    
         
            +
                  expect(instance.blob).to eq(testObject)
         
     | 
| 
      
 50 
     | 
    
         
            +
             
     | 
| 
      
 51 
     | 
    
         
            +
                  instance.blob = Object.new
         
     | 
| 
      
 52 
     | 
    
         
            +
                  expect(instance.blob).to be_instance_of(Object)
         
     | 
| 
      
 53 
     | 
    
         
            +
                end
         
     | 
| 
      
 54 
     | 
    
         
            +
              end
         
     | 
| 
      
 55 
     | 
    
         
            +
             
     | 
| 
      
 56 
     | 
    
         
            +
              describe 'test method "initialize"' do
         
     | 
| 
      
 57 
     | 
    
         
            +
                it "properly initializes with values" do
         
     | 
| 
      
 58 
     | 
    
         
            +
                  expect {
         
     | 
| 
      
 59 
     | 
    
         
            +
                    Freeclimb::CreateBlobRequest.new(
         
     | 
| 
      
 60 
     | 
    
         
            +
                      _alias: "TS",
         
     | 
| 
      
 61 
     | 
    
         
            +
             
     | 
| 
      
 62 
     | 
    
         
            +
                      expires_at: "TS",
         
     | 
| 
      
 63 
     | 
    
         
            +
             
     | 
| 
      
 64 
     | 
    
         
            +
                      blob: Object.new
         
     | 
| 
      
 65 
     | 
    
         
            +
                    )
         
     | 
| 
      
 66 
     | 
    
         
            +
                  }.not_to raise_error
         
     | 
| 
      
 67 
     | 
    
         
            +
                end
         
     | 
| 
      
 68 
     | 
    
         
            +
                it "fails to initialize with input argument that is not a hash in Freeclimb::CreateBlobRequest" do
         
     | 
| 
      
 69 
     | 
    
         
            +
                  expect {
         
     | 
| 
      
 70 
     | 
    
         
            +
                    Freeclimb::CreateBlobRequest.new(
         
     | 
| 
      
 71 
     | 
    
         
            +
                      _alias: "TS",
         
     | 
| 
      
 72 
     | 
    
         
            +
             
     | 
| 
      
 73 
     | 
    
         
            +
                      expires_at: "TS",
         
     | 
| 
      
 74 
     | 
    
         
            +
             
     | 
| 
      
 75 
     | 
    
         
            +
                      blob: Object.new,
         
     | 
| 
      
 76 
     | 
    
         
            +
             
     | 
| 
      
 77 
     | 
    
         
            +
                      invalid_attribute: true
         
     | 
| 
      
 78 
     | 
    
         
            +
                    )
         
     | 
| 
      
 79 
     | 
    
         
            +
                  }.to raise_error(ArgumentError)
         
     | 
| 
      
 80 
     | 
    
         
            +
                end
         
     | 
| 
      
 81 
     | 
    
         
            +
                it "fails to initialize with invalid attribute" do
         
     | 
| 
      
 82 
     | 
    
         
            +
                  expect {
         
     | 
| 
      
 83 
     | 
    
         
            +
                    Freeclimb::CreateBlobRequest.new(
         
     | 
| 
      
 84 
     | 
    
         
            +
                      _alias: "TS",
         
     | 
| 
      
 85 
     | 
    
         
            +
             
     | 
| 
      
 86 
     | 
    
         
            +
                      expires_at: "TS",
         
     | 
| 
      
 87 
     | 
    
         
            +
             
     | 
| 
      
 88 
     | 
    
         
            +
                      blob: Object.new,
         
     | 
| 
      
 89 
     | 
    
         
            +
             
     | 
| 
      
 90 
     | 
    
         
            +
                      invalid_attribute: true
         
     | 
| 
      
 91 
     | 
    
         
            +
                    )
         
     | 
| 
      
 92 
     | 
    
         
            +
                  }.to raise_error(ArgumentError)
         
     | 
| 
      
 93 
     | 
    
         
            +
                end
         
     | 
| 
      
 94 
     | 
    
         
            +
              end
         
     | 
| 
      
 95 
     | 
    
         
            +
             
     | 
| 
      
 96 
     | 
    
         
            +
              describe 'test method "valid"' do
         
     | 
| 
      
 97 
     | 
    
         
            +
                it "checks if properties are valid" do
         
     | 
| 
      
 98 
     | 
    
         
            +
                  instance = Freeclimb::CreateBlobRequest.new(
         
     | 
| 
      
 99 
     | 
    
         
            +
                    _alias: "TS",
         
     | 
| 
      
 100 
     | 
    
         
            +
             
     | 
| 
      
 101 
     | 
    
         
            +
                    expires_at: "TS",
         
     | 
| 
      
 102 
     | 
    
         
            +
             
     | 
| 
      
 103 
     | 
    
         
            +
                    blob: Object.new
         
     | 
| 
      
 104 
     | 
    
         
            +
                  )
         
     | 
| 
      
 105 
     | 
    
         
            +
                  expect(instance.valid?).to eq(true)
         
     | 
| 
      
 106 
     | 
    
         
            +
                end
         
     | 
| 
      
 107 
     | 
    
         
            +
             
     | 
| 
      
 108 
     | 
    
         
            +
                skip "checks if properties are invalid" do
         
     | 
| 
      
 109 
     | 
    
         
            +
                  instance = Freeclimb::CreateBlobRequest.new
         
     | 
| 
      
 110 
     | 
    
         
            +
             
     | 
| 
      
 111 
     | 
    
         
            +
                  expect(instance.valid?).to eq(false)
         
     | 
| 
      
 112 
     | 
    
         
            +
                end
         
     | 
| 
      
 113 
     | 
    
         
            +
              end
         
     | 
| 
      
 114 
     | 
    
         
            +
             
     | 
| 
      
 115 
     | 
    
         
            +
              describe 'test method "eql?"' do
         
     | 
| 
      
 116 
     | 
    
         
            +
                it "checks if objects are equal" do
         
     | 
| 
      
 117 
     | 
    
         
            +
                  obj_blob = Object.new
         
     | 
| 
      
 118 
     | 
    
         
            +
             
     | 
| 
      
 119 
     | 
    
         
            +
                  instance_1 = Freeclimb::CreateBlobRequest.new(
         
     | 
| 
      
 120 
     | 
    
         
            +
                    _alias: "TS",
         
     | 
| 
      
 121 
     | 
    
         
            +
             
     | 
| 
      
 122 
     | 
    
         
            +
                    expires_at: "TS",
         
     | 
| 
      
 123 
     | 
    
         
            +
             
     | 
| 
      
 124 
     | 
    
         
            +
                    blob: obj_blob
         
     | 
| 
      
 125 
     | 
    
         
            +
                  )
         
     | 
| 
      
 126 
     | 
    
         
            +
                  instance_2 = Freeclimb::CreateBlobRequest.new(
         
     | 
| 
      
 127 
     | 
    
         
            +
                    _alias: "TS",
         
     | 
| 
      
 128 
     | 
    
         
            +
             
     | 
| 
      
 129 
     | 
    
         
            +
                    expires_at: "TS",
         
     | 
| 
      
 130 
     | 
    
         
            +
             
     | 
| 
      
 131 
     | 
    
         
            +
                    blob: obj_blob
         
     | 
| 
      
 132 
     | 
    
         
            +
                  )
         
     | 
| 
      
 133 
     | 
    
         
            +
                  expect(instance_1.eql?(instance_2)).to eq(true)
         
     | 
| 
      
 134 
     | 
    
         
            +
                end
         
     | 
| 
      
 135 
     | 
    
         
            +
             
     | 
| 
      
 136 
     | 
    
         
            +
                it "checks if objects are not equal" do
         
     | 
| 
      
 137 
     | 
    
         
            +
                  instance_1 = Freeclimb::CreateBlobRequest.new(
         
     | 
| 
      
 138 
     | 
    
         
            +
                    _alias: "TS",
         
     | 
| 
      
 139 
     | 
    
         
            +
             
     | 
| 
      
 140 
     | 
    
         
            +
                    expires_at: "TS",
         
     | 
| 
      
 141 
     | 
    
         
            +
             
     | 
| 
      
 142 
     | 
    
         
            +
                    blob: Object.new,
         
     | 
| 
      
 143 
     | 
    
         
            +
             
     | 
| 
      
 144 
     | 
    
         
            +
                    blob: Object.new
         
     | 
| 
      
 145 
     | 
    
         
            +
                  )
         
     | 
| 
      
 146 
     | 
    
         
            +
                  instance_2 = Freeclimb::CreateBlobRequest.new(
         
     | 
| 
      
 147 
     | 
    
         
            +
                    _alias: "ST",
         
     | 
| 
      
 148 
     | 
    
         
            +
             
     | 
| 
      
 149 
     | 
    
         
            +
                    expires_at: "ST",
         
     | 
| 
      
 150 
     | 
    
         
            +
             
     | 
| 
      
 151 
     | 
    
         
            +
                    blob: Object.new
         
     | 
| 
      
 152 
     | 
    
         
            +
                  )
         
     | 
| 
      
 153 
     | 
    
         
            +
                  expect(instance_1.eql?(instance_2)).to eq(false)
         
     | 
| 
      
 154 
     | 
    
         
            +
                end
         
     | 
| 
      
 155 
     | 
    
         
            +
              end
         
     | 
| 
      
 156 
     | 
    
         
            +
             
     | 
| 
      
 157 
     | 
    
         
            +
              describe 'test method "hash"' do
         
     | 
| 
      
 158 
     | 
    
         
            +
                it "calculates hash code" do
         
     | 
| 
      
 159 
     | 
    
         
            +
                  instance = Freeclimb::CreateBlobRequest.new(
         
     | 
| 
      
 160 
     | 
    
         
            +
                    _alias: "TS",
         
     | 
| 
      
 161 
     | 
    
         
            +
             
     | 
| 
      
 162 
     | 
    
         
            +
                    expires_at: "TS",
         
     | 
| 
      
 163 
     | 
    
         
            +
             
     | 
| 
      
 164 
     | 
    
         
            +
                    blob: Object.new
         
     | 
| 
      
 165 
     | 
    
         
            +
                  )
         
     | 
| 
      
 166 
     | 
    
         
            +
                  expect(instance.hash).to be_a_kind_of(Integer)
         
     | 
| 
      
 167 
     | 
    
         
            +
                end
         
     | 
| 
      
 168 
     | 
    
         
            +
              end
         
     | 
| 
      
 169 
     | 
    
         
            +
             
     | 
| 
      
 170 
     | 
    
         
            +
              describe 'test method "build_from_hash"' do
         
     | 
| 
      
 171 
     | 
    
         
            +
                it "builds equivalent model from hash code" do
         
     | 
| 
      
 172 
     | 
    
         
            +
                  instance_1 = Freeclimb::CreateBlobRequest.new(
         
     | 
| 
      
 173 
     | 
    
         
            +
                    _alias: "TS",
         
     | 
| 
      
 174 
     | 
    
         
            +
             
     | 
| 
      
 175 
     | 
    
         
            +
                    expires_at: "TS",
         
     | 
| 
      
 176 
     | 
    
         
            +
             
     | 
| 
      
 177 
     | 
    
         
            +
                    blob: Object.new
         
     | 
| 
      
 178 
     | 
    
         
            +
                  )
         
     | 
| 
      
 179 
     | 
    
         
            +
                  instance_2 = Freeclimb::CreateBlobRequest.new(
         
     | 
| 
      
 180 
     | 
    
         
            +
                    _alias: "TS",
         
     | 
| 
      
 181 
     | 
    
         
            +
             
     | 
| 
      
 182 
     | 
    
         
            +
                    expires_at: "TS",
         
     | 
| 
      
 183 
     | 
    
         
            +
             
     | 
| 
      
 184 
     | 
    
         
            +
                    blob: Object.new
         
     | 
| 
      
 185 
     | 
    
         
            +
                  )
         
     | 
| 
      
 186 
     | 
    
         
            +
             
     | 
| 
      
 187 
     | 
    
         
            +
                  expect(instance_2.build_from_hash(instance_1.hash)).to eq(instance_1.build_from_hash(instance_1.hash))
         
     | 
| 
      
 188 
     | 
    
         
            +
                end
         
     | 
| 
      
 189 
     | 
    
         
            +
              end
         
     | 
| 
      
 190 
     | 
    
         
            +
             
     | 
| 
      
 191 
     | 
    
         
            +
              describe 'test method "_deserialize"' do
         
     | 
| 
      
 192 
     | 
    
         
            +
                instance = Freeclimb::CreateBlobRequest.new(
         
     | 
| 
      
 193 
     | 
    
         
            +
                  _alias: "TS",
         
     | 
| 
      
 194 
     | 
    
         
            +
             
     | 
| 
      
 195 
     | 
    
         
            +
                  expires_at: "TS",
         
     | 
| 
      
 196 
     | 
    
         
            +
             
     | 
| 
      
 197 
     | 
    
         
            +
                  blob: Object.new
         
     | 
| 
      
 198 
     | 
    
         
            +
                )
         
     | 
| 
      
 199 
     | 
    
         
            +
                it "deserializes the data of _alias" do
         
     | 
| 
      
 200 
     | 
    
         
            +
                  expect(instance._deserialize("String", instance._alias)).to be_a_kind_of(String)
         
     | 
| 
      
 201 
     | 
    
         
            +
                end
         
     | 
| 
      
 202 
     | 
    
         
            +
             
     | 
| 
      
 203 
     | 
    
         
            +
                it "deserializes the data of expires_at" do
         
     | 
| 
      
 204 
     | 
    
         
            +
                  expect(instance._deserialize("String", instance.expires_at)).to be_a_kind_of(String)
         
     | 
| 
      
 205 
     | 
    
         
            +
                end
         
     | 
| 
      
 206 
     | 
    
         
            +
             
     | 
| 
      
 207 
     | 
    
         
            +
                it "deserializes the data of blob" do
         
     | 
| 
      
 208 
     | 
    
         
            +
                  expect(instance._deserialize("Object", instance.blob)).to be_a_kind_of(Object)
         
     | 
| 
      
 209 
     | 
    
         
            +
                end
         
     | 
| 
      
 210 
     | 
    
         
            +
              end
         
     | 
| 
      
 211 
     | 
    
         
            +
             
     | 
| 
      
 212 
     | 
    
         
            +
              describe 'test method "to_s"' do
         
     | 
| 
      
 213 
     | 
    
         
            +
                it "returns the string representation of the object" do
         
     | 
| 
      
 214 
     | 
    
         
            +
                  instance = Freeclimb::CreateBlobRequest.new(
         
     | 
| 
      
 215 
     | 
    
         
            +
                    _alias: "TS",
         
     | 
| 
      
 216 
     | 
    
         
            +
             
     | 
| 
      
 217 
     | 
    
         
            +
                    expires_at: "TS",
         
     | 
| 
      
 218 
     | 
    
         
            +
             
     | 
| 
      
 219 
     | 
    
         
            +
                    blob: Object.new
         
     | 
| 
      
 220 
     | 
    
         
            +
                  )
         
     | 
| 
      
 221 
     | 
    
         
            +
                  expect(instance.to_s).to eq(instance.to_hash.to_s)
         
     | 
| 
      
 222 
     | 
    
         
            +
                end
         
     | 
| 
      
 223 
     | 
    
         
            +
              end
         
     | 
| 
      
 224 
     | 
    
         
            +
             
     | 
| 
      
 225 
     | 
    
         
            +
              describe 'test method "to_hash"' do
         
     | 
| 
      
 226 
     | 
    
         
            +
                it "returns the object in the form of hash" do
         
     | 
| 
      
 227 
     | 
    
         
            +
                  instance = Freeclimb::CreateBlobRequest.new(
         
     | 
| 
      
 228 
     | 
    
         
            +
                    _alias: "TS",
         
     | 
| 
      
 229 
     | 
    
         
            +
             
     | 
| 
      
 230 
     | 
    
         
            +
                    expires_at: "TS",
         
     | 
| 
      
 231 
     | 
    
         
            +
             
     | 
| 
      
 232 
     | 
    
         
            +
                    blob: Object.new
         
     | 
| 
      
 233 
     | 
    
         
            +
                  )
         
     | 
| 
      
 234 
     | 
    
         
            +
                  expect(instance.to_hash).to be_a_kind_of(Hash)
         
     | 
| 
      
 235 
     | 
    
         
            +
                end
         
     | 
| 
      
 236 
     | 
    
         
            +
                it "creates equal hash for two equal objects" do
         
     | 
| 
      
 237 
     | 
    
         
            +
                  obj = Object.new
         
     | 
| 
      
 238 
     | 
    
         
            +
             
     | 
| 
      
 239 
     | 
    
         
            +
                  instance_1 = Freeclimb::CreateBlobRequest.new(
         
     | 
| 
      
 240 
     | 
    
         
            +
                    _alias: "TS",
         
     | 
| 
      
 241 
     | 
    
         
            +
             
     | 
| 
      
 242 
     | 
    
         
            +
                    expires_at: "TS",
         
     | 
| 
      
 243 
     | 
    
         
            +
             
     | 
| 
      
 244 
     | 
    
         
            +
                    blob: obj
         
     | 
| 
      
 245 
     | 
    
         
            +
                  )
         
     | 
| 
      
 246 
     | 
    
         
            +
                  instance_2 = Freeclimb::CreateBlobRequest.new(
         
     | 
| 
      
 247 
     | 
    
         
            +
                    _alias: "TS",
         
     | 
| 
      
 248 
     | 
    
         
            +
             
     | 
| 
      
 249 
     | 
    
         
            +
                    expires_at: "TS",
         
     | 
| 
      
 250 
     | 
    
         
            +
             
     | 
| 
      
 251 
     | 
    
         
            +
                    blob: obj
         
     | 
| 
      
 252 
     | 
    
         
            +
                  )
         
     | 
| 
      
 253 
     | 
    
         
            +
                  expect(instance_1.to_hash).to eq(instance_2.to_hash)
         
     | 
| 
      
 254 
     | 
    
         
            +
                end
         
     | 
| 
      
 255 
     | 
    
         
            +
              end
         
     | 
| 
      
 256 
     | 
    
         
            +
             
     | 
| 
      
 257 
     | 
    
         
            +
              describe 'test method "_to_hash"' do
         
     | 
| 
      
 258 
     | 
    
         
            +
                instance = Freeclimb::CreateBlobRequest.new(
         
     | 
| 
      
 259 
     | 
    
         
            +
                  _alias: "TS",
         
     | 
| 
      
 260 
     | 
    
         
            +
             
     | 
| 
      
 261 
     | 
    
         
            +
                  expires_at: "TS"
         
     | 
| 
      
 262 
     | 
    
         
            +
                )
         
     | 
| 
      
 263 
     | 
    
         
            +
                it "returns _alias in the form of hash" do
         
     | 
| 
      
 264 
     | 
    
         
            +
                  expect(instance._to_hash(instance._alias)).to eq(instance._alias)
         
     | 
| 
      
 265 
     | 
    
         
            +
                end
         
     | 
| 
      
 266 
     | 
    
         
            +
                it "returns expires_at in the form of hash" do
         
     | 
| 
      
 267 
     | 
    
         
            +
                  expect(instance._to_hash(instance.expires_at)).to eq(instance.expires_at)
         
     | 
| 
      
 268 
     | 
    
         
            +
                end
         
     | 
| 
      
 269 
     | 
    
         
            +
                it "returns blob in the form of hash" do
         
     | 
| 
      
 270 
     | 
    
         
            +
                  expect(instance._to_hash(instance.blob)).to eq(instance.blob)
         
     | 
| 
      
 271 
     | 
    
         
            +
                end
         
     | 
| 
      
 272 
     | 
    
         
            +
              end
         
     | 
| 
      
 273 
     | 
    
         
            +
            end
         
     | 
| 
         @@ -129,27 +129,27 @@ describe Freeclimb::ExportRequest do 
     | 
|
| 
       129 
129 
     | 
    
         | 
| 
       130 
130 
     | 
    
         
             
              describe 'test method "eql?"' do
         
     | 
| 
       131 
131 
     | 
    
         
             
                it "checks if objects are equal" do
         
     | 
| 
       132 
     | 
    
         
            -
                   
     | 
| 
      
 132 
     | 
    
         
            +
                  obj_output = Object.new
         
     | 
| 
       133 
133 
     | 
    
         | 
| 
       134 
     | 
    
         
            -
                   
     | 
| 
      
 134 
     | 
    
         
            +
                  obj_query = Object.new
         
     | 
| 
       135 
135 
     | 
    
         | 
| 
       136 
136 
     | 
    
         
             
                  instance_1 = Freeclimb::ExportRequest.new(
         
     | 
| 
       137 
137 
     | 
    
         
             
                    resource_type: Freeclimb::ExportResourceType::MESSAGES,
         
     | 
| 
       138 
138 
     | 
    
         | 
| 
       139 
139 
     | 
    
         
             
                    format: [],
         
     | 
| 
       140 
140 
     | 
    
         | 
| 
       141 
     | 
    
         
            -
                    output:  
     | 
| 
      
 141 
     | 
    
         
            +
                    output: obj_output,
         
     | 
| 
       142 
142 
     | 
    
         | 
| 
       143 
     | 
    
         
            -
                    query:  
     | 
| 
      
 143 
     | 
    
         
            +
                    query: obj_query
         
     | 
| 
       144 
144 
     | 
    
         
             
                  )
         
     | 
| 
       145 
145 
     | 
    
         
             
                  instance_2 = Freeclimb::ExportRequest.new(
         
     | 
| 
       146 
146 
     | 
    
         
             
                    resource_type: Freeclimb::ExportResourceType::MESSAGES,
         
     | 
| 
       147 
147 
     | 
    
         | 
| 
       148 
148 
     | 
    
         
             
                    format: [],
         
     | 
| 
       149 
149 
     | 
    
         | 
| 
       150 
     | 
    
         
            -
                    output:  
     | 
| 
      
 150 
     | 
    
         
            +
                    output: obj_output,
         
     | 
| 
       151 
151 
     | 
    
         | 
| 
       152 
     | 
    
         
            -
                    query:  
     | 
| 
      
 152 
     | 
    
         
            +
                    query: obj_query
         
     | 
| 
       153 
153 
     | 
    
         
             
                  )
         
     | 
| 
       154 
154 
     | 
    
         
             
                  expect(instance_1.eql?(instance_2)).to eq(true)
         
     | 
| 
       155 
155 
     | 
    
         
             
                end
         
     | 
| 
         @@ -268,9 +268,9 @@ describe Freeclimb::ExportResult do 
     | 
|
| 
       268 
268 
     | 
    
         | 
| 
       269 
269 
     | 
    
         
             
              describe 'test method "eql?"' do
         
     | 
| 
       270 
270 
     | 
    
         
             
                it "checks if objects are equal" do
         
     | 
| 
       271 
     | 
    
         
            -
                   
     | 
| 
      
 271 
     | 
    
         
            +
                  obj_query = Object.new
         
     | 
| 
       272 
272 
     | 
    
         | 
| 
       273 
     | 
    
         
            -
                   
     | 
| 
      
 273 
     | 
    
         
            +
                  obj_output = Object.new
         
     | 
| 
       274 
274 
     | 
    
         | 
| 
       275 
275 
     | 
    
         
             
                  instance_1 = Freeclimb::ExportResult.new(
         
     | 
| 
       276 
276 
     | 
    
         
             
                    account_id: "TS",
         
     | 
| 
         @@ -291,11 +291,11 @@ describe Freeclimb::ExportResult do 
     | 
|
| 
       291 
291 
     | 
    
         | 
| 
       292 
292 
     | 
    
         
             
                    resource_type: Freeclimb::ExportResourceType::MESSAGES,
         
     | 
| 
       293 
293 
     | 
    
         | 
| 
       294 
     | 
    
         
            -
                    query:  
     | 
| 
      
 294 
     | 
    
         
            +
                    query: obj_query,
         
     | 
| 
       295 
295 
     | 
    
         | 
| 
       296 
296 
     | 
    
         
             
                    format: [],
         
     | 
| 
       297 
297 
     | 
    
         | 
| 
       298 
     | 
    
         
            -
                    output:  
     | 
| 
      
 298 
     | 
    
         
            +
                    output: obj_output
         
     | 
| 
       299 
299 
     | 
    
         
             
                  )
         
     | 
| 
       300 
300 
     | 
    
         
             
                  instance_2 = Freeclimb::ExportResult.new(
         
     | 
| 
       301 
301 
     | 
    
         
             
                    account_id: "TS",
         
     | 
| 
         @@ -316,11 +316,11 @@ describe Freeclimb::ExportResult do 
     | 
|
| 
       316 
316 
     | 
    
         | 
| 
       317 
317 
     | 
    
         
             
                    resource_type: Freeclimb::ExportResourceType::MESSAGES,
         
     | 
| 
       318 
318 
     | 
    
         | 
| 
       319 
     | 
    
         
            -
                    query:  
     | 
| 
      
 319 
     | 
    
         
            +
                    query: obj_query,
         
     | 
| 
       320 
320 
     | 
    
         | 
| 
       321 
321 
     | 
    
         
             
                    format: [],
         
     | 
| 
       322 
322 
     | 
    
         | 
| 
       323 
     | 
    
         
            -
                    output:  
     | 
| 
      
 323 
     | 
    
         
            +
                    output: obj_output
         
     | 
| 
       324 
324 
     | 
    
         
             
                  )
         
     | 
| 
       325 
325 
     | 
    
         
             
                  expect(instance_1.eql?(instance_2)).to eq(true)
         
     | 
| 
       326 
326 
     | 
    
         
             
                end
         
     | 
| 
         @@ -116,20 +116,6 @@ describe Freeclimb::IncomingNumberResult do 
     | 
|
| 
       116 
116 
     | 
    
         
             
                end
         
     | 
| 
       117 
117 
     | 
    
         
             
              end
         
     | 
| 
       118 
118 
     | 
    
         | 
| 
       119 
     | 
    
         
            -
              describe 'test attribute "voice_enabled"' do
         
     | 
| 
       120 
     | 
    
         
            -
                it "should work" do
         
     | 
| 
       121 
     | 
    
         
            -
                  instance.voice_enabled = false
         
     | 
| 
       122 
     | 
    
         
            -
                  expect(instance.voice_enabled).to eq(false)
         
     | 
| 
       123 
     | 
    
         
            -
                end
         
     | 
| 
       124 
     | 
    
         
            -
              end
         
     | 
| 
       125 
     | 
    
         
            -
             
     | 
| 
       126 
     | 
    
         
            -
              describe 'test attribute "sms_enabled"' do
         
     | 
| 
       127 
     | 
    
         
            -
                it "should work" do
         
     | 
| 
       128 
     | 
    
         
            -
                  instance.sms_enabled = false
         
     | 
| 
       129 
     | 
    
         
            -
                  expect(instance.sms_enabled).to eq(false)
         
     | 
| 
       130 
     | 
    
         
            -
                end
         
     | 
| 
       131 
     | 
    
         
            -
              end
         
     | 
| 
       132 
     | 
    
         
            -
             
     | 
| 
       133 
119 
     | 
    
         
             
              describe 'test attribute "offnet"' do
         
     | 
| 
       134 
120 
     | 
    
         
             
                it "should work" do
         
     | 
| 
       135 
121 
     | 
    
         
             
                  instance.offnet = false
         
     | 
| 
         @@ -174,10 +160,6 @@ describe Freeclimb::IncomingNumberResult do 
     | 
|
| 
       174 
160 
     | 
    
         | 
| 
       175 
161 
     | 
    
         
             
                      country: "TS",
         
     | 
| 
       176 
162 
     | 
    
         | 
| 
       177 
     | 
    
         
            -
                      voice_enabled: true,
         
     | 
| 
       178 
     | 
    
         
            -
             
     | 
| 
       179 
     | 
    
         
            -
                      sms_enabled: true,
         
     | 
| 
       180 
     | 
    
         
            -
             
     | 
| 
       181 
163 
     | 
    
         
             
                      offnet: true,
         
     | 
| 
       182 
164 
     | 
    
         | 
| 
       183 
165 
     | 
    
         
             
                      tfn: TFN.new
         
     | 
| 
         @@ -213,10 +195,6 @@ describe Freeclimb::IncomingNumberResult do 
     | 
|
| 
       213 
195 
     | 
    
         | 
| 
       214 
196 
     | 
    
         
             
                      country: "TS",
         
     | 
| 
       215 
197 
     | 
    
         | 
| 
       216 
     | 
    
         
            -
                      voice_enabled: true,
         
     | 
| 
       217 
     | 
    
         
            -
             
     | 
| 
       218 
     | 
    
         
            -
                      sms_enabled: true,
         
     | 
| 
       219 
     | 
    
         
            -
             
     | 
| 
       220 
198 
     | 
    
         
             
                      offnet: true,
         
     | 
| 
       221 
199 
     | 
    
         | 
| 
       222 
200 
     | 
    
         
             
                      tfn: TFN.new,
         
     | 
| 
         @@ -254,10 +232,6 @@ describe Freeclimb::IncomingNumberResult do 
     | 
|
| 
       254 
232 
     | 
    
         | 
| 
       255 
233 
     | 
    
         
             
                      country: "TS",
         
     | 
| 
       256 
234 
     | 
    
         | 
| 
       257 
     | 
    
         
            -
                      voice_enabled: true,
         
     | 
| 
       258 
     | 
    
         
            -
             
     | 
| 
       259 
     | 
    
         
            -
                      sms_enabled: true,
         
     | 
| 
       260 
     | 
    
         
            -
             
     | 
| 
       261 
235 
     | 
    
         
             
                      offnet: true,
         
     | 
| 
       262 
236 
     | 
    
         | 
| 
       263 
237 
     | 
    
         
             
                      tfn: TFN.new,
         
     | 
| 
         @@ -297,10 +271,6 @@ describe Freeclimb::IncomingNumberResult do 
     | 
|
| 
       297 
271 
     | 
    
         | 
| 
       298 
272 
     | 
    
         
             
                    country: "TS",
         
     | 
| 
       299 
273 
     | 
    
         | 
| 
       300 
     | 
    
         
            -
                    voice_enabled: true,
         
     | 
| 
       301 
     | 
    
         
            -
             
     | 
| 
       302 
     | 
    
         
            -
                    sms_enabled: true,
         
     | 
| 
       303 
     | 
    
         
            -
             
     | 
| 
       304 
274 
     | 
    
         
             
                    offnet: true,
         
     | 
| 
       305 
275 
     | 
    
         | 
| 
       306 
276 
     | 
    
         
             
                    tfn: TFN.new
         
     | 
| 
         @@ -317,9 +287,9 @@ describe Freeclimb::IncomingNumberResult do 
     | 
|
| 
       317 
287 
     | 
    
         | 
| 
       318 
288 
     | 
    
         
             
              describe 'test method "eql?"' do
         
     | 
| 
       319 
289 
     | 
    
         
             
                it "checks if objects are equal" do
         
     | 
| 
       320 
     | 
    
         
            -
                   
     | 
| 
      
 290 
     | 
    
         
            +
                  obj_capabilities = Object.new
         
     | 
| 
       321 
291 
     | 
    
         | 
| 
       322 
     | 
    
         
            -
                   
     | 
| 
      
 292 
     | 
    
         
            +
                  obj_tfn = Object.new
         
     | 
| 
       323 
293 
     | 
    
         | 
| 
       324 
294 
     | 
    
         
             
                  instance_1 = Freeclimb::IncomingNumberResult.new(
         
     | 
| 
       325 
295 
     | 
    
         
             
                    uri: "TS",
         
     | 
| 
         @@ -330,7 +300,7 @@ describe Freeclimb::IncomingNumberResult do 
     | 
|
| 
       330 
300 
     | 
    
         | 
| 
       331 
301 
     | 
    
         
             
                    revision: 1,
         
     | 
| 
       332 
302 
     | 
    
         | 
| 
       333 
     | 
    
         
            -
                    capabilities:  
     | 
| 
      
 303 
     | 
    
         
            +
                    capabilities: obj_capabilities,
         
     | 
| 
       334 
304 
     | 
    
         | 
| 
       335 
305 
     | 
    
         
             
                    campaign_id: "TS",
         
     | 
| 
       336 
306 
     | 
    
         | 
| 
         @@ -348,13 +318,9 @@ describe Freeclimb::IncomingNumberResult do 
     | 
|
| 
       348 
318 
     | 
    
         | 
| 
       349 
319 
     | 
    
         
             
                    country: "TS",
         
     | 
| 
       350 
320 
     | 
    
         | 
| 
       351 
     | 
    
         
            -
                    voice_enabled: true,
         
     | 
| 
       352 
     | 
    
         
            -
             
     | 
| 
       353 
     | 
    
         
            -
                    sms_enabled: true,
         
     | 
| 
       354 
     | 
    
         
            -
             
     | 
| 
       355 
321 
     | 
    
         
             
                    offnet: true,
         
     | 
| 
       356 
322 
     | 
    
         | 
| 
       357 
     | 
    
         
            -
                    tfn:  
     | 
| 
      
 323 
     | 
    
         
            +
                    tfn: obj_tfn
         
     | 
| 
       358 
324 
     | 
    
         
             
                  )
         
     | 
| 
       359 
325 
     | 
    
         
             
                  instance_2 = Freeclimb::IncomingNumberResult.new(
         
     | 
| 
       360 
326 
     | 
    
         
             
                    uri: "TS",
         
     | 
| 
         @@ -365,7 +331,7 @@ describe Freeclimb::IncomingNumberResult do 
     | 
|
| 
       365 
331 
     | 
    
         | 
| 
       366 
332 
     | 
    
         
             
                    revision: 1,
         
     | 
| 
       367 
333 
     | 
    
         | 
| 
       368 
     | 
    
         
            -
                    capabilities:  
     | 
| 
      
 334 
     | 
    
         
            +
                    capabilities: obj_capabilities,
         
     | 
| 
       369 
335 
     | 
    
         | 
| 
       370 
336 
     | 
    
         
             
                    campaign_id: "TS",
         
     | 
| 
       371 
337 
     | 
    
         | 
| 
         @@ -383,13 +349,9 @@ describe Freeclimb::IncomingNumberResult do 
     | 
|
| 
       383 
349 
     | 
    
         | 
| 
       384 
350 
     | 
    
         
             
                    country: "TS",
         
     | 
| 
       385 
351 
     | 
    
         | 
| 
       386 
     | 
    
         
            -
                    voice_enabled: true,
         
     | 
| 
       387 
     | 
    
         
            -
             
     | 
| 
       388 
     | 
    
         
            -
                    sms_enabled: true,
         
     | 
| 
       389 
     | 
    
         
            -
             
     | 
| 
       390 
352 
     | 
    
         
             
                    offnet: true,
         
     | 
| 
       391 
353 
     | 
    
         | 
| 
       392 
     | 
    
         
            -
                    tfn:  
     | 
| 
      
 354 
     | 
    
         
            +
                    tfn: obj_tfn
         
     | 
| 
       393 
355 
     | 
    
         
             
                  )
         
     | 
| 
       394 
356 
     | 
    
         
             
                  expect(instance_1.eql?(instance_2)).to eq(true)
         
     | 
| 
       395 
357 
     | 
    
         
             
                end
         
     | 
| 
         @@ -422,10 +384,6 @@ describe Freeclimb::IncomingNumberResult do 
     | 
|
| 
       422 
384 
     | 
    
         | 
| 
       423 
385 
     | 
    
         
             
                    country: "TS",
         
     | 
| 
       424 
386 
     | 
    
         | 
| 
       425 
     | 
    
         
            -
                    voice_enabled: true,
         
     | 
| 
       426 
     | 
    
         
            -
             
     | 
| 
       427 
     | 
    
         
            -
                    sms_enabled: true,
         
     | 
| 
       428 
     | 
    
         
            -
             
     | 
| 
       429 
387 
     | 
    
         
             
                    offnet: true,
         
     | 
| 
       430 
388 
     | 
    
         | 
| 
       431 
389 
     | 
    
         
             
                    tfn: TFN.new
         
     | 
| 
         @@ -457,10 +415,6 @@ describe Freeclimb::IncomingNumberResult do 
     | 
|
| 
       457 
415 
     | 
    
         | 
| 
       458 
416 
     | 
    
         
             
                    country: "ST",
         
     | 
| 
       459 
417 
     | 
    
         | 
| 
       460 
     | 
    
         
            -
                    voice_enabled: false,
         
     | 
| 
       461 
     | 
    
         
            -
             
     | 
| 
       462 
     | 
    
         
            -
                    sms_enabled: false,
         
     | 
| 
       463 
     | 
    
         
            -
             
     | 
| 
       464 
418 
     | 
    
         
             
                    offnet: false,
         
     | 
| 
       465 
419 
     | 
    
         | 
| 
       466 
420 
     | 
    
         
             
                    tfn: TFN.new
         
     | 
| 
         @@ -498,10 +452,6 @@ describe Freeclimb::IncomingNumberResult do 
     | 
|
| 
       498 
452 
     | 
    
         | 
| 
       499 
453 
     | 
    
         
             
                    country: "TS",
         
     | 
| 
       500 
454 
     | 
    
         | 
| 
       501 
     | 
    
         
            -
                    voice_enabled: true,
         
     | 
| 
       502 
     | 
    
         
            -
             
     | 
| 
       503 
     | 
    
         
            -
                    sms_enabled: true,
         
     | 
| 
       504 
     | 
    
         
            -
             
     | 
| 
       505 
455 
     | 
    
         
             
                    offnet: true,
         
     | 
| 
       506 
456 
     | 
    
         | 
| 
       507 
457 
     | 
    
         
             
                    tfn: TFN.new
         
     | 
| 
         @@ -539,10 +489,6 @@ describe Freeclimb::IncomingNumberResult do 
     | 
|
| 
       539 
489 
     | 
    
         | 
| 
       540 
490 
     | 
    
         
             
                    country: "TS",
         
     | 
| 
       541 
491 
     | 
    
         | 
| 
       542 
     | 
    
         
            -
                    voice_enabled: true,
         
     | 
| 
       543 
     | 
    
         
            -
             
     | 
| 
       544 
     | 
    
         
            -
                    sms_enabled: true,
         
     | 
| 
       545 
     | 
    
         
            -
             
     | 
| 
       546 
492 
     | 
    
         
             
                    offnet: true,
         
     | 
| 
       547 
493 
     | 
    
         | 
| 
       548 
494 
     | 
    
         
             
                    tfn: TFN.new
         
     | 
| 
         @@ -574,10 +520,6 @@ describe Freeclimb::IncomingNumberResult do 
     | 
|
| 
       574 
520 
     | 
    
         | 
| 
       575 
521 
     | 
    
         
             
                    country: "TS",
         
     | 
| 
       576 
522 
     | 
    
         | 
| 
       577 
     | 
    
         
            -
                    voice_enabled: true,
         
     | 
| 
       578 
     | 
    
         
            -
             
     | 
| 
       579 
     | 
    
         
            -
                    sms_enabled: true,
         
     | 
| 
       580 
     | 
    
         
            -
             
     | 
| 
       581 
523 
     | 
    
         
             
                    offnet: true,
         
     | 
| 
       582 
524 
     | 
    
         | 
| 
       583 
525 
     | 
    
         
             
                    tfn: TFN.new
         
     | 
| 
         @@ -615,10 +557,6 @@ describe Freeclimb::IncomingNumberResult do 
     | 
|
| 
       615 
557 
     | 
    
         | 
| 
       616 
558 
     | 
    
         
             
                  country: "TS",
         
     | 
| 
       617 
559 
     | 
    
         | 
| 
       618 
     | 
    
         
            -
                  voice_enabled: true,
         
     | 
| 
       619 
     | 
    
         
            -
             
     | 
| 
       620 
     | 
    
         
            -
                  sms_enabled: true,
         
     | 
| 
       621 
     | 
    
         
            -
             
     | 
| 
       622 
560 
     | 
    
         
             
                  offnet: true,
         
     | 
| 
       623 
561 
     | 
    
         | 
| 
       624 
562 
     | 
    
         
             
                  tfn: TFN.new
         
     | 
| 
         @@ -675,14 +613,6 @@ describe Freeclimb::IncomingNumberResult do 
     | 
|
| 
       675 
613 
     | 
    
         
             
                  expect(instance._deserialize("String", instance.country)).to be_a_kind_of(String)
         
     | 
| 
       676 
614 
     | 
    
         
             
                end
         
     | 
| 
       677 
615 
     | 
    
         | 
| 
       678 
     | 
    
         
            -
                it "deserializes the data of voice_enabled" do
         
     | 
| 
       679 
     | 
    
         
            -
                  expect(instance._deserialize("Boolean", instance.voice_enabled)).to be_a_kind_of(TrueClass)
         
     | 
| 
       680 
     | 
    
         
            -
                end
         
     | 
| 
       681 
     | 
    
         
            -
             
     | 
| 
       682 
     | 
    
         
            -
                it "deserializes the data of sms_enabled" do
         
     | 
| 
       683 
     | 
    
         
            -
                  expect(instance._deserialize("Boolean", instance.sms_enabled)).to be_a_kind_of(TrueClass)
         
     | 
| 
       684 
     | 
    
         
            -
                end
         
     | 
| 
       685 
     | 
    
         
            -
             
     | 
| 
       686 
616 
     | 
    
         
             
                it "deserializes the data of offnet" do
         
     | 
| 
       687 
617 
     | 
    
         
             
                  expect(instance._deserialize("Boolean", instance.offnet)).to be_a_kind_of(TrueClass)
         
     | 
| 
       688 
618 
     | 
    
         
             
                end
         
     | 
| 
         @@ -721,10 +651,6 @@ describe Freeclimb::IncomingNumberResult do 
     | 
|
| 
       721 
651 
     | 
    
         | 
| 
       722 
652 
     | 
    
         
             
                    country: "TS",
         
     | 
| 
       723 
653 
     | 
    
         | 
| 
       724 
     | 
    
         
            -
                    voice_enabled: true,
         
     | 
| 
       725 
     | 
    
         
            -
             
     | 
| 
       726 
     | 
    
         
            -
                    sms_enabled: true,
         
     | 
| 
       727 
     | 
    
         
            -
             
     | 
| 
       728 
654 
     | 
    
         
             
                    offnet: true,
         
     | 
| 
       729 
655 
     | 
    
         | 
| 
       730 
656 
     | 
    
         
             
                    tfn: TFN.new
         
     | 
| 
         @@ -762,10 +688,6 @@ describe Freeclimb::IncomingNumberResult do 
     | 
|
| 
       762 
688 
     | 
    
         | 
| 
       763 
689 
     | 
    
         
             
                    country: "TS",
         
     | 
| 
       764 
690 
     | 
    
         | 
| 
       765 
     | 
    
         
            -
                    voice_enabled: true,
         
     | 
| 
       766 
     | 
    
         
            -
             
     | 
| 
       767 
     | 
    
         
            -
                    sms_enabled: true,
         
     | 
| 
       768 
     | 
    
         
            -
             
     | 
| 
       769 
691 
     | 
    
         
             
                    offnet: true,
         
     | 
| 
       770 
692 
     | 
    
         | 
| 
       771 
693 
     | 
    
         
             
                    tfn: TFN.new
         
     | 
| 
         @@ -804,10 +726,6 @@ describe Freeclimb::IncomingNumberResult do 
     | 
|
| 
       804 
726 
     | 
    
         | 
| 
       805 
727 
     | 
    
         
             
                    country: "TS",
         
     | 
| 
       806 
728 
     | 
    
         | 
| 
       807 
     | 
    
         
            -
                    voice_enabled: true,
         
     | 
| 
       808 
     | 
    
         
            -
             
     | 
| 
       809 
     | 
    
         
            -
                    sms_enabled: true,
         
     | 
| 
       810 
     | 
    
         
            -
             
     | 
| 
       811 
729 
     | 
    
         
             
                    offnet: true,
         
     | 
| 
       812 
730 
     | 
    
         | 
| 
       813 
731 
     | 
    
         
             
                    tfn: obj
         
     | 
| 
         @@ -839,10 +757,6 @@ describe Freeclimb::IncomingNumberResult do 
     | 
|
| 
       839 
757 
     | 
    
         | 
| 
       840 
758 
     | 
    
         
             
                    country: "TS",
         
     | 
| 
       841 
759 
     | 
    
         | 
| 
       842 
     | 
    
         
            -
                    voice_enabled: true,
         
     | 
| 
       843 
     | 
    
         
            -
             
     | 
| 
       844 
     | 
    
         
            -
                    sms_enabled: true,
         
     | 
| 
       845 
     | 
    
         
            -
             
     | 
| 
       846 
760 
     | 
    
         
             
                    offnet: true,
         
     | 
| 
       847 
761 
     | 
    
         | 
| 
       848 
762 
     | 
    
         
             
                    tfn: obj
         
     | 
| 
         @@ -877,10 +791,6 @@ describe Freeclimb::IncomingNumberResult do 
     | 
|
| 
       877 
791 
     | 
    
         | 
| 
       878 
792 
     | 
    
         
             
                  country: "TS",
         
     | 
| 
       879 
793 
     | 
    
         | 
| 
       880 
     | 
    
         
            -
                  voice_enabled: true,
         
     | 
| 
       881 
     | 
    
         
            -
             
     | 
| 
       882 
     | 
    
         
            -
                  sms_enabled: true,
         
     | 
| 
       883 
     | 
    
         
            -
             
     | 
| 
       884 
794 
     | 
    
         
             
                  offnet: true
         
     | 
| 
       885 
795 
     | 
    
         
             
                )
         
     | 
| 
       886 
796 
     | 
    
         
             
                it "returns uri in the form of hash" do
         
     | 
| 
         @@ -922,12 +832,6 @@ describe Freeclimb::IncomingNumberResult do 
     | 
|
| 
       922 
832 
     | 
    
         
             
                it "returns country in the form of hash" do
         
     | 
| 
       923 
833 
     | 
    
         
             
                  expect(instance._to_hash(instance.country)).to eq(instance.country)
         
     | 
| 
       924 
834 
     | 
    
         
             
                end
         
     | 
| 
       925 
     | 
    
         
            -
                it "returns voice_enabled in the form of hash" do
         
     | 
| 
       926 
     | 
    
         
            -
                  expect(instance._to_hash(instance.voice_enabled)).to eq(instance.voice_enabled)
         
     | 
| 
       927 
     | 
    
         
            -
                end
         
     | 
| 
       928 
     | 
    
         
            -
                it "returns sms_enabled in the form of hash" do
         
     | 
| 
       929 
     | 
    
         
            -
                  expect(instance._to_hash(instance.sms_enabled)).to eq(instance.sms_enabled)
         
     | 
| 
       930 
     | 
    
         
            -
                end
         
     | 
| 
       931 
835 
     | 
    
         
             
                it "returns offnet in the form of hash" do
         
     | 
| 
       932 
836 
     | 
    
         
             
                  expect(instance._to_hash(instance.offnet)).to eq(instance.offnet)
         
     | 
| 
       933 
837 
     | 
    
         
             
                end
         
     | 
| 
         @@ -178,7 +178,7 @@ describe Freeclimb::LogResult do 
     | 
|
| 
       178 
178 
     | 
    
         | 
| 
       179 
179 
     | 
    
         
             
              describe 'test method "eql?"' do
         
     | 
| 
       180 
180 
     | 
    
         
             
                it "checks if objects are equal" do
         
     | 
| 
       181 
     | 
    
         
            -
                   
     | 
| 
      
 181 
     | 
    
         
            +
                  obj_metadata = Object.new
         
     | 
| 
       182 
182 
     | 
    
         | 
| 
       183 
183 
     | 
    
         
             
                  instance_1 = Freeclimb::LogResult.new(
         
     | 
| 
       184 
184 
     | 
    
         
             
                    timestamp: 1,
         
     | 
| 
         @@ -193,7 +193,7 @@ describe Freeclimb::LogResult do 
     | 
|
| 
       193 
193 
     | 
    
         | 
| 
       194 
194 
     | 
    
         
             
                    message: "TS",
         
     | 
| 
       195 
195 
     | 
    
         | 
| 
       196 
     | 
    
         
            -
                    metadata:  
     | 
| 
      
 196 
     | 
    
         
            +
                    metadata: obj_metadata
         
     | 
| 
       197 
197 
     | 
    
         
             
                  )
         
     | 
| 
       198 
198 
     | 
    
         
             
                  instance_2 = Freeclimb::LogResult.new(
         
     | 
| 
       199 
199 
     | 
    
         
             
                    timestamp: 1,
         
     | 
| 
         @@ -208,7 +208,7 @@ describe Freeclimb::LogResult do 
     | 
|
| 
       208 
208 
     | 
    
         | 
| 
       209 
209 
     | 
    
         
             
                    message: "TS",
         
     | 
| 
       210 
210 
     | 
    
         | 
| 
       211 
     | 
    
         
            -
                    metadata:  
     | 
| 
      
 211 
     | 
    
         
            +
                    metadata: obj_metadata
         
     | 
| 
       212 
212 
     | 
    
         
             
                  )
         
     | 
| 
       213 
213 
     | 
    
         
             
                  expect(instance_1.eql?(instance_2)).to eq(true)
         
     | 
| 
       214 
214 
     | 
    
         
             
                end
         
     | 
| 
         @@ -380,7 +380,7 @@ describe Freeclimb::MessageResult do 
     | 
|
| 
       380 
380 
     | 
    
         | 
| 
       381 
381 
     | 
    
         
             
              describe 'test method "eql?"' do
         
     | 
| 
       382 
382 
     | 
    
         
             
                it "checks if objects are equal" do
         
     | 
| 
       383 
     | 
    
         
            -
                   
     | 
| 
      
 383 
     | 
    
         
            +
                  obj_tfn = Object.new
         
     | 
| 
       384 
384 
     | 
    
         | 
| 
       385 
385 
     | 
    
         
             
                  instance_1 = Freeclimb::MessageResult.new(
         
     | 
| 
       386 
386 
     | 
    
         
             
                    uri: "TS",
         
     | 
| 
         @@ -413,7 +413,7 @@ describe Freeclimb::MessageResult do 
     | 
|
| 
       413 
413 
     | 
    
         | 
| 
       414 
414 
     | 
    
         
             
                    media_urls: [],
         
     | 
| 
       415 
415 
     | 
    
         | 
| 
       416 
     | 
    
         
            -
                    tfn:  
     | 
| 
      
 416 
     | 
    
         
            +
                    tfn: obj_tfn,
         
     | 
| 
       417 
417 
     | 
    
         | 
| 
       418 
418 
     | 
    
         
             
                    phone_number_id: "TS",
         
     | 
| 
       419 
419 
     | 
    
         | 
| 
         @@ -450,7 +450,7 @@ describe Freeclimb::MessageResult do 
     | 
|
| 
       450 
450 
     | 
    
         | 
| 
       451 
451 
     | 
    
         
             
                    media_urls: [],
         
     | 
| 
       452 
452 
     | 
    
         | 
| 
       453 
     | 
    
         
            -
                    tfn:  
     | 
| 
      
 453 
     | 
    
         
            +
                    tfn: obj_tfn,
         
     | 
| 
       454 
454 
     | 
    
         | 
| 
       455 
455 
     | 
    
         
             
                    phone_number_id: "TS",
         
     | 
| 
       456 
456 
     | 
    
         |