freeclimb 1.0.3 → 2.0.0
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 +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +4 -5
- data/docs/AccountRequest.md +1 -3
- data/docs/ApplicationRequest.md +1 -3
- data/docs/BuyIncomingNumberRequest.md +1 -3
- data/docs/CreateConferenceRequest.md +1 -3
- data/docs/DefaultApi.md +6 -14
- data/docs/FilterLogsRequest.md +1 -3
- data/docs/IncomingNumberRequest.md +1 -3
- data/docs/MakeCallRequest.md +0 -2
- data/docs/MessageRequest.md +0 -2
- data/docs/MessageRequestAllOf.md +0 -2
- data/docs/QueueRequest.md +1 -3
- data/docs/UpdateCallRequest.md +1 -3
- data/docs/UpdateConferenceParticipantRequest.md +1 -3
- data/docs/UpdateConferenceRequest.md +1 -3
- data/lib/freeclimb.rb +0 -1
- data/lib/freeclimb/api/default_api.rb +2 -10
- data/lib/freeclimb/api_client.rb +1 -1
- data/lib/freeclimb/models/account_request.rb +4 -14
- data/lib/freeclimb/models/application_request.rb +4 -14
- data/lib/freeclimb/models/buy_incoming_number_request.rb +4 -14
- data/lib/freeclimb/models/create_conference_request.rb +4 -14
- data/lib/freeclimb/models/filter_logs_request.rb +4 -14
- data/lib/freeclimb/models/incoming_number_request.rb +4 -14
- data/lib/freeclimb/models/make_call_request.rb +1 -11
- data/lib/freeclimb/models/message_request.rb +1 -11
- data/lib/freeclimb/models/message_request_all_of.rb +1 -11
- data/lib/freeclimb/models/queue_request.rb +4 -14
- data/lib/freeclimb/models/update_call_request.rb +4 -14
- data/lib/freeclimb/models/update_conference_participant_request.rb +4 -14
- data/lib/freeclimb/models/update_conference_request.rb +4 -14
- data/lib/freeclimb/version.rb +1 -1
- data/spec/api/default_api_spec.rb +2 -10
- metadata +2 -6
- data/docs/DequeueMemberRequest.md +0 -17
- data/lib/freeclimb/models/dequeue_member_request.rb +0 -207
- data/spec/models/dequeue_member_request_spec.rb +0 -34
@@ -20,15 +20,11 @@ module Freeclimb
|
|
20
20
|
# Group to which this account belongs.
|
21
21
|
attr_accessor :label
|
22
22
|
|
23
|
-
# RequestId for this request starting with prefix *RQ* followed by 40 hexadecimal characters. FreeClimb logs generated while processing this request will include this requestId. If it is not provided, FreeClimb will generate a requestId and return it as a header in the response, e.g. X-Pulse-Request-Id: <requestId>
|
24
|
-
attr_accessor :request_id
|
25
|
-
|
26
23
|
# Attribute mapping from ruby-style variable name to JSON key.
|
27
24
|
def self.attribute_map
|
28
25
|
{
|
29
26
|
:'_alias' => :'alias',
|
30
|
-
:'label' => :'label'
|
31
|
-
:'request_id' => :'requestId'
|
27
|
+
:'label' => :'label'
|
32
28
|
}
|
33
29
|
end
|
34
30
|
|
@@ -36,8 +32,7 @@ module Freeclimb
|
|
36
32
|
def self.openapi_types
|
37
33
|
{
|
38
34
|
:'_alias' => :'String',
|
39
|
-
:'label' => :'String'
|
40
|
-
:'request_id' => :'String'
|
35
|
+
:'label' => :'String'
|
41
36
|
}
|
42
37
|
end
|
43
38
|
|
@@ -69,10 +64,6 @@ module Freeclimb
|
|
69
64
|
if attributes.key?(:'label')
|
70
65
|
self.label = attributes[:'label']
|
71
66
|
end
|
72
|
-
|
73
|
-
if attributes.key?(:'request_id')
|
74
|
-
self.request_id = attributes[:'request_id']
|
75
|
-
end
|
76
67
|
end
|
77
68
|
|
78
69
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -94,8 +85,7 @@ module Freeclimb
|
|
94
85
|
return true if self.equal?(o)
|
95
86
|
self.class == o.class &&
|
96
87
|
_alias == o._alias &&
|
97
|
-
label == o.label
|
98
|
-
request_id == o.request_id
|
88
|
+
label == o.label
|
99
89
|
end
|
100
90
|
|
101
91
|
# @see the `==` method
|
@@ -107,7 +97,7 @@ module Freeclimb
|
|
107
97
|
# Calculates hash code according to all attributes.
|
108
98
|
# @return [Integer] Hash code
|
109
99
|
def hash
|
110
|
-
[_alias, label
|
100
|
+
[_alias, label].hash
|
111
101
|
end
|
112
102
|
|
113
103
|
# Builds the object from hash
|
@@ -35,9 +35,6 @@ module Freeclimb
|
|
35
35
|
# The URL that FreeClimb will request if it times out waiting for a response from the smsUrl. Used for inbound SMS only. Note: Any PerCL returned will be ignored.
|
36
36
|
attr_accessor :sms_fallback_url
|
37
37
|
|
38
|
-
# The requestId for this request starting with prefix \"RQ\" followed by 40 hexadecimal characters. FreeClimb logs generated while processing this request will include this requestId. If it is not provided, FreeClimb will generate a requestId and return it as a header in the response, e.g. X-Pulse-Request-Id: <requestId>
|
39
|
-
attr_accessor :request_id
|
40
|
-
|
41
38
|
# Attribute mapping from ruby-style variable name to JSON key.
|
42
39
|
def self.attribute_map
|
43
40
|
{
|
@@ -47,8 +44,7 @@ module Freeclimb
|
|
47
44
|
:'call_connect_url' => :'callConnectUrl',
|
48
45
|
:'status_callback_url' => :'statusCallbackUrl',
|
49
46
|
:'sms_url' => :'smsUrl',
|
50
|
-
:'sms_fallback_url' => :'smsFallbackUrl'
|
51
|
-
:'request_id' => :'requestId'
|
47
|
+
:'sms_fallback_url' => :'smsFallbackUrl'
|
52
48
|
}
|
53
49
|
end
|
54
50
|
|
@@ -61,8 +57,7 @@ module Freeclimb
|
|
61
57
|
:'call_connect_url' => :'String',
|
62
58
|
:'status_callback_url' => :'String',
|
63
59
|
:'sms_url' => :'String',
|
64
|
-
:'sms_fallback_url' => :'String'
|
65
|
-
:'request_id' => :'String'
|
60
|
+
:'sms_fallback_url' => :'String'
|
66
61
|
}
|
67
62
|
end
|
68
63
|
|
@@ -114,10 +109,6 @@ module Freeclimb
|
|
114
109
|
if attributes.key?(:'sms_fallback_url')
|
115
110
|
self.sms_fallback_url = attributes[:'sms_fallback_url']
|
116
111
|
end
|
117
|
-
|
118
|
-
if attributes.key?(:'request_id')
|
119
|
-
self.request_id = attributes[:'request_id']
|
120
|
-
end
|
121
112
|
end
|
122
113
|
|
123
114
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -144,8 +135,7 @@ module Freeclimb
|
|
144
135
|
call_connect_url == o.call_connect_url &&
|
145
136
|
status_callback_url == o.status_callback_url &&
|
146
137
|
sms_url == o.sms_url &&
|
147
|
-
sms_fallback_url == o.sms_fallback_url
|
148
|
-
request_id == o.request_id
|
138
|
+
sms_fallback_url == o.sms_fallback_url
|
149
139
|
end
|
150
140
|
|
151
141
|
# @see the `==` method
|
@@ -157,7 +147,7 @@ module Freeclimb
|
|
157
147
|
# Calculates hash code according to all attributes.
|
158
148
|
# @return [Integer] Hash code
|
159
149
|
def hash
|
160
|
-
[_alias, voice_url, voice_fallback_url, call_connect_url, status_callback_url, sms_url, sms_fallback_url
|
150
|
+
[_alias, voice_url, voice_fallback_url, call_connect_url, status_callback_url, sms_url, sms_fallback_url].hash
|
161
151
|
end
|
162
152
|
|
163
153
|
# Builds the object from hash
|
@@ -23,16 +23,12 @@ module Freeclimb
|
|
23
23
|
# ID of the application that should handle phone calls to the number.
|
24
24
|
attr_accessor :application_id
|
25
25
|
|
26
|
-
# RequestId for this request starting with prefix `RQ` followed by 40 hexadecimal characters. FreeClimb logs generated while processing this request will include this requestId. If it is not provided, FreeClimb will generate a requestId and return it as a header in the response, (e.g., `X-Pulse-Request-Id: <requestId>`).
|
27
|
-
attr_accessor :request_id
|
28
|
-
|
29
26
|
# Attribute mapping from ruby-style variable name to JSON key.
|
30
27
|
def self.attribute_map
|
31
28
|
{
|
32
29
|
:'phone_number' => :'phoneNumber',
|
33
30
|
:'_alias' => :'alias',
|
34
|
-
:'application_id' => :'applicationId'
|
35
|
-
:'request_id' => :'requestId'
|
31
|
+
:'application_id' => :'applicationId'
|
36
32
|
}
|
37
33
|
end
|
38
34
|
|
@@ -41,8 +37,7 @@ module Freeclimb
|
|
41
37
|
{
|
42
38
|
:'phone_number' => :'String',
|
43
39
|
:'_alias' => :'String',
|
44
|
-
:'application_id' => :'String'
|
45
|
-
:'request_id' => :'String'
|
40
|
+
:'application_id' => :'String'
|
46
41
|
}
|
47
42
|
end
|
48
43
|
|
@@ -78,10 +73,6 @@ module Freeclimb
|
|
78
73
|
if attributes.key?(:'application_id')
|
79
74
|
self.application_id = attributes[:'application_id']
|
80
75
|
end
|
81
|
-
|
82
|
-
if attributes.key?(:'request_id')
|
83
|
-
self.request_id = attributes[:'request_id']
|
84
|
-
end
|
85
76
|
end
|
86
77
|
|
87
78
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -109,8 +100,7 @@ module Freeclimb
|
|
109
100
|
self.class == o.class &&
|
110
101
|
phone_number == o.phone_number &&
|
111
102
|
_alias == o._alias &&
|
112
|
-
application_id == o.application_id
|
113
|
-
request_id == o.request_id
|
103
|
+
application_id == o.application_id
|
114
104
|
end
|
115
105
|
|
116
106
|
# @see the `==` method
|
@@ -122,7 +112,7 @@ module Freeclimb
|
|
122
112
|
# Calculates hash code according to all attributes.
|
123
113
|
# @return [Integer] Hash code
|
124
114
|
def hash
|
125
|
-
[phone_number, _alias, application_id
|
115
|
+
[phone_number, _alias, application_id].hash
|
126
116
|
end
|
127
117
|
|
128
118
|
# Builds the object from hash
|
@@ -29,9 +29,6 @@ module Freeclimb
|
|
29
29
|
# This URL is invoked when the status of the Conference changes. For more information, see **statusCallbackUrl** (below).
|
30
30
|
attr_accessor :status_callback_url
|
31
31
|
|
32
|
-
# The requestId for this request starting with prefix \"RQ\" followed by 40 hexadecimal characters. FreeClimb logs generated while processing this request will include this requestId. If it is not provided, FreeClimb will generate a requestId and return it as a header in the response (e.g., X-Pulse-Request-Id: <requestId>).
|
33
|
-
attr_accessor :request_id
|
34
|
-
|
35
32
|
class EnumAttributeValidator
|
36
33
|
attr_reader :datatype
|
37
34
|
attr_reader :allowable_values
|
@@ -61,8 +58,7 @@ module Freeclimb
|
|
61
58
|
:'play_beep' => :'playBeep',
|
62
59
|
:'record' => :'record',
|
63
60
|
:'wait_url' => :'waitUrl',
|
64
|
-
:'status_callback_url' => :'statusCallbackUrl'
|
65
|
-
:'request_id' => :'requestId'
|
61
|
+
:'status_callback_url' => :'statusCallbackUrl'
|
66
62
|
}
|
67
63
|
end
|
68
64
|
|
@@ -73,8 +69,7 @@ module Freeclimb
|
|
73
69
|
:'play_beep' => :'String',
|
74
70
|
:'record' => :'Boolean',
|
75
71
|
:'wait_url' => :'String',
|
76
|
-
:'status_callback_url' => :'String'
|
77
|
-
:'request_id' => :'String'
|
72
|
+
:'status_callback_url' => :'String'
|
78
73
|
}
|
79
74
|
end
|
80
75
|
|
@@ -120,10 +115,6 @@ module Freeclimb
|
|
120
115
|
if attributes.key?(:'status_callback_url')
|
121
116
|
self.status_callback_url = attributes[:'status_callback_url']
|
122
117
|
end
|
123
|
-
|
124
|
-
if attributes.key?(:'request_id')
|
125
|
-
self.request_id = attributes[:'request_id']
|
126
|
-
end
|
127
118
|
end
|
128
119
|
|
129
120
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -160,8 +151,7 @@ module Freeclimb
|
|
160
151
|
play_beep == o.play_beep &&
|
161
152
|
record == o.record &&
|
162
153
|
wait_url == o.wait_url &&
|
163
|
-
status_callback_url == o.status_callback_url
|
164
|
-
request_id == o.request_id
|
154
|
+
status_callback_url == o.status_callback_url
|
165
155
|
end
|
166
156
|
|
167
157
|
# @see the `==` method
|
@@ -173,7 +163,7 @@ module Freeclimb
|
|
173
163
|
# Calculates hash code according to all attributes.
|
174
164
|
# @return [Integer] Hash code
|
175
165
|
def hash
|
176
|
-
[_alias, play_beep, record, wait_url, status_callback_url
|
166
|
+
[_alias, play_beep, record, wait_url, status_callback_url].hash
|
177
167
|
end
|
178
168
|
|
179
169
|
# Builds the object from hash
|
@@ -17,22 +17,17 @@ module Freeclimb
|
|
17
17
|
# The filter query for retrieving logs. See **Performance Query Language** below.
|
18
18
|
attr_accessor :pql
|
19
19
|
|
20
|
-
# RequestId for this request starting with prefix *RQ* followed by 40 hexadecimal characters. FreeClimb logs generated while processing this request will include this requestId. If it is not provided, FreeClimb will generate a requestId and return it as a header in the response (e.g., X-Pulse-Request-Id: <requestId>).
|
21
|
-
attr_accessor :request_id
|
22
|
-
|
23
20
|
# Attribute mapping from ruby-style variable name to JSON key.
|
24
21
|
def self.attribute_map
|
25
22
|
{
|
26
|
-
:'pql' => :'pql'
|
27
|
-
:'request_id' => :'requestId'
|
23
|
+
:'pql' => :'pql'
|
28
24
|
}
|
29
25
|
end
|
30
26
|
|
31
27
|
# Attribute type mapping.
|
32
28
|
def self.openapi_types
|
33
29
|
{
|
34
|
-
:'pql' => :'String'
|
35
|
-
:'request_id' => :'String'
|
30
|
+
:'pql' => :'String'
|
36
31
|
}
|
37
32
|
end
|
38
33
|
|
@@ -60,10 +55,6 @@ module Freeclimb
|
|
60
55
|
if attributes.key?(:'pql')
|
61
56
|
self.pql = attributes[:'pql']
|
62
57
|
end
|
63
|
-
|
64
|
-
if attributes.key?(:'request_id')
|
65
|
-
self.request_id = attributes[:'request_id']
|
66
|
-
end
|
67
58
|
end
|
68
59
|
|
69
60
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -89,8 +80,7 @@ module Freeclimb
|
|
89
80
|
def ==(o)
|
90
81
|
return true if self.equal?(o)
|
91
82
|
self.class == o.class &&
|
92
|
-
pql == o.pql
|
93
|
-
request_id == o.request_id
|
83
|
+
pql == o.pql
|
94
84
|
end
|
95
85
|
|
96
86
|
# @see the `==` method
|
@@ -102,7 +92,7 @@ module Freeclimb
|
|
102
92
|
# Calculates hash code according to all attributes.
|
103
93
|
# @return [Integer] Hash code
|
104
94
|
def hash
|
105
|
-
[pql
|
95
|
+
[pql].hash
|
106
96
|
end
|
107
97
|
|
108
98
|
# Builds the object from hash
|
@@ -20,15 +20,11 @@ module Freeclimb
|
|
20
20
|
# Description for this phone number.
|
21
21
|
attr_accessor :_alias
|
22
22
|
|
23
|
-
# RequestId for this request starting with prefix `RQ` followed by 40 hexadecimal characters. FreeClimb logs that are generated while processing this request will include this requestId. If it is not provided, FreeClimb will generate a requestId and return it as a header in the response (e.g., `X-Pulse-Request-Id: <requestId>`).
|
24
|
-
attr_accessor :request_id
|
25
|
-
|
26
23
|
# Attribute mapping from ruby-style variable name to JSON key.
|
27
24
|
def self.attribute_map
|
28
25
|
{
|
29
26
|
:'application_id' => :'applicationId',
|
30
|
-
:'_alias' => :'alias'
|
31
|
-
:'request_id' => :'requestID'
|
27
|
+
:'_alias' => :'alias'
|
32
28
|
}
|
33
29
|
end
|
34
30
|
|
@@ -36,8 +32,7 @@ module Freeclimb
|
|
36
32
|
def self.openapi_types
|
37
33
|
{
|
38
34
|
:'application_id' => :'String',
|
39
|
-
:'_alias' => :'String'
|
40
|
-
:'request_id' => :'String'
|
35
|
+
:'_alias' => :'String'
|
41
36
|
}
|
42
37
|
end
|
43
38
|
|
@@ -69,10 +64,6 @@ module Freeclimb
|
|
69
64
|
if attributes.key?(:'_alias')
|
70
65
|
self._alias = attributes[:'_alias']
|
71
66
|
end
|
72
|
-
|
73
|
-
if attributes.key?(:'request_id')
|
74
|
-
self.request_id = attributes[:'request_id']
|
75
|
-
end
|
76
67
|
end
|
77
68
|
|
78
69
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -94,8 +85,7 @@ module Freeclimb
|
|
94
85
|
return true if self.equal?(o)
|
95
86
|
self.class == o.class &&
|
96
87
|
application_id == o.application_id &&
|
97
|
-
_alias == o._alias
|
98
|
-
request_id == o.request_id
|
88
|
+
_alias == o._alias
|
99
89
|
end
|
100
90
|
|
101
91
|
# @see the `==` method
|
@@ -107,7 +97,7 @@ module Freeclimb
|
|
107
97
|
# Calculates hash code according to all attributes.
|
108
98
|
# @return [Integer] Hash code
|
109
99
|
def hash
|
110
|
-
[application_id, _alias
|
100
|
+
[application_id, _alias].hash
|
111
101
|
end
|
112
102
|
|
113
103
|
# Builds the object from hash
|
@@ -35,9 +35,6 @@ module Freeclimb
|
|
35
35
|
# Number of seconds that FreeClimb should allow the phone to ring before assuming there is no answer. Default is 30 seconds. Maximum allowed ring-time is determined by the target phone's provider. Note that most providers limit ring-time to 120 seconds.
|
36
36
|
attr_accessor :timeout
|
37
37
|
|
38
|
-
# The requestId for this request starting with prefix \"RQ\" followed by 40 hexadecimal characters. FreeClimb logs generated while processing this request will include this requestId. If it is not provided, FreeClimb will generate a requestId and return it as a header in the response (e.g. `X-Pulse-Request-Id: <requestId>`).
|
39
|
-
attr_accessor :request_id
|
40
|
-
|
41
38
|
# The ID of the parent Call in the case that this new Call is meant to be treated as a child of an existing Call. This attribute should be included when possible to reduce latency when adding child calls to Conferences containing the parent Call. A call can only be used as a parent once the call is in progress or as an inbound call that is still ringing. An outbound call is considered to be in progress once the outdialConnect or outdialApiConnect webhook is invoked. An inbound call is ringing when the inbound webhook is invoked.
|
42
39
|
attr_accessor :parent_call_id
|
43
40
|
|
@@ -51,7 +48,6 @@ module Freeclimb
|
|
51
48
|
:'if_machine' => :'ifMachine',
|
52
49
|
:'if_machine_url' => :'ifMachineUrl',
|
53
50
|
:'timeout' => :'timeout',
|
54
|
-
:'request_id' => :'requestId',
|
55
51
|
:'parent_call_id' => :'parentCallId'
|
56
52
|
}
|
57
53
|
end
|
@@ -66,7 +62,6 @@ module Freeclimb
|
|
66
62
|
:'if_machine' => :'String',
|
67
63
|
:'if_machine_url' => :'String',
|
68
64
|
:'timeout' => :'Integer',
|
69
|
-
:'request_id' => :'String',
|
70
65
|
:'parent_call_id' => :'String'
|
71
66
|
}
|
72
67
|
end
|
@@ -120,10 +115,6 @@ module Freeclimb
|
|
120
115
|
self.timeout = attributes[:'timeout']
|
121
116
|
end
|
122
117
|
|
123
|
-
if attributes.key?(:'request_id')
|
124
|
-
self.request_id = attributes[:'request_id']
|
125
|
-
end
|
126
|
-
|
127
118
|
if attributes.key?(:'parent_call_id')
|
128
119
|
self.parent_call_id = attributes[:'parent_call_id']
|
129
120
|
end
|
@@ -169,7 +160,6 @@ module Freeclimb
|
|
169
160
|
if_machine == o.if_machine &&
|
170
161
|
if_machine_url == o.if_machine_url &&
|
171
162
|
timeout == o.timeout &&
|
172
|
-
request_id == o.request_id &&
|
173
163
|
parent_call_id == o.parent_call_id
|
174
164
|
end
|
175
165
|
|
@@ -182,7 +172,7 @@ module Freeclimb
|
|
182
172
|
# Calculates hash code according to all attributes.
|
183
173
|
# @return [Integer] Hash code
|
184
174
|
def hash
|
185
|
-
[from, to, application_id, send_digits, if_machine, if_machine_url, timeout,
|
175
|
+
[from, to, application_id, send_digits, if_machine, if_machine_url, timeout, parent_call_id].hash
|
186
176
|
end
|
187
177
|
|
188
178
|
# Builds the object from hash
|
@@ -38,9 +38,6 @@ module Freeclimb
|
|
38
38
|
# When the Message changes status, this URL is invoked using HTTP POST with the messageStatus parameters. **Note:** This is a notification only; any PerCL returned is ignored.
|
39
39
|
attr_accessor :notification_url
|
40
40
|
|
41
|
-
# RequestId for this request, starting with prefix *RQ* followed by 40 hexadecimal characters. FreeClimb logs generated while processing this request include this requestId. If it is not provided, FreeClimb will generate a requestId and return it as a header in the response (e.g., X-Pulse-Request-Id: <requestId>).
|
42
|
-
attr_accessor :request_id
|
43
|
-
|
44
41
|
# String that uniquely identifies this account resource.
|
45
42
|
attr_accessor :account_id
|
46
43
|
|
@@ -55,7 +52,6 @@ module Freeclimb
|
|
55
52
|
:'to' => :'to',
|
56
53
|
:'text' => :'text',
|
57
54
|
:'notification_url' => :'notificationUrl',
|
58
|
-
:'request_id' => :'requestId',
|
59
55
|
:'account_id' => :'accountId'
|
60
56
|
}
|
61
57
|
end
|
@@ -71,7 +67,6 @@ module Freeclimb
|
|
71
67
|
:'to' => :'String',
|
72
68
|
:'text' => :'String',
|
73
69
|
:'notification_url' => :'String',
|
74
|
-
:'request_id' => :'String',
|
75
70
|
:'account_id' => :'String'
|
76
71
|
}
|
77
72
|
end
|
@@ -137,10 +132,6 @@ module Freeclimb
|
|
137
132
|
self.notification_url = attributes[:'notification_url']
|
138
133
|
end
|
139
134
|
|
140
|
-
if attributes.key?(:'request_id')
|
141
|
-
self.request_id = attributes[:'request_id']
|
142
|
-
end
|
143
|
-
|
144
135
|
if attributes.key?(:'account_id')
|
145
136
|
self.account_id = attributes[:'account_id']
|
146
137
|
end
|
@@ -187,7 +178,6 @@ module Freeclimb
|
|
187
178
|
to == o.to &&
|
188
179
|
text == o.text &&
|
189
180
|
notification_url == o.notification_url &&
|
190
|
-
request_id == o.request_id &&
|
191
181
|
account_id == o.account_id
|
192
182
|
end
|
193
183
|
|
@@ -200,7 +190,7 @@ module Freeclimb
|
|
200
190
|
# Calculates hash code according to all attributes.
|
201
191
|
# @return [Integer] Hash code
|
202
192
|
def hash
|
203
|
-
[uri, date_created, date_updated, revision, from, to, text, notification_url,
|
193
|
+
[uri, date_created, date_updated, revision, from, to, text, notification_url, account_id].hash
|
204
194
|
end
|
205
195
|
|
206
196
|
# Builds the object from hash
|
@@ -26,9 +26,6 @@ module Freeclimb
|
|
26
26
|
# When the Message changes status, this URL is invoked using HTTP POST with the messageStatus parameters. **Note:** This is a notification only; any PerCL returned is ignored.
|
27
27
|
attr_accessor :notification_url
|
28
28
|
|
29
|
-
# RequestId for this request, starting with prefix *RQ* followed by 40 hexadecimal characters. FreeClimb logs generated while processing this request include this requestId. If it is not provided, FreeClimb will generate a requestId and return it as a header in the response (e.g., X-Pulse-Request-Id: <requestId>).
|
30
|
-
attr_accessor :request_id
|
31
|
-
|
32
29
|
# String that uniquely identifies this account resource.
|
33
30
|
attr_accessor :account_id
|
34
31
|
|
@@ -39,7 +36,6 @@ module Freeclimb
|
|
39
36
|
:'to' => :'to',
|
40
37
|
:'text' => :'text',
|
41
38
|
:'notification_url' => :'notificationUrl',
|
42
|
-
:'request_id' => :'requestId',
|
43
39
|
:'account_id' => :'accountId'
|
44
40
|
}
|
45
41
|
end
|
@@ -51,7 +47,6 @@ module Freeclimb
|
|
51
47
|
:'to' => :'String',
|
52
48
|
:'text' => :'String',
|
53
49
|
:'notification_url' => :'String',
|
54
|
-
:'request_id' => :'String',
|
55
50
|
:'account_id' => :'String'
|
56
51
|
}
|
57
52
|
end
|
@@ -93,10 +88,6 @@ module Freeclimb
|
|
93
88
|
self.notification_url = attributes[:'notification_url']
|
94
89
|
end
|
95
90
|
|
96
|
-
if attributes.key?(:'request_id')
|
97
|
-
self.request_id = attributes[:'request_id']
|
98
|
-
end
|
99
|
-
|
100
91
|
if attributes.key?(:'account_id')
|
101
92
|
self.account_id = attributes[:'account_id']
|
102
93
|
end
|
@@ -139,7 +130,6 @@ module Freeclimb
|
|
139
130
|
to == o.to &&
|
140
131
|
text == o.text &&
|
141
132
|
notification_url == o.notification_url &&
|
142
|
-
request_id == o.request_id &&
|
143
133
|
account_id == o.account_id
|
144
134
|
end
|
145
135
|
|
@@ -152,7 +142,7 @@ module Freeclimb
|
|
152
142
|
# Calculates hash code according to all attributes.
|
153
143
|
# @return [Integer] Hash code
|
154
144
|
def hash
|
155
|
-
[from, to, text, notification_url,
|
145
|
+
[from, to, text, notification_url, account_id].hash
|
156
146
|
end
|
157
147
|
|
158
148
|
# Builds the object from hash
|