=begin #ARTIK Cloud API #No descripton provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: 2.0.0 Generated by: https://github.com/swagger-api/swagger-codegen.git Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. =end require 'spec_helper' require 'json' # Unit tests for ArtikCloud::ExportApi # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'ExportApi' do before do # run before each test @instance = ArtikCloud::ExportApi.new end after do # run after each test end describe 'test an instance of ExportApi' do it 'should create an instact of ExportApi' do # expect(@instance).to be_instance_of(ArtikCloud::ExportApi) end end # unit tests for export_request # Create Export Request # Export normalized messages. The following input combinations are supported:<br/><table><tr><th>Combination</th><th>Parameters</th><th>Description</th></tr><tr><td>Get by users</td><td>uids</td><td>Search by a list of User IDs. For each user in the list, the current authenticated user must have read access over the specified user.</td></tr><tr><td>Get by devices</td><td>sdids</td><td>Search by Source Device IDs.</td></tr><tr><td>Get by device types</td><td>uids,sdtids</td><td>Search by list of Source Device Type IDs for the given list of users.</td></tr><tr><td>Get by trial</td><td>trialId</td><td>Search by Trial ID.</td></tr><tr><td>Get by combination of parameters</td><td>uids,sdids,sdtids</td><td>Search by list of Source Device IDs. Each Device ID must belong to a Source Device Type ID and a User ID.</td></tr><tr><td>Common</td><td>startDate,endDate,order,format,url,csvHeaders</td><td>Parameters that can be used with the above combinations.</td></tr></table> # @param export_request_info ExportRequest object that is passed in the body # @param [Hash] opts the optional parameters # @return [ExportRequestResponse] describe 'export_request test' do it "should work" do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for get_export_history # Get Export History # Get the history of export requests. # @param [Hash] opts the optional parameters # @option opts [String] :trial_id Filter by trialId. # @option opts [Integer] :count Pagination count. # @option opts [Integer] :offset Pagination offset. # @return [ExportHistoryResponse] describe 'get_export_history test' do it "should work" do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for get_export_result # Get Export Result # Retrieve result of the export query in tgz format. The tar file may contain one or more files with the results. # @param export_id Export ID of the export query. # @param [Hash] opts the optional parameters # @return [String] describe 'get_export_result test' do it "should work" do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for get_export_status # Check Export Status # Check status of the export query. # @param export_id Export ID of the export query. # @param [Hash] opts the optional parameters # @return [ExportStatusResponse] describe 'get_export_status test' do it "should work" do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end end