freeclimb 5.2.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 +22 -2
 - data/Gemfile.lock +3 -3
 - data/README.md +31 -4
 - data/docs/AvailableNumber.md +0 -4
 - data/docs/BlobListResponse.md +32 -0
 - data/docs/BlobResult.md +32 -0
 - data/docs/CallResult.md +2 -2
 - data/docs/CreateBlobRequest.md +22 -0
 - data/docs/CreateConference.md +4 -2
 - data/docs/DefaultApi.md +835 -25
 - data/docs/ExportList.md +32 -0
 - data/docs/ExportOutputType.md +16 -0
 - data/docs/ExportRequest.md +24 -0
 - data/docs/ExportRequestOutput.md +18 -0
 - data/docs/ExportResourceType.md +17 -0
 - data/docs/ExportResult.md +40 -0
 - data/docs/ExportResultOutput.md +18 -0
 - data/docs/ExportStatus.md +21 -0
 - 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 +1032 -12
 - 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/call_result.rb +8 -8
 - data/lib/freeclimb/models/create_blob_request.rb +255 -0
 - data/lib/freeclimb/models/create_conference.rb +15 -5
 - data/lib/freeclimb/models/export_list.rb +304 -0
 - data/lib/freeclimb/models/export_output_type.rb +34 -0
 - data/lib/freeclimb/models/export_request.rb +276 -0
 - data/lib/freeclimb/models/export_request_output.rb +243 -0
 - data/lib/freeclimb/models/export_resource_type.rb +35 -0
 - data/lib/freeclimb/models/export_result.rb +405 -0
 - data/lib/freeclimb/models/export_result_output.rb +243 -0
 - data/lib/freeclimb/models/export_status.rb +39 -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 +16 -0
 - data/openapi.json +1245 -80
 - data/spec/api/default_api_spec.rb +328 -33
 - 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 +39 -39
 - data/spec/models/conference_result_spec.rb +3 -3
 - data/spec/models/create_blob_request_spec.rb +273 -0
 - data/spec/models/create_conference_spec.rb +83 -35
 - data/spec/models/export_list_spec.rb +502 -0
 - data/spec/models/export_output_type_spec.rb +43 -0
 - data/spec/models/export_request_output_spec.rb +162 -0
 - data/spec/models/export_request_spec.rb +320 -0
 - data/spec/models/export_resource_type_spec.rb +59 -0
 - data/spec/models/export_result_output_spec.rb +162 -0
 - data/spec/models/export_result_spec.rb +718 -0
 - data/spec/models/export_status_spec.rb +123 -0
 - 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
 - data/yarn.lock +29 -29
 - metadata +50 -2
 
| 
         @@ -95,38 +95,38 @@ describe Freeclimb::CallResult do 
     | 
|
| 
       95 
95 
     | 
    
         
             
                end
         
     | 
| 
       96 
96 
     | 
    
         
             
              end
         
     | 
| 
       97 
97 
     | 
    
         | 
| 
       98 
     | 
    
         
            -
              describe 'test attribute " 
     | 
| 
      
 98 
     | 
    
         
            +
              describe 'test attribute "status"' do
         
     | 
| 
       99 
99 
     | 
    
         
             
                it "assigns value QUEUED" do
         
     | 
| 
       100 
     | 
    
         
            -
                  instance. 
     | 
