Sha256: 541173d9e4587a0b9030c0a1ccf558ab05012d3b06b7ad3175a0bcb4eda720b1

Contents?: true

Size: 1.88 KB

Versions: 21

Compression:

Stored size: 1.88 KB

Contents

=begin
#Fatture in Cloud API v2 - API Reference

#Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy.   The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol.

The version of the OpenAPI document: 2.0.7
Contact: info@fattureincloud.it
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 5.3.0

=end

require 'spec_helper'
require 'json'
require 'date'

# Unit tests for FattureInCloud_Ruby_Sdk::GetUserInfoResponse
# Automatically generated by openapi-generator (https://openapi-generator.tech)
# Please update as you see appropriate
describe FattureInCloud_Ruby_Sdk::GetUserInfoResponse do
  instance = FattureInCloud_Ruby_Sdk::GetUserInfoResponse.new
  instance.data = {
    id: 12345,
    name: "Mario Rossi",
    first_name: "Mario",
    last_name: "Rossi",
    email: "mario.rossi@example.com",
    hash: "5add29e1234532a1bf2ed7b612043029",
    picture: "picture.jpg"
  },
  instance.info = {
    need_marketing_consents_confirmation: false,
    need_password_change: false,
    need_terms_of_service_confirmation: false
  },
  instance.email_confirmation_state = {
    need_confirmation: false
  }

  describe 'test an instance of GetUserInfoResponse' do
    it 'should create an instance of GetUserInfoResponse' do
      expect(instance).to be_instance_of(FattureInCloud_Ruby_Sdk::GetUserInfoResponse)
    end
  end
  describe 'test attribute "data"' do
    it 'should work' do
      expect(instance.data).to be_a_kind_of(Object)
    end
  end

  describe 'test attribute "info"' do
    it 'should work' do
      expect(instance.info).to be_a_kind_of(Object)
    end
  end

  describe 'test attribute "email_confirmation_state"' do
    it 'should work' do
      expect(instance.email_confirmation_state).to be_a_kind_of(Object)
    end
  end

end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
fattureincloud_ruby_sdk-2.1.1 spec/models/get_user_info_response_spec.rb
fattureincloud_ruby_sdk-2.1.0 spec/models/get_user_info_response_spec.rb
fattureincloud_ruby_sdk-2.0.20 spec/models/get_user_info_response_spec.rb
fattureincloud_ruby_sdk-2.0.19 spec/models/get_user_info_response_spec.rb
fattureincloud_ruby_sdk-2.0.18 spec/models/get_user_info_response_spec.rb
fattureincloud_ruby_sdk-2.0.17 spec/models/get_user_info_response_spec.rb
fattureincloud_ruby_sdk-2.0.16 spec/models/get_user_info_response_spec.rb
fattureincloud_ruby_sdk-2.0.15 spec/models/get_user_info_response_spec.rb
fattureincloud_ruby_sdk-2.0.14 spec/models/get_user_info_response_spec.rb
fattureincloud_ruby_sdk-2.0.13 spec/models/get_user_info_response_spec.rb
fattureincloud_ruby_sdk-2.0.12 spec/models/get_user_info_response_spec.rb
fattureincloud_ruby_sdk-2.0.11 spec/models/get_user_info_response_spec.rb
fattureincloud_ruby_sdk-2.0.10 spec/models/get_user_info_response_spec.rb
fattureincloud_ruby_sdk-2.0.9 spec/models/get_user_info_response_spec.rb
fattureincloud_ruby_sdk-2.0.8 spec/models/get_user_info_response_spec.rb
fattureincloud_ruby_sdk-2.0.7 spec/models/get_user_info_response_spec.rb
fattureincloud_ruby_sdk-2.0.6 spec/models/get_user_info_response_spec.rb
fattureincloud_ruby_sdk-2.0.5 spec/models/get_user_info_response_spec.rb
fattureincloud_ruby_sdk-2.0.4 spec/models/get_user_info_response_spec.rb
fattureincloud_ruby_sdk-2.0.3 spec/models/get_user_info_response_spec.rb