sygna-bridge-ivms-util 0.0.5
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 +7 -0
- data/Gemfile +9 -0
- data/README.md +110 -0
- data/Rakefile +10 -0
- data/docs/Address.md +47 -0
- data/docs/AddressTypeCode.md +16 -0
- data/docs/Beneficiary.md +19 -0
- data/docs/BeneficiaryVasp.md +17 -0
- data/docs/DateAndPlaceOfBirth.md +19 -0
- data/docs/DefaultApi.md +49 -0
- data/docs/IdentityPayload.md +27 -0
- data/docs/IntermediaryVasp.md +19 -0
- data/docs/LegalPerson.md +25 -0
- data/docs/LegalPersonName.md +21 -0
- data/docs/LegalPersonNameId.md +19 -0
- data/docs/LegalPersonNameTypeCode.md +16 -0
- data/docs/LocalLegalPersonNameId.md +19 -0
- data/docs/LocalNaturalPersonNameId.md +21 -0
- data/docs/NationalIdentification.md +23 -0
- data/docs/NationalIdentifierTypeCode.md +16 -0
- data/docs/NaturalPerson.md +27 -0
- data/docs/NaturalPersonName.md +21 -0
- data/docs/NaturalPersonNameId.md +21 -0
- data/docs/NaturalPersonNameTypeCode.md +16 -0
- data/docs/OriginatingVasp.md +17 -0
- data/docs/Originator.md +19 -0
- data/docs/PayloadMetadata.md +17 -0
- data/docs/Person.md +19 -0
- data/docs/TransliterationMethodCode.md +16 -0
- data/git_push.sh +58 -0
- data/lib/sygna-bridge-ivms-util.rb +64 -0
- data/lib/sygna-bridge-ivms-util/api/default_api.rb +74 -0
- data/lib/sygna-bridge-ivms-util/api_client.rb +387 -0
- data/lib/sygna-bridge-ivms-util/api_error.rb +57 -0
- data/lib/sygna-bridge-ivms-util/configuration.rb +241 -0
- data/lib/sygna-bridge-ivms-util/models/address.rb +377 -0
- data/lib/sygna-bridge-ivms-util/models/address_type_code.rb +37 -0
- data/lib/sygna-bridge-ivms-util/models/beneficiary.rb +219 -0
- data/lib/sygna-bridge-ivms-util/models/beneficiary_vasp.rb +206 -0
- data/lib/sygna-bridge-ivms-util/models/date_and_place_of_birth.rb +215 -0
- data/lib/sygna-bridge-ivms-util/models/identity_payload.rb +253 -0
- data/lib/sygna-bridge-ivms-util/models/intermediary_vasp.rb +239 -0
- data/lib/sygna-bridge-ivms-util/models/legal_person.rb +244 -0
- data/lib/sygna-bridge-ivms-util/models/legal_person_name.rb +230 -0
- data/lib/sygna-bridge-ivms-util/models/legal_person_name_id.rb +249 -0
- data/lib/sygna-bridge-ivms-util/models/legal_person_name_type_code.rb +37 -0
- data/lib/sygna-bridge-ivms-util/models/local_legal_person_name_id.rb +249 -0
- data/lib/sygna-bridge-ivms-util/models/local_natural_person_name_id.rb +258 -0
- data/lib/sygna-bridge-ivms-util/models/national_identification.rb +267 -0
- data/lib/sygna-bridge-ivms-util/models/national_identifier_type_code.rb +44 -0
- data/lib/sygna-bridge-ivms-util/models/natural_person.rb +253 -0
- data/lib/sygna-bridge-ivms-util/models/natural_person_name.rb +230 -0
- data/lib/sygna-bridge-ivms-util/models/natural_person_name_id.rb +258 -0
- data/lib/sygna-bridge-ivms-util/models/natural_person_name_type_code.rb +39 -0
- data/lib/sygna-bridge-ivms-util/models/originating_vasp.rb +206 -0
- data/lib/sygna-bridge-ivms-util/models/originator.rb +219 -0
- data/lib/sygna-bridge-ivms-util/models/payload_metadata.rb +230 -0
- data/lib/sygna-bridge-ivms-util/models/person.rb +215 -0
- data/lib/sygna-bridge-ivms-util/models/transliteration_method_code.rb +47 -0
- data/lib/sygna-bridge-ivms-util/version.rb +15 -0
- data/spec/api/default_api_spec.rb +44 -0
- data/spec/api_client_spec.rb +226 -0
- data/spec/configuration_spec.rb +42 -0
- data/spec/models/address_spec.rb +135 -0
- data/spec/models/address_type_code_spec.rb +35 -0
- data/spec/models/beneficiary_spec.rb +47 -0
- data/spec/models/beneficiary_vasp_spec.rb +41 -0
- data/spec/models/date_and_place_of_birth_spec.rb +47 -0
- data/spec/models/identity_payload_spec.rb +71 -0
- data/spec/models/intermediary_vasp_spec.rb +47 -0
- data/spec/models/legal_person_name_id_spec.rb +51 -0
- data/spec/models/legal_person_name_spec.rb +53 -0
- data/spec/models/legal_person_name_type_code_spec.rb +35 -0
- data/spec/models/legal_person_spec.rb +65 -0
- data/spec/models/local_legal_person_name_id_spec.rb +51 -0
- data/spec/models/local_natural_person_name_id_spec.rb +57 -0
- data/spec/models/national_identification_spec.rb +63 -0
- data/spec/models/national_identifier_type_code_spec.rb +35 -0
- data/spec/models/natural_person_name_id_spec.rb +57 -0
- data/spec/models/natural_person_name_spec.rb +53 -0
- data/spec/models/natural_person_name_type_code_spec.rb +35 -0
- data/spec/models/natural_person_spec.rb +71 -0
- data/spec/models/originating_vasp_spec.rb +41 -0
- data/spec/models/originator_spec.rb +47 -0
- data/spec/models/payload_metadata_spec.rb +45 -0
- data/spec/models/person_spec.rb +47 -0
- data/spec/models/transliteration_method_code_spec.rb +35 -0
- data/spec/spec_helper.rb +111 -0
- data/sygna-bridge-ivms-util.gemspec +38 -0
- metadata +199 -0
@@ -0,0 +1,19 @@
|
|
1
|
+
# SygnaBridgeIvmsUtil::LocalLegalPersonNameId
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**legal_person_name** | **String** | | [optional]
|
8
|
+
**legal_person_name_identifier_type** | **String** | | [optional]
|
9
|
+
|
10
|
+
## Code Sample
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'SygnaBridgeIvmsUtil'
|
14
|
+
|
15
|
+
instance = SygnaBridgeIvmsUtil::LocalLegalPersonNameId.new(legal_person_name: null,
|
16
|
+
legal_person_name_identifier_type: null)
|
17
|
+
```
|
18
|
+
|
19
|
+
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# SygnaBridgeIvmsUtil::LocalNaturalPersonNameId
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**primary_identifier** | **String** | | [optional]
|
8
|
+
**secondary_identifier** | **String** | | [optional]
|
9
|
+
**name_identifier_type** | **String** | | [optional]
|
10
|
+
|
11
|
+
## Code Sample
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'SygnaBridgeIvmsUtil'
|
15
|
+
|
16
|
+
instance = SygnaBridgeIvmsUtil::LocalNaturalPersonNameId.new(primary_identifier: null,
|
17
|
+
secondary_identifier: null,
|
18
|
+
name_identifier_type: null)
|
19
|
+
```
|
20
|
+
|
21
|
+
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# SygnaBridgeIvmsUtil::NationalIdentification
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**national_identifier** | **String** | | [optional]
|
8
|
+
**national_identifier_type** | **String** | | [optional]
|
9
|
+
**country_of_issue** | **String** | | [optional]
|
10
|
+
**registration_authority** | **String** | | [optional]
|
11
|
+
|
12
|
+
## Code Sample
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'SygnaBridgeIvmsUtil'
|
16
|
+
|
17
|
+
instance = SygnaBridgeIvmsUtil::NationalIdentification.new(national_identifier: null,
|
18
|
+
national_identifier_type: null,
|
19
|
+
country_of_issue: null,
|
20
|
+
registration_authority: null)
|
21
|
+
```
|
22
|
+
|
23
|
+
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# SygnaBridgeIvmsUtil::NationalIdentifierTypeCode
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
|
8
|
+
## Code Sample
|
9
|
+
|
10
|
+
```ruby
|
11
|
+
require 'SygnaBridgeIvmsUtil'
|
12
|
+
|
13
|
+
instance = SygnaBridgeIvmsUtil::NationalIdentifierTypeCode.new()
|
14
|
+
```
|
15
|
+
|
16
|
+
|
@@ -0,0 +1,27 @@
|
|
1
|
+
# SygnaBridgeIvmsUtil::NaturalPerson
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**name** | [**NaturalPersonName**](NaturalPersonName.md) | | [optional]
|
8
|
+
**geographic_addresses** | [**Array<Address>**](Address.md) | | [optional]
|
9
|
+
**national_identification** | [**NationalIdentification**](NationalIdentification.md) | | [optional]
|
10
|
+
**customer_identification** | **String** | | [optional]
|
11
|
+
**date_and_place_of_birth** | [**DateAndPlaceOfBirth**](DateAndPlaceOfBirth.md) | | [optional]
|
12
|
+
**country_of_residence** | **String** | | [optional]
|
13
|
+
|
14
|
+
## Code Sample
|
15
|
+
|
16
|
+
```ruby
|
17
|
+
require 'SygnaBridgeIvmsUtil'
|
18
|
+
|
19
|
+
instance = SygnaBridgeIvmsUtil::NaturalPerson.new(name: null,
|
20
|
+
geographic_addresses: null,
|
21
|
+
national_identification: null,
|
22
|
+
customer_identification: null,
|
23
|
+
date_and_place_of_birth: null,
|
24
|
+
country_of_residence: null)
|
25
|
+
```
|
26
|
+
|
27
|
+
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# SygnaBridgeIvmsUtil::NaturalPersonName
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**name_identifiers** | [**Array<NaturalPersonNameId>**](NaturalPersonNameId.md) | | [optional]
|
8
|
+
**local_name_identifiers** | [**Array<LocalNaturalPersonNameId>**](LocalNaturalPersonNameId.md) | | [optional]
|
9
|
+
**phonetic_name_identifiers** | [**Array<LocalNaturalPersonNameId>**](LocalNaturalPersonNameId.md) | | [optional]
|
10
|
+
|
11
|
+
## Code Sample
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'SygnaBridgeIvmsUtil'
|
15
|
+
|
16
|
+
instance = SygnaBridgeIvmsUtil::NaturalPersonName.new(name_identifiers: null,
|
17
|
+
local_name_identifiers: null,
|
18
|
+
phonetic_name_identifiers: null)
|
19
|
+
```
|
20
|
+
|
21
|
+
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# SygnaBridgeIvmsUtil::NaturalPersonNameId
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**primary_identifier** | **String** | | [optional]
|
8
|
+
**secondary_identifier** | **String** | | [optional]
|
9
|
+
**name_identifier_type** | **String** | | [optional]
|
10
|
+
|
11
|
+
## Code Sample
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'SygnaBridgeIvmsUtil'
|
15
|
+
|
16
|
+
instance = SygnaBridgeIvmsUtil::NaturalPersonNameId.new(primary_identifier: null,
|
17
|
+
secondary_identifier: null,
|
18
|
+
name_identifier_type: null)
|
19
|
+
```
|
20
|
+
|
21
|
+
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# SygnaBridgeIvmsUtil::NaturalPersonNameTypeCode
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
|
8
|
+
## Code Sample
|
9
|
+
|
10
|
+
```ruby
|
11
|
+
require 'SygnaBridgeIvmsUtil'
|
12
|
+
|
13
|
+
instance = SygnaBridgeIvmsUtil::NaturalPersonNameTypeCode.new()
|
14
|
+
```
|
15
|
+
|
16
|
+
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# SygnaBridgeIvmsUtil::OriginatingVasp
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**originating_vasp** | [**Person**](Person.md) | | [optional]
|
8
|
+
|
9
|
+
## Code Sample
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'SygnaBridgeIvmsUtil'
|
13
|
+
|
14
|
+
instance = SygnaBridgeIvmsUtil::OriginatingVasp.new(originating_vasp: null)
|
15
|
+
```
|
16
|
+
|
17
|
+
|
data/docs/Originator.md
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
# SygnaBridgeIvmsUtil::Originator
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**originator_persons** | [**Array<Person>**](Person.md) | | [optional]
|
8
|
+
**account_numbers** | **Array<String>** | | [optional]
|
9
|
+
|
10
|
+
## Code Sample
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'SygnaBridgeIvmsUtil'
|
14
|
+
|
15
|
+
instance = SygnaBridgeIvmsUtil::Originator.new(originator_persons: null,
|
16
|
+
account_numbers: null)
|
17
|
+
```
|
18
|
+
|
19
|
+
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# SygnaBridgeIvmsUtil::PayloadMetadata
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**transliteration_method** | **Array<String>** | | [optional]
|
8
|
+
|
9
|
+
## Code Sample
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'SygnaBridgeIvmsUtil'
|
13
|
+
|
14
|
+
instance = SygnaBridgeIvmsUtil::PayloadMetadata.new(transliteration_method: null)
|
15
|
+
```
|
16
|
+
|
17
|
+
|
data/docs/Person.md
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
# SygnaBridgeIvmsUtil::Person
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**natural_person** | [**NaturalPerson**](NaturalPerson.md) | | [optional]
|
8
|
+
**legal_person** | [**LegalPerson**](LegalPerson.md) | | [optional]
|
9
|
+
|
10
|
+
## Code Sample
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'SygnaBridgeIvmsUtil'
|
14
|
+
|
15
|
+
instance = SygnaBridgeIvmsUtil::Person.new(natural_person: null,
|
16
|
+
legal_person: null)
|
17
|
+
```
|
18
|
+
|
19
|
+
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# SygnaBridgeIvmsUtil::TransliterationMethodCode
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
|
8
|
+
## Code Sample
|
9
|
+
|
10
|
+
```ruby
|
11
|
+
require 'SygnaBridgeIvmsUtil'
|
12
|
+
|
13
|
+
instance = SygnaBridgeIvmsUtil::TransliterationMethodCode.new()
|
14
|
+
```
|
15
|
+
|
16
|
+
|
data/git_push.sh
ADDED
@@ -0,0 +1,58 @@
|
|
1
|
+
#!/bin/sh
|
2
|
+
# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
|
3
|
+
#
|
4
|
+
# Usage example: /bin/sh ./git_push.sh wing328 openapi-pestore-perl "minor update" "gitlab.com"
|
5
|
+
|
6
|
+
git_user_id=$1
|
7
|
+
git_repo_id=$2
|
8
|
+
release_note=$3
|
9
|
+
git_host=$4
|
10
|
+
|
11
|
+
if [ "$git_host" = "" ]; then
|
12
|
+
git_host="github.com"
|
13
|
+
echo "[INFO] No command line input provided. Set \$git_host to $git_host"
|
14
|
+
fi
|
15
|
+
|
16
|
+
if [ "$git_user_id" = "" ]; then
|
17
|
+
git_user_id="GIT_USER_ID"
|
18
|
+
echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id"
|
19
|
+
fi
|
20
|
+
|
21
|
+
if [ "$git_repo_id" = "" ]; then
|
22
|
+
git_repo_id="GIT_REPO_ID"
|
23
|
+
echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id"
|
24
|
+
fi
|
25
|
+
|
26
|
+
if [ "$release_note" = "" ]; then
|
27
|
+
release_note="Minor update"
|
28
|
+
echo "[INFO] No command line input provided. Set \$release_note to $release_note"
|
29
|
+
fi
|
30
|
+
|
31
|
+
# Initialize the local directory as a Git repository
|
32
|
+
git init
|
33
|
+
|
34
|
+
# Adds the files in the local repository and stages them for commit.
|
35
|
+
git add .
|
36
|
+
|
37
|
+
# Commits the tracked changes and prepares them to be pushed to a remote repository.
|
38
|
+
git commit -m "$release_note"
|
39
|
+
|
40
|
+
# Sets the new remote
|
41
|
+
git_remote=`git remote`
|
42
|
+
if [ "$git_remote" = "" ]; then # git remote not defined
|
43
|
+
|
44
|
+
if [ "$GIT_TOKEN" = "" ]; then
|
45
|
+
echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment."
|
46
|
+
git remote add origin https://${git_host}/${git_user_id}/${git_repo_id}.git
|
47
|
+
else
|
48
|
+
git remote add origin https://${git_user_id}:${GIT_TOKEN}@${git_host}/${git_user_id}/${git_repo_id}.git
|
49
|
+
fi
|
50
|
+
|
51
|
+
fi
|
52
|
+
|
53
|
+
git pull origin master
|
54
|
+
|
55
|
+
# Pushes (Forces) the changes in the local repository up to the remote repository
|
56
|
+
echo "Git pushing to https://${git_host}/${git_user_id}/${git_repo_id}.git"
|
57
|
+
git push origin master 2>&1 | grep -v 'To https'
|
58
|
+
|
@@ -0,0 +1,64 @@
|
|
1
|
+
=begin
|
2
|
+
#Bridge
|
3
|
+
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 2
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 5.0.0-beta
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
# Common files
|
14
|
+
require 'sygna-bridge-ivms-util/api_client'
|
15
|
+
require 'sygna-bridge-ivms-util/api_error'
|
16
|
+
require 'sygna-bridge-ivms-util/version'
|
17
|
+
require 'sygna-bridge-ivms-util/configuration'
|
18
|
+
|
19
|
+
# Models
|
20
|
+
require 'sygna-bridge-ivms-util/models/address'
|
21
|
+
require 'sygna-bridge-ivms-util/models/address_type_code'
|
22
|
+
require 'sygna-bridge-ivms-util/models/beneficiary'
|
23
|
+
require 'sygna-bridge-ivms-util/models/beneficiary_vasp'
|
24
|
+
require 'sygna-bridge-ivms-util/models/date_and_place_of_birth'
|
25
|
+
require 'sygna-bridge-ivms-util/models/identity_payload'
|
26
|
+
require 'sygna-bridge-ivms-util/models/intermediary_vasp'
|
27
|
+
require 'sygna-bridge-ivms-util/models/legal_person'
|
28
|
+
require 'sygna-bridge-ivms-util/models/legal_person_name'
|
29
|
+
require 'sygna-bridge-ivms-util/models/legal_person_name_id'
|
30
|
+
require 'sygna-bridge-ivms-util/models/legal_person_name_type_code'
|
31
|
+
require 'sygna-bridge-ivms-util/models/local_legal_person_name_id'
|
32
|
+
require 'sygna-bridge-ivms-util/models/local_natural_person_name_id'
|
33
|
+
require 'sygna-bridge-ivms-util/models/national_identification'
|
34
|
+
require 'sygna-bridge-ivms-util/models/national_identifier_type_code'
|
35
|
+
require 'sygna-bridge-ivms-util/models/natural_person'
|
36
|
+
require 'sygna-bridge-ivms-util/models/natural_person_name'
|
37
|
+
require 'sygna-bridge-ivms-util/models/natural_person_name_id'
|
38
|
+
require 'sygna-bridge-ivms-util/models/natural_person_name_type_code'
|
39
|
+
require 'sygna-bridge-ivms-util/models/originating_vasp'
|
40
|
+
require 'sygna-bridge-ivms-util/models/originator'
|
41
|
+
require 'sygna-bridge-ivms-util/models/payload_metadata'
|
42
|
+
require 'sygna-bridge-ivms-util/models/person'
|
43
|
+
require 'sygna-bridge-ivms-util/models/transliteration_method_code'
|
44
|
+
|
45
|
+
# APIs
|
46
|
+
require 'sygna-bridge-ivms-util/api/default_api'
|
47
|
+
|
48
|
+
module SygnaBridgeIvmsUtil
|
49
|
+
class << self
|
50
|
+
# Customize default settings for the SDK using block.
|
51
|
+
# SygnaBridgeIvmsUtil.configure do |config|
|
52
|
+
# config.username = "xxx"
|
53
|
+
# config.password = "xxx"
|
54
|
+
# end
|
55
|
+
# If no block given, return the default Configuration object.
|
56
|
+
def configure
|
57
|
+
if block_given?
|
58
|
+
yield(Configuration.default)
|
59
|
+
else
|
60
|
+
Configuration.default
|
61
|
+
end
|
62
|
+
end
|
63
|
+
end
|
64
|
+
end
|
@@ -0,0 +1,74 @@
|
|
1
|
+
=begin
|
2
|
+
#Bridge
|
3
|
+
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 2
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 5.0.0-beta
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'cgi'
|
14
|
+
|
15
|
+
module SygnaBridgeIvmsUtil
|
16
|
+
class DefaultApi
|
17
|
+
attr_accessor :api_client
|
18
|
+
|
19
|
+
def initialize(api_client = ApiClient.default)
|
20
|
+
@api_client = api_client
|
21
|
+
end
|
22
|
+
# @param [Hash] opts the optional parameters
|
23
|
+
# @return [Object]
|
24
|
+
def bridge_vasp_get(opts = {})
|
25
|
+
data, _status_code, _headers = bridge_vasp_get_with_http_info(opts)
|
26
|
+
data
|
27
|
+
end
|
28
|
+
|
29
|
+
# @param [Hash] opts the optional parameters
|
30
|
+
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
31
|
+
def bridge_vasp_get_with_http_info(opts = {})
|
32
|
+
if @api_client.config.debugging
|
33
|
+
@api_client.config.logger.debug 'Calling API: DefaultApi.bridge_vasp_get ...'
|
34
|
+
end
|
35
|
+
# resource path
|
36
|
+
local_var_path = '/bridge/vasp'
|
37
|
+
|
38
|
+
# query parameters
|
39
|
+
query_params = opts[:query_params] || {}
|
40
|
+
|
41
|
+
# header parameters
|
42
|
+
header_params = opts[:header_params] || {}
|
43
|
+
# HTTP header 'Accept' (if needed)
|
44
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
45
|
+
|
46
|
+
# form parameters
|
47
|
+
form_params = opts[:form_params] || {}
|
48
|
+
|
49
|
+
# http body (model)
|
50
|
+
post_body = opts[:body]
|
51
|
+
|
52
|
+
# return_type
|
53
|
+
return_type = opts[:return_type] || 'Object'
|
54
|
+
|
55
|
+
# auth_names
|
56
|
+
auth_names = opts[:auth_names] || []
|
57
|
+
|
58
|
+
new_options = opts.merge(
|
59
|
+
:header_params => header_params,
|
60
|
+
:query_params => query_params,
|
61
|
+
:form_params => form_params,
|
62
|
+
:body => post_body,
|
63
|
+
:auth_names => auth_names,
|
64
|
+
:return_type => return_type
|
65
|
+
)
|
66
|
+
|
67
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
68
|
+
if @api_client.config.debugging
|
69
|
+
@api_client.config.logger.debug "API called: DefaultApi#bridge_vasp_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
70
|
+
end
|
71
|
+
return data, status_code, headers
|
72
|
+
end
|
73
|
+
end
|
74
|
+
end
|