=begin #Pinterest REST API #Pinterest's REST API The version of the OpenAPI document: 5.3.0 Contact: blah@cliffano.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.4.0 =end require 'spec_helper' require 'json' # Unit tests for PinterestSdkClient::UserAccountApi # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate describe 'UserAccountApi' do before do # run before each test @api_instance = PinterestSdkClient::UserAccountApi.new end after do # run after each test end describe 'test an instance of UserAccountApi' do it 'should create an instance of UserAccountApi' do expect(@api_instance).to be_instance_of(PinterestSdkClient::UserAccountApi) end end # unit tests for user_account_analytics # Get user account analytics # Get analytics for the \"operation user_account\" - By default, the \"operation user_account\" is the token user_account. Optional: Business Access: Specify an ad_account_id to use the owner of that ad_account as the \"operation user_account\". # @param start_date Metric report start date (UTC). Format: YYYY-MM-DD # @param end_date Metric report end date (UTC). Format: YYYY-MM-DD # @param [Hash] opts the optional parameters # @option opts [String] :from_claimed_content Filter on Pins that match your claimed domain. # @option opts [String] :pin_format Pin formats to get data for, default is all. # @option opts [String] :app_types Apps or devices to get data for, default is all. # @option opts [Array] :metric_types Metric types to get data for, default is all. # @option opts [String] :split_field How to split the data into groups. Not including this param means data won't be split. # @option opts [String] :ad_account_id Unique identifier of an ad account. # @return [Hash] describe 'user_account_analytics 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 user_account_get # Get user account # Get account information for the \"operation user_account\" - By default, the \"operation user_account\" is the token user_account. If using Business Access: Specify an ad_account_id to use the owner of that ad_account as the \"operation user_account\". See <a href='/docs/api/v5/#tag/Understanding-business-access'>Understanding Business Access</a> for more information. # @param [Hash] opts the optional parameters # @option opts [String] :ad_account_id Unique identifier of an ad account. # @return [Account] describe 'user_account_get test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end end