freeclimb 2.0.1 → 2.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +100 -0
- data/README.md +11 -4
- data/docs/GetDigits.md +3 -1
- data/docs/GetDigitsAllOf.md +3 -1
- data/docs/GetSpeech.md +2 -2
- data/docs/GetSpeechAllOf.md +2 -2
- data/docs/Hangup.md +17 -0
- data/docs/HangupAllOf.md +17 -0
- data/docs/MakeCallRequest.md +7 -3
- data/docs/MessageResult.md +1 -1
- data/docs/MessageResultAllOf.md +1 -1
- data/docs/OutDial.md +3 -1
- data/docs/OutDialAllOf.md +3 -1
- data/docs/Play.md +3 -1
- data/docs/PlayAllOf.md +3 -1
- data/docs/RecordUtterance.md +3 -1
- data/docs/RecordUtteranceAllOf.md +3 -1
- data/docs/Redirect.md +1 -1
- data/docs/RedirectAllOf.md +1 -1
- data/docs/Reject.md +17 -0
- data/docs/RejectAllOf.md +17 -0
- data/docs/Say.md +2 -2
- data/docs/SayAllOf.md +2 -2
- data/docs/SendDigits.md +3 -1
- data/docs/SendDigitsAllOf.md +3 -1
- data/freeclimb-2.0.3.gem +0 -0
- data/freeclimb-2.1.0.gem +0 -0
- data/freeclimb-2.1.1.gem +0 -0
- data/lib/freeclimb.rb +4 -0
- data/lib/freeclimb/api_client.rb +1 -1
- data/lib/freeclimb/models/get_digits.rb +14 -4
- data/lib/freeclimb/models/get_digits_all_of.rb +14 -4
- data/lib/freeclimb/models/get_speech.rb +8 -8
- data/lib/freeclimb/models/get_speech_all_of.rb +8 -8
- data/lib/freeclimb/models/hangup.rb +220 -0
- data/lib/freeclimb/models/hangup_all_of.rb +207 -0
- data/lib/freeclimb/models/make_call_request.rb +26 -11
- data/lib/freeclimb/models/message_result.rb +3 -3
- data/lib/freeclimb/models/message_result_all_of.rb +3 -3
- data/lib/freeclimb/models/out_dial.rb +14 -4
- data/lib/freeclimb/models/out_dial_all_of.rb +14 -4
- data/lib/freeclimb/models/play.rb +14 -4
- data/lib/freeclimb/models/play_all_of.rb +14 -4
- data/lib/freeclimb/models/record_utterance.rb +14 -4
- data/lib/freeclimb/models/record_utterance_all_of.rb +14 -4
- data/lib/freeclimb/models/redirect.rb +7 -2
- data/lib/freeclimb/models/redirect_all_of.rb +6 -1
- data/lib/freeclimb/models/reject.rb +220 -0
- data/lib/freeclimb/models/reject_all_of.rb +207 -0
- data/lib/freeclimb/models/say.rb +8 -8
- data/lib/freeclimb/models/say_all_of.rb +8 -8
- data/lib/freeclimb/models/send_digits.rb +14 -4
- data/lib/freeclimb/models/send_digits_all_of.rb +14 -4
- data/lib/freeclimb/version.rb +1 -1
- data/spec/models/hangup_spec.rb +41 -0
- data/spec/models/reject_spec.rb +41 -0
- metadata +18 -2
@@ -0,0 +1,207 @@
|
|
1
|
+
=begin
|
2
|
+
#FreeClimb API
|
3
|
+
|
4
|
+
#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.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.3.0-SNAPSHOT
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'date'
|
14
|
+
|
15
|
+
module Freeclimb
|
16
|
+
class RejectAllOf
|
17
|
+
# Reason for the rejection. This can be any string value. In general, applications should use a set of enumerated values that are predefined to cover all exit points of the call flows for the given application.
|
18
|
+
attr_accessor :reason
|
19
|
+
|
20
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
21
|
+
def self.attribute_map
|
22
|
+
{
|
23
|
+
:'reason' => :'reason'
|
24
|
+
}
|
25
|
+
end
|
26
|
+
|
27
|
+
# Attribute type mapping.
|
28
|
+
def self.openapi_types
|
29
|
+
{
|
30
|
+
:'reason' => :'String'
|
31
|
+
}
|
32
|
+
end
|
33
|
+
|
34
|
+
# List of attributes with nullable: true
|
35
|
+
def self.openapi_nullable
|
36
|
+
Set.new([
|
37
|
+
])
|
38
|
+
end
|
39
|
+
|
40
|
+
# Initializes the object
|
41
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
42
|
+
def initialize(attributes = {})
|
43
|
+
if (!attributes.is_a?(Hash))
|
44
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `Freeclimb::RejectAllOf` initialize method"
|
45
|
+
end
|
46
|
+
|
47
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
48
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
49
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
50
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Freeclimb::RejectAllOf`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
51
|
+
end
|
52
|
+
h[k.to_sym] = v
|
53
|
+
}
|
54
|
+
|
55
|
+
if attributes.key?(:'reason')
|
56
|
+
self.reason = attributes[:'reason']
|
57
|
+
end
|
58
|
+
end
|
59
|
+
|
60
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
61
|
+
# @return Array for valid properties with the reasons
|
62
|
+
def list_invalid_properties
|
63
|
+
invalid_properties = Array.new
|
64
|
+
invalid_properties
|
65
|
+
end
|
66
|
+
|
67
|
+
# Check to see if the all the properties in the model are valid
|
68
|
+
# @return true if the model is valid
|
69
|
+
def valid?
|
70
|
+
true
|
71
|
+
end
|
72
|
+
|
73
|
+
# Checks equality by comparing each attribute.
|
74
|
+
# @param [Object] Object to be compared
|
75
|
+
def ==(o)
|
76
|
+
return true if self.equal?(o)
|
77
|
+
self.class == o.class &&
|
78
|
+
reason == o.reason
|
79
|
+
end
|
80
|
+
|
81
|
+
# @see the `==` method
|
82
|
+
# @param [Object] Object to be compared
|
83
|
+
def eql?(o)
|
84
|
+
self == o
|
85
|
+
end
|
86
|
+
|
87
|
+
# Calculates hash code according to all attributes.
|
88
|
+
# @return [Integer] Hash code
|
89
|
+
def hash
|
90
|
+
[reason].hash
|
91
|
+
end
|
92
|
+
|
93
|
+
# Builds the object from hash
|
94
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
95
|
+
# @return [Object] Returns the model itself
|
96
|
+
def self.build_from_hash(attributes)
|
97
|
+
new.build_from_hash(attributes)
|
98
|
+
end
|
99
|
+
|
100
|
+
# Builds the object from hash
|
101
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
102
|
+
# @return [Object] Returns the model itself
|
103
|
+
def build_from_hash(attributes)
|
104
|
+
return nil unless attributes.is_a?(Hash)
|
105
|
+
self.class.openapi_types.each_pair do |key, type|
|
106
|
+
if type =~ /\AArray<(.*)>/i
|
107
|
+
# check to ensure the input is an array given that the attribute
|
108
|
+
# is documented as an array but the input is not
|
109
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
110
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
111
|
+
end
|
112
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
113
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
114
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
115
|
+
end
|
116
|
+
|
117
|
+
self
|
118
|
+
end
|
119
|
+
|
120
|
+
# Deserializes the data based on type
|
121
|
+
# @param string type Data type
|
122
|
+
# @param string value Value to be deserialized
|
123
|
+
# @return [Object] Deserialized data
|
124
|
+
def _deserialize(type, value)
|
125
|
+
case type.to_sym
|
126
|
+
when :DateTime
|
127
|
+
DateTime.parse(value)
|
128
|
+
when :Date
|
129
|
+
Date.parse(value)
|
130
|
+
when :String
|
131
|
+
value.to_s
|
132
|
+
when :Integer
|
133
|
+
value.to_i
|
134
|
+
when :Float
|
135
|
+
value.to_f
|
136
|
+
when :Boolean
|
137
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
138
|
+
true
|
139
|
+
else
|
140
|
+
false
|
141
|
+
end
|
142
|
+
when :Object
|
143
|
+
# generic object (usually a Hash), return directly
|
144
|
+
value
|
145
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
146
|
+
inner_type = Regexp.last_match[:inner_type]
|
147
|
+
value.map { |v| _deserialize(inner_type, v) }
|
148
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
149
|
+
k_type = Regexp.last_match[:k_type]
|
150
|
+
v_type = Regexp.last_match[:v_type]
|
151
|
+
{}.tap do |hash|
|
152
|
+
value.each do |k, v|
|
153
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
154
|
+
end
|
155
|
+
end
|
156
|
+
else # model
|
157
|
+
Freeclimb.const_get(type).build_from_hash(value)
|
158
|
+
end
|
159
|
+
end
|
160
|
+
|
161
|
+
# Returns the string representation of the object
|
162
|
+
# @return [String] String presentation of the object
|
163
|
+
def to_s
|
164
|
+
to_hash.to_s
|
165
|
+
end
|
166
|
+
|
167
|
+
# to_body is an alias to to_hash (backward compatibility)
|
168
|
+
# @return [Hash] Returns the object in the form of hash
|
169
|
+
def to_body
|
170
|
+
to_hash
|
171
|
+
end
|
172
|
+
|
173
|
+
# Returns the object in the form of hash
|
174
|
+
# @return [Hash] Returns the object in the form of hash
|
175
|
+
def to_hash
|
176
|
+
hash = {}
|
177
|
+
self.class.attribute_map.each_pair do |attr, param|
|
178
|
+
value = self.send(attr)
|
179
|
+
if value.nil?
|
180
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
181
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
182
|
+
end
|
183
|
+
|
184
|
+
hash[param] = _to_hash(value)
|
185
|
+
end
|
186
|
+
hash
|
187
|
+
end
|
188
|
+
|
189
|
+
# Outputs non-array value in the form of hash
|
190
|
+
# For object, use to_hash. Otherwise, just return the value
|
191
|
+
# @param [Object] value Any valid value
|
192
|
+
# @return [Hash] Returns the value in the form of hash
|
193
|
+
def _to_hash(value)
|
194
|
+
if value.is_a?(Array)
|
195
|
+
value.compact.map { |v| _to_hash(v) }
|
196
|
+
elsif value.is_a?(Hash)
|
197
|
+
{}.tap do |hash|
|
198
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
199
|
+
end
|
200
|
+
elsif value.respond_to? :to_hash
|
201
|
+
value.to_hash
|
202
|
+
else
|
203
|
+
value
|
204
|
+
end
|
205
|
+
end
|
206
|
+
end
|
207
|
+
end
|
data/lib/freeclimb/models/say.rb
CHANGED
@@ -27,8 +27,8 @@ module Freeclimb
|
|
27
27
|
# D of the Conference the speech should be rendered to. If this is not specified, the speech is by default rendered to the Caller associated with the call leg that corresponds to the current PerCL execution context. The call leg associated with this command must be in the specified Conference or the command will return an error.
|
28
28
|
attr_accessor :conference_id
|
29
29
|
|
30
|
-
# Parameter `
|
31
|
-
attr_accessor :
|
30
|
+
# Parameter `privacyMode` will not log the `text` as required by PCI compliance.
|
31
|
+
attr_accessor :privacy_mode
|
32
32
|
|
33
33
|
# Attribute mapping from ruby-style variable name to JSON key.
|
34
34
|
def self.attribute_map
|
@@ -37,7 +37,7 @@ module Freeclimb
|
|
37
37
|
:'language' => :'language',
|
38
38
|
:'loop' => :'loop',
|
39
39
|
:'conference_id' => :'conferenceId',
|
40
|
-
:'
|
40
|
+
:'privacy_mode' => :'privacyMode'
|
41
41
|
}
|
42
42
|
end
|
43
43
|
|
@@ -48,7 +48,7 @@ module Freeclimb
|
|
48
48
|
:'language' => :'String',
|
49
49
|
:'loop' => :'Integer',
|
50
50
|
:'conference_id' => :'String',
|
51
|
-
:'
|
51
|
+
:'privacy_mode' => :'Boolean'
|
52
52
|
}
|
53
53
|
end
|
54
54
|
|
@@ -100,8 +100,8 @@ module Freeclimb
|
|
100
100
|
self.conference_id = attributes[:'conference_id']
|
101
101
|
end
|
102
102
|
|
103
|
-
if attributes.key?(:'
|
104
|
-
self.
|
103
|
+
if attributes.key?(:'privacy_mode')
|
104
|
+
self.privacy_mode = attributes[:'privacy_mode']
|
105
105
|
end
|
106
106
|
end
|
107
107
|
|
@@ -132,7 +132,7 @@ module Freeclimb
|
|
132
132
|
language == o.language &&
|
133
133
|
loop == o.loop &&
|
134
134
|
conference_id == o.conference_id &&
|
135
|
-
|
135
|
+
privacy_mode == o.privacy_mode && super(o)
|
136
136
|
end
|
137
137
|
|
138
138
|
# @see the `==` method
|
@@ -144,7 +144,7 @@ module Freeclimb
|
|
144
144
|
# Calculates hash code according to all attributes.
|
145
145
|
# @return [Integer] Hash code
|
146
146
|
def hash
|
147
|
-
[text, language, loop, conference_id,
|
147
|
+
[text, language, loop, conference_id, privacy_mode].hash
|
148
148
|
end
|
149
149
|
|
150
150
|
# Builds the object from hash
|
@@ -26,8 +26,8 @@ module Freeclimb
|
|
26
26
|
# D of the Conference the speech should be rendered to. If this is not specified, the speech is by default rendered to the Caller associated with the call leg that corresponds to the current PerCL execution context. The call leg associated with this command must be in the specified Conference or the command will return an error.
|
27
27
|
attr_accessor :conference_id
|
28
28
|
|
29
|
-
# Parameter `
|
30
|
-
attr_accessor :
|
29
|
+
# Parameter `privacyMode` will not log the `text` as required by PCI compliance.
|
30
|
+
attr_accessor :privacy_mode
|
31
31
|
|
32
32
|
# Attribute mapping from ruby-style variable name to JSON key.
|
33
33
|
def self.attribute_map
|
@@ -36,7 +36,7 @@ module Freeclimb
|
|
36
36
|
:'language' => :'language',
|
37
37
|
:'loop' => :'loop',
|
38
38
|
:'conference_id' => :'conferenceId',
|
39
|
-
:'
|
39
|
+
:'privacy_mode' => :'privacyMode'
|
40
40
|
}
|
41
41
|
end
|
42
42
|
|
@@ -47,7 +47,7 @@ module Freeclimb
|
|
47
47
|
:'language' => :'String',
|
48
48
|
:'loop' => :'Integer',
|
49
49
|
:'conference_id' => :'String',
|
50
|
-
:'
|
50
|
+
:'privacy_mode' => :'Boolean'
|
51
51
|
}
|
52
52
|
end
|
53
53
|
|
@@ -88,8 +88,8 @@ module Freeclimb
|
|
88
88
|
self.conference_id = attributes[:'conference_id']
|
89
89
|
end
|
90
90
|
|
91
|
-
if attributes.key?(:'
|
92
|
-
self.
|
91
|
+
if attributes.key?(:'privacy_mode')
|
92
|
+
self.privacy_mode = attributes[:'privacy_mode']
|
93
93
|
end
|
94
94
|
end
|
95
95
|
|
@@ -120,7 +120,7 @@ module Freeclimb
|
|
120
120
|
language == o.language &&
|
121
121
|
loop == o.loop &&
|
122
122
|
conference_id == o.conference_id &&
|
123
|
-
|
123
|
+
privacy_mode == o.privacy_mode
|
124
124
|
end
|
125
125
|
|
126
126
|
# @see the `==` method
|
@@ -132,7 +132,7 @@ module Freeclimb
|
|
132
132
|
# Calculates hash code according to all attributes.
|
133
133
|
# @return [Integer] Hash code
|
134
134
|
def hash
|
135
|
-
[text, language, loop, conference_id,
|
135
|
+
[text, language, loop, conference_id, privacy_mode].hash
|
136
136
|
end
|
137
137
|
|
138
138
|
# Builds the object from hash
|
@@ -21,11 +21,15 @@ module Freeclimb
|
|
21
21
|
# Pause between digits in milliseconds. Valid values are 100-1000 milliseconds and will be adjusted by FreeClimb to satisfy the constraint.
|
22
22
|
attr_accessor :pause_ms
|
23
23
|
|
24
|
+
# Parameter `privacyMode` will not log the `text` as required by PCI compliance.
|
25
|
+
attr_accessor :privacy_mode
|
26
|
+
|
24
27
|
# Attribute mapping from ruby-style variable name to JSON key.
|
25
28
|
def self.attribute_map
|
26
29
|
{
|
27
30
|
:'digits' => :'digits',
|
28
|
-
:'pause_ms' => :'pauseMs'
|
31
|
+
:'pause_ms' => :'pauseMs',
|
32
|
+
:'privacy_mode' => :'privacyMode'
|
29
33
|
}
|
30
34
|
end
|
31
35
|
|
@@ -33,7 +37,8 @@ module Freeclimb
|
|
33
37
|
def self.openapi_types
|
34
38
|
{
|
35
39
|
:'digits' => :'String',
|
36
|
-
:'pause_ms' => :'Integer'
|
40
|
+
:'pause_ms' => :'Integer',
|
41
|
+
:'privacy_mode' => :'Boolean'
|
37
42
|
}
|
38
43
|
end
|
39
44
|
|
@@ -76,6 +81,10 @@ module Freeclimb
|
|
76
81
|
if attributes.key?(:'pause_ms')
|
77
82
|
self.pause_ms = attributes[:'pause_ms']
|
78
83
|
end
|
84
|
+
|
85
|
+
if attributes.key?(:'privacy_mode')
|
86
|
+
self.privacy_mode = attributes[:'privacy_mode']
|
87
|
+
end
|
79
88
|
end
|
80
89
|
|
81
90
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -102,7 +111,8 @@ module Freeclimb
|
|
102
111
|
return true if self.equal?(o)
|
103
112
|
self.class == o.class &&
|
104
113
|
digits == o.digits &&
|
105
|
-
pause_ms == o.pause_ms &&
|
114
|
+
pause_ms == o.pause_ms &&
|
115
|
+
privacy_mode == o.privacy_mode && super(o)
|
106
116
|
end
|
107
117
|
|
108
118
|
# @see the `==` method
|
@@ -114,7 +124,7 @@ module Freeclimb
|
|
114
124
|
# Calculates hash code according to all attributes.
|
115
125
|
# @return [Integer] Hash code
|
116
126
|
def hash
|
117
|
-
[digits, pause_ms].hash
|
127
|
+
[digits, pause_ms, privacy_mode].hash
|
118
128
|
end
|
119
129
|
|
120
130
|
# Builds the object from hash
|
@@ -20,11 +20,15 @@ module Freeclimb
|
|
20
20
|
# Pause between digits in milliseconds. Valid values are 100-1000 milliseconds and will be adjusted by FreeClimb to satisfy the constraint.
|
21
21
|
attr_accessor :pause_ms
|
22
22
|
|
23
|
+
# Parameter `privacyMode` will not log the `text` as required by PCI compliance.
|
24
|
+
attr_accessor :privacy_mode
|
25
|
+
|
23
26
|
# Attribute mapping from ruby-style variable name to JSON key.
|
24
27
|
def self.attribute_map
|
25
28
|
{
|
26
29
|
:'digits' => :'digits',
|
27
|
-
:'pause_ms' => :'pauseMs'
|
30
|
+
:'pause_ms' => :'pauseMs',
|
31
|
+
:'privacy_mode' => :'privacyMode'
|
28
32
|
}
|
29
33
|
end
|
30
34
|
|
@@ -32,7 +36,8 @@ module Freeclimb
|
|
32
36
|
def self.openapi_types
|
33
37
|
{
|
34
38
|
:'digits' => :'String',
|
35
|
-
:'pause_ms' => :'Integer'
|
39
|
+
:'pause_ms' => :'Integer',
|
40
|
+
:'privacy_mode' => :'Boolean'
|
36
41
|
}
|
37
42
|
end
|
38
43
|
|
@@ -64,6 +69,10 @@ module Freeclimb
|
|
64
69
|
if attributes.key?(:'pause_ms')
|
65
70
|
self.pause_ms = attributes[:'pause_ms']
|
66
71
|
end
|
72
|
+
|
73
|
+
if attributes.key?(:'privacy_mode')
|
74
|
+
self.privacy_mode = attributes[:'privacy_mode']
|
75
|
+
end
|
67
76
|
end
|
68
77
|
|
69
78
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -90,7 +99,8 @@ module Freeclimb
|
|
90
99
|
return true if self.equal?(o)
|
91
100
|
self.class == o.class &&
|
92
101
|
digits == o.digits &&
|
93
|
-
pause_ms == o.pause_ms
|
102
|
+
pause_ms == o.pause_ms &&
|
103
|
+
privacy_mode == o.privacy_mode
|
94
104
|
end
|
95
105
|
|
96
106
|
# @see the `==` method
|
@@ -102,7 +112,7 @@ module Freeclimb
|
|
102
112
|
# Calculates hash code according to all attributes.
|
103
113
|
# @return [Integer] Hash code
|
104
114
|
def hash
|
105
|
-
[digits, pause_ms].hash
|
115
|
+
[digits, pause_ms, privacy_mode].hash
|
106
116
|
end
|
107
117
|
|
108
118
|
# Builds the object from hash
|
data/lib/freeclimb/version.rb
CHANGED
@@ -0,0 +1,41 @@
|
|
1
|
+
=begin
|
2
|
+
#FreeClimb API
|
3
|
+
|
4
|
+
#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.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.3.0-SNAPSHOT
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for Freeclimb::Hangup
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'Hangup' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = Freeclimb::Hangup.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of Hangup' do
|
31
|
+
it 'should create an instance of Hangup' do
|
32
|
+
expect(@instance).to be_instance_of(Freeclimb::Hangup)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "reason"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
end
|