| 
       101 
     | 
    
         
            -
                  expect(instance. 
     | 
| 
      
 100 
     | 
    
         
            +
                  instance.status = Freeclimb::CallStatus::QUEUED
         
     | 
| 
      
 101 
     | 
    
         
            +
                  expect(instance.status).to eq(Freeclimb::CallStatus::QUEUED)
         
     | 
| 
       102 
102 
     | 
    
         
             
                end
         
     | 
| 
       103 
103 
     | 
    
         
             
                it "assigns value RINGING" do
         
     | 
| 
       104 
     | 
    
         
            -
                  instance. 
     | 
| 
       105 
     | 
    
         
            -
                  expect(instance. 
     | 
| 
      
 104 
     | 
    
         
            +
                  instance.status = Freeclimb::CallStatus::RINGING
         
     | 
| 
      
 105 
     | 
    
         
            +
                  expect(instance.status).to eq(Freeclimb::CallStatus::RINGING)
         
     | 
| 
       106 
106 
     | 
    
         
             
                end
         
     | 
| 
       107 
107 
     | 
    
         
             
                it "assigns value IN_PROGRESS" do
         
     | 
| 
       108 
     | 
    
         
            -
                  instance. 
     | 
| 
       109 
     | 
    
         
            -
                  expect(instance. 
     | 
| 
      
 108 
     | 
    
         
            +
                  instance.status = Freeclimb::CallStatus::IN_PROGRESS
         
     | 
| 
      
 109 
     | 
    
         
            +
                  expect(instance.status).to eq(Freeclimb::CallStatus::IN_PROGRESS)
         
     | 
| 
       110 
110 
     | 
    
         
             
                end
         
     | 
| 
       111 
111 
     | 
    
         
             
                it "assigns value CANCELED" do
         
     | 
| 
       112 
     | 
    
         
            -
                  instance. 
     | 
| 
       113 
     | 
    
         
            -
                  expect(instance. 
     | 
| 
      
 112 
     | 
    
         
            +
                  instance.status = Freeclimb::CallStatus::CANCELED
         
     | 
| 
      
 113 
     | 
    
         
            +
                  expect(instance.status).to eq(Freeclimb::CallStatus::CANCELED)
         
     | 
| 
       114 
114 
     | 
    
         
             
                end
         
     | 
| 
       115 
115 
     | 
    
         
             
                it "assigns value COMPLETED" do
         
     | 
| 
       116 
     | 
    
         
            -
                  instance. 
     | 
| 
       117 
     | 
    
         
            -
                  expect(instance. 
     | 
| 
      
 116 
     | 
    
         
            +
                  instance.status = Freeclimb::CallStatus::COMPLETED
         
     | 
| 
      
 117 
     | 
    
         
            +
                  expect(instance.status).to eq(Freeclimb::CallStatus::COMPLETED)
         
     | 
| 
       118 
118 
     | 
    
         
             
                end
         
     | 
| 
       119 
119 
     | 
    
         
             
                it "assigns value FAILED" do
         
     | 
| 
       120 
     | 
    
         
            -
                  instance. 
     | 
| 
       121 
     | 
    
         
            -
                  expect(instance. 
     | 
| 
      
 120 
     | 
    
         
            +
                  instance.status = Freeclimb::CallStatus::FAILED
         
     | 
| 
      
 121 
     | 
    
         
            +
                  expect(instance.status).to eq(Freeclimb::CallStatus::FAILED)
         
     | 
| 
       122 
122 
     | 
    
         
             
                end
         
     | 
| 
       123 
123 
     | 
    
         
             
                it "assigns value BUSY" do
         
     | 
| 
       124 
     | 
    
         
            -
                  instance. 
     | 
| 
       125 
     | 
    
         
            -
                  expect(instance. 
     | 
| 
      
 124 
     | 
    
         
            +
                  instance.status = Freeclimb::CallStatus::BUSY
         
     | 
| 
      
 125 
     | 
    
         
            +
                  expect(instance.status).to eq(Freeclimb::CallStatus::BUSY)
         
     | 
| 
       126 
126 
     | 
    
         
             
                end
         
     | 
| 
       127 
127 
     | 
    
         
             
                it "assigns value NO_ANSWER" do
         
     | 
| 
       128 
     | 
    
         
            -
                  instance. 
     | 
| 
       129 
     | 
    
         
            -
                  expect(instance. 
     | 
| 
      
 128 
     | 
    
         
            +
                  instance.status = Freeclimb::CallStatus::NO_ANSWER
         
     | 
| 
      
 129 
     | 
    
         
            +
                  expect(instance.status).to eq(Freeclimb::CallStatus::NO_ANSWER)
         
     | 
| 
       130 
130 
     | 
    
         
             
                end
         
     | 
| 
       131 
131 
     | 
    
         
             
              end
         
     | 
| 
       132 
132 
     | 
    
         
             
              describe 'test attribute "start_time"' do
         
     | 
| 
         @@ -231,7 +231,7 @@ describe Freeclimb::CallResult do 
     | 
|
| 
       231 
231 
     | 
    
         | 
| 
       232 
232 
     | 
    
         
             
                      phone_number_id: "TS",
         
     | 
| 
       233 
233 
     | 
    
         | 
| 
       234 
     | 
    
         
            -
                       
     | 
| 
      
 234 
     | 
    
         
            +
                      status: Freeclimb::CallStatus::QUEUED,
         
     | 
| 
       235 
235 
     | 
    
         | 
| 
       236 
236 
     | 
    
         
             
                      start_time: "TS",
         
     | 
| 
       237 
237 
     | 
    
         | 
| 
         @@ -276,7 +276,7 @@ describe Freeclimb::CallResult do 
     | 
|
| 
       276 
276 
     | 
    
         | 
| 
       277 
277 
     | 
    
         
             
                      phone_number_id: "TS",
         
     | 
| 
       278 
278 
     | 
    
         | 
| 
       279 
     | 
    
         
            -
                       
     | 
| 
      
 279 
     | 
    
         
            +
                      status: Freeclimb::CallStatus::QUEUED,
         
     | 
| 
       280 
280 
     | 
    
         | 
| 
       281 
281 
     | 
    
         
             
                      start_time: "TS",
         
     | 
| 
       282 
282 
     | 
    
         | 
| 
         @@ -323,7 +323,7 @@ describe Freeclimb::CallResult do 
     | 
|
| 
       323 
323 
     | 
    
         | 
| 
       324 
324 
     | 
    
         
             
                      phone_number_id: "TS",
         
     | 
| 
       325 
325 
     | 
    
         | 
| 
       326 
     | 
    
         
            -
                       
     | 
| 
      
 326 
     | 
    
         
            +
                      status: Freeclimb::CallStatus::QUEUED,
         
     | 
| 
       327 
327 
     | 
    
         | 
| 
       328 
328 
     | 
    
         
             
                      start_time: "TS",
         
     | 
| 
       329 
329 
     | 
    
         | 
| 
         @@ -372,7 +372,7 @@ describe Freeclimb::CallResult do 
     | 
|
| 
       372 
372 
     | 
    
         | 
| 
       373 
373 
     | 
    
         
             
                    phone_number_id: "TS",
         
     | 
| 
       374 
374 
     | 
    
         | 
| 
       375 
     | 
    
         
            -
                     
     | 
| 
      
 375 
     | 
    
         
            +
                    status: Freeclimb::CallStatus::QUEUED,
         
     | 
| 
       376 
376 
     | 
    
         | 
| 
       377 
377 
     | 
    
         
             
                    start_time: "TS",
         
     | 
| 
       378 
378 
     | 
    
         | 
| 
         @@ -404,7 +404,7 @@ describe Freeclimb::CallResult do 
     | 
|
| 
       404 
404 
     | 
    
         | 
| 
       405 
405 
     | 
    
         
             
              describe 'test method "eql?"' do
         
     | 
| 
       406 
406 
     | 
    
         
             
                it "checks if objects are equal" do
         
     | 
| 
       407 
     | 
    
         
            -
                   
     | 
| 
      
 407 
     | 
    
         
            +
                  obj_subresource_uris = Object.new
         
     | 
| 
       408 
408 
     | 
    
         | 
| 
       409 
409 
     | 
    
         
             
                  instance_1 = Freeclimb::CallResult.new(
         
     | 
| 
       410 
410 
     | 
    
         
             
                    uri: "TS",
         
     | 
| 
         @@ -427,7 +427,7 @@ describe Freeclimb::CallResult do 
     | 
|
| 
       427 
427 
     | 
    
         | 
| 
       428 
428 
     | 
    
         
             
                    phone_number_id: "TS",
         
     | 
| 
       429 
429 
     | 
    
         | 
| 
       430 
     | 
    
         
            -
                     
     | 
| 
      
 430 
     | 
    
         
            +
                    status: Freeclimb::CallStatus::QUEUED,
         
     | 
| 
       431 
431 
     | 
    
         | 
| 
       432 
432 
     | 
    
         
             
                    start_time: "TS",
         
     | 
| 
       433 
433 
     | 
    
         | 
| 
         @@ -443,7 +443,7 @@ describe Freeclimb::CallResult do 
     | 
|
| 
       443 
443 
     | 
    
         | 
| 
       444 
444 
     | 
    
         
             
                    answered_by: Freeclimb::AnsweredBy::HUMAN,
         
     | 
| 
       445 
445 
     | 
    
         | 
| 
       446 
     | 
    
         
            -
                    subresource_uris:  
     | 
| 
      
 446 
     | 
    
         
            +
                    subresource_uris: obj_subresource_uris,
         
     | 
| 
       447 
447 
     | 
    
         | 
| 
       448 
448 
     | 
    
         
             
                    application_id: "TS"
         
     | 
| 
       449 
449 
     | 
    
         
             
                  )
         
     | 
| 
         @@ -468,7 +468,7 @@ describe Freeclimb::CallResult do 
     | 
|
| 
       468 
468 
     | 
    
         | 
| 
       469 
469 
     | 
    
         
             
                    phone_number_id: "TS",
         
     | 
| 
       470 
470 
     | 
    
         | 
| 
       471 
     | 
    
         
            -
                     
     | 
| 
      
 471 
     | 
    
         
            +
                    status: Freeclimb::CallStatus::QUEUED,
         
     | 
| 
       472 
472 
     | 
    
         | 
| 
       473 
473 
     | 
    
         
             
                    start_time: "TS",
         
     | 
| 
       474 
474 
     | 
    
         | 
| 
         @@ -484,7 +484,7 @@ describe Freeclimb::CallResult do 
     | 
|
| 
       484 
484 
     | 
    
         | 
| 
       485 
485 
     | 
    
         
             
                    answered_by: Freeclimb::AnsweredBy::HUMAN,
         
     | 
| 
       486 
486 
     | 
    
         | 
| 
       487 
     | 
    
         
            -
                    subresource_uris:  
     | 
| 
      
 487 
     | 
    
         
            +
                    subresource_uris: obj_subresource_uris,
         
     | 
| 
       488 
488 
     | 
    
         | 
| 
       489 
489 
     | 
    
         
             
                    application_id: "TS"
         
     | 
| 
       490 
490 
     | 
    
         
             
                  )
         
     | 
| 
         @@ -513,7 +513,7 @@ describe Freeclimb::CallResult do 
     | 
|
| 
       513 
513 
     | 
    
         | 
| 
       514 
514 
     | 
    
         
             
                    phone_number_id: "TS",
         
     | 
| 
       515 
515 
     | 
    
         | 
| 
       516 
     | 
    
         
            -
                     
     | 
| 
      
 516 
     | 
    
         
            +
                    status: Freeclimb::CallStatus::QUEUED,
         
     | 
| 
       517 
517 
     | 
    
         | 
| 
       518 
518 
     | 
    
         
             
                    start_time: "TS",
         
     | 
| 
       519 
519 
     | 
    
         | 
| 
         @@ -556,7 +556,7 @@ describe Freeclimb::CallResult do 
     | 
|
| 
       556 
556 
     | 
    
         | 
| 
       557 
557 
     | 
    
         
             
                    phone_number_id: "ST",
         
     | 
| 
       558 
558 
     | 
    
         | 
| 
       559 
     | 
    
         
            -
                     
     | 
| 
      
 559 
     | 
    
         
            +
                    status: nil,
         
     | 
| 
       560 
560 
     | 
    
         | 
| 
       561 
561 
     | 
    
         
             
                    start_time: "ST",
         
     | 
| 
       562 
562 
     | 
    
         | 
| 
         @@ -603,7 +603,7 @@ describe Freeclimb::CallResult do 
     | 
|
| 
       603 
603 
     | 
    
         | 
| 
       604 
604 
     | 
    
         
             
                    phone_number_id: "TS",
         
     | 
| 
       605 
605 
     | 
    
         | 
| 
       606 
     | 
    
         
            -
                     
     | 
| 
      
 606 
     | 
    
         
            +
                    status: Freeclimb::CallStatus::QUEUED,
         
     | 
| 
       607 
607 
     | 
    
         | 
| 
       608 
608 
     | 
    
         
             
                    start_time: "TS",
         
     | 
| 
       609 
609 
     | 
    
         | 
| 
         @@ -650,7 +650,7 @@ describe Freeclimb::CallResult do 
     | 
|
| 
       650 
650 
     | 
    
         | 
| 
       651 
651 
     | 
    
         
             
                    phone_number_id: "TS",
         
     | 
| 
       652 
652 
     | 
    
         | 
| 
       653 
     | 
    
         
            -
                     
     | 
| 
      
 653 
     | 
    
         
            +
                    status: Freeclimb::CallStatus::QUEUED,
         
     | 
| 
       654 
654 
     | 
    
         | 
| 
       655 
655 
     | 
    
         
             
                    start_time: "TS",
         
     | 
| 
       656 
656 
     | 
    
         | 
| 
         @@ -691,7 +691,7 @@ describe Freeclimb::CallResult do 
     | 
|
| 
       691 
691 
     | 
    
         | 
| 
       692 
692 
     | 
    
         
             
                    phone_number_id: "TS",
         
     | 
| 
       693 
693 
     | 
    
         | 
| 
       694 
     | 
    
         
            -
                     
     | 
| 
      
 694 
     | 
    
         
            +
                    status: Freeclimb::CallStatus::QUEUED,
         
     | 
| 
       695 
695 
     | 
    
         | 
| 
       696 
696 
     | 
    
         
             
                    start_time: "TS",
         
     | 
| 
       697 
697 
     | 
    
         | 
| 
         @@ -738,7 +738,7 @@ describe Freeclimb::CallResult do 
     | 
|
| 
       738 
738 
     | 
    
         | 
| 
       739 
739 
     | 
    
         
             
                  phone_number_id: "TS",
         
     | 
| 
       740 
740 
     | 
    
         | 
| 
       741 
     | 
    
         
            -
                   
     | 
| 
      
 741 
     | 
    
         
            +
                  status: Freeclimb::CallStatus::QUEUED,
         
     | 
| 
       742 
742 
     | 
    
         | 
| 
       743 
743 
     | 
    
         
             
                  start_time: "TS",
         
     | 
| 
       744 
744 
     | 
    
         | 
| 
         @@ -850,7 +850,7 @@ describe Freeclimb::CallResult do 
     | 
|
| 
       850 
850 
     | 
    
         | 
| 
       851 
851 
     | 
    
         
             
                    phone_number_id: "TS",
         
     | 
| 
       852 
852 
     | 
    
         | 
| 
       853 
     | 
    
         
            -
                     
     | 
| 
      
 853 
     | 
    
         
            +
                    status: Freeclimb::CallStatus::QUEUED,
         
     | 
| 
       854 
854 
     | 
    
         | 
| 
       855 
855 
     | 
    
         
             
                    start_time: "TS",
         
     | 
| 
       856 
856 
     | 
    
         | 
| 
         @@ -897,7 +897,7 @@ describe Freeclimb::CallResult do 
     | 
|
| 
       897 
897 
     | 
    
         | 
| 
       898 
898 
     | 
    
         
             
                    phone_number_id: "TS",
         
     | 
| 
       899 
899 
     | 
    
         | 
| 
       900 
     | 
    
         
            -
                     
     | 
| 
      
 900 
     | 
    
         
            +
                    status: Freeclimb::CallStatus::QUEUED,
         
     | 
| 
       901 
901 
     | 
    
         | 
| 
       902 
902 
     | 
    
         
             
                    start_time: "TS",
         
     | 
| 
       903 
903 
     | 
    
         | 
| 
         @@ -943,7 +943,7 @@ describe Freeclimb::CallResult do 
     | 
|
| 
       943 
943 
     | 
    
         | 
| 
       944 
944 
     | 
    
         
             
                    phone_number_id: "TS",
         
     | 
| 
       945 
945 
     | 
    
         | 
| 
       946 
     | 
    
         
            -
                     
     | 
| 
      
 946 
     | 
    
         
            +
                    status: Freeclimb::CallStatus::QUEUED,
         
     | 
| 
       947 
947 
     | 
    
         | 
| 
       948 
948 
     | 
    
         
             
                    start_time: "TS",
         
     | 
| 
       949 
949 
     | 
    
         | 
| 
         @@ -984,7 +984,7 @@ describe Freeclimb::CallResult do 
     | 
|
| 
       984 
984 
     | 
    
         | 
| 
       985 
985 
     | 
    
         
             
                    phone_number_id: "TS",
         
     | 
| 
       986 
986 
     | 
    
         | 
| 
       987 
     | 
    
         
            -
                     
     | 
| 
      
 987 
     | 
    
         
            +
                    status: Freeclimb::CallStatus::QUEUED,
         
     | 
| 
       988 
988 
     | 
    
         | 
| 
       989 
989 
     | 
    
         
             
                    start_time: "TS",
         
     | 
| 
       990 
990 
     | 
    
         | 
| 
         @@ -1030,7 +1030,7 @@ describe Freeclimb::CallResult do 
     | 
|
| 
       1030 
1030 
     | 
    
         | 
| 
       1031 
1031 
     | 
    
         
             
                  phone_number_id: "TS",
         
     | 
| 
       1032 
1032 
     | 
    
         | 
| 
       1033 
     | 
    
         
            -
                   
     | 
| 
      
 1033 
     | 
    
         
            +
                  status: Freeclimb::CallStatus::QUEUED,
         
     | 
| 
       1034 
1034 
     | 
    
         | 
| 
       1035 
1035 
     | 
    
         
             
                  start_time: "TS",
         
     | 
| 
       1036 
1036 
     | 
    
         | 
| 
         @@ -1078,8 +1078,8 @@ describe Freeclimb::CallResult do 
     | 
|
| 
       1078 
1078 
     | 
    
         
             
                it "returns phone_number_id in the form of hash" do
         
     | 
| 
       1079 
1079 
     | 
    
         
             
                  expect(instance._to_hash(instance.phone_number_id)).to eq(instance.phone_number_id)
         
     | 
| 
       1080 
1080 
     | 
    
         
             
                end
         
     | 
| 
       1081 
     | 
    
         
            -
                it "returns  
     | 
| 
       1082 
     | 
    
         
            -
                  expect(instance._to_hash(instance. 
     | 
| 
      
 1081 
     | 
    
         
            +
                it "returns status in the form of hash" do
         
     | 
| 
      
 1082 
     | 
    
         
            +
                  expect(instance._to_hash(instance.status)).to eq(instance.status)
         
     | 
| 
       1083 
1083 
     | 
    
         
             
                end
         
     | 
| 
       1084 
1084 
     | 
    
         
             
                it "returns start_time in the form of hash" do
         
     | 
| 
       1085 
1085 
     | 
    
         
             
                  expect(instance._to_hash(instance.start_time)).to eq(instance.start_time)
         
     | 
| 
         @@ -298,7 +298,7 @@ describe Freeclimb::ConferenceResult do 
     | 
|
| 
       298 
298 
     | 
    
         | 
| 
       299 
299 
     | 
    
         
             
              describe 'test method "eql?"' do
         
     | 
| 
       300 
300 
     | 
    
         
             
                it "checks if objects are equal" do
         
     | 
| 
       301 
     | 
    
         
            -
                   
     | 
| 
      
 301 
     | 
    
         
            +
                  obj_subresource_uris = Object.new
         
     | 
| 
       302 
302 
     | 
    
         | 
| 
       303 
303 
     | 
    
         
             
                  instance_1 = Freeclimb::ConferenceResult.new(
         
     | 
| 
       304 
304 
     | 
    
         
             
                    uri: "TS",
         
     | 
| 
         @@ -327,7 +327,7 @@ describe Freeclimb::ConferenceResult do 
     | 
|
| 
       327 
327 
     | 
    
         | 
| 
       328 
328 
     | 
    
         
             
                    status_callback_url: "TS",
         
     | 
| 
       329 
329 
     | 
    
         | 
| 
       330 
     | 
    
         
            -
                    subresource_uris:  
     | 
| 
      
 330 
     | 
    
         
            +
                    subresource_uris: obj_subresource_uris
         
     | 
| 
       331 
331 
     | 
    
         
             
                  )
         
     | 
| 
       332 
332 
     | 
    
         
             
                  instance_2 = Freeclimb::ConferenceResult.new(
         
     | 
| 
       333 
333 
     | 
    
         
             
                    uri: "TS",
         
     | 
| 
         @@ -356,7 +356,7 @@ describe Freeclimb::ConferenceResult do 
     | 
|
| 
       356 
356 
     | 
    
         | 
| 
       357 
357 
     | 
    
         
             
                    status_callback_url: "TS",
         
     | 
| 
       358 
358 
     | 
    
         | 
| 
       359 
     | 
    
         
            -
                    subresource_uris:  
     | 
| 
      
 359 
     | 
    
         
            +
                    subresource_uris: obj_subresource_uris
         
     | 
| 
       360 
360 
     | 
    
         
             
                  )
         
     | 
| 
       361 
361 
     | 
    
         
             
                  expect(instance_1.eql?(instance_2)).to eq(true)
         
     | 
| 
       362 
362 
     | 
    
         
             
                end
         
     | 
| 
         @@ -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
         
     |