smplkit 3.0.13 → 3.0.14
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/lib/smplkit/_generated/app/lib/smplkit_app_client/api/api_keys_api.rb +9 -0
- data/lib/smplkit/_generated/app/lib/smplkit_app_client/api/billing_api.rb +20 -2
- data/lib/smplkit/_generated/app/lib/smplkit_app_client/api/context_types_api.rb +9 -0
- data/lib/smplkit/_generated/app/lib/smplkit_app_client/api/context_values_api.rb +97 -0
- data/lib/smplkit/_generated/app/lib/smplkit_app_client/api/contexts_api.rb +16 -4
- data/lib/smplkit/_generated/app/lib/smplkit_app_client/api/environments_api.rb +9 -0
- data/lib/smplkit/_generated/app/lib/smplkit_app_client/api/invitations_api.rb +9 -0
- data/lib/smplkit/_generated/app/lib/smplkit_app_client/api/metrics_api.rb +27 -0
- data/lib/smplkit/_generated/app/lib/smplkit_app_client/api/plans_api.rb +9 -0
- data/lib/smplkit/_generated/app/lib/smplkit_app_client/api/products_api.rb +9 -0
- data/lib/smplkit/_generated/app/lib/smplkit_app_client/api/services_api.rb +9 -0
- data/lib/smplkit/_generated/app/lib/smplkit_app_client/api/users_api.rb +8 -17
- data/lib/smplkit/_generated/app/lib/smplkit_app_client/models/api_key_list_response.rb +30 -4
- data/lib/smplkit/_generated/app/lib/smplkit_app_client/models/context.rb +12 -1
- data/lib/smplkit/_generated/app/lib/smplkit_app_client/models/context_list_response.rb +30 -4
- data/lib/smplkit/_generated/app/lib/smplkit_app_client/models/context_resource.rb +1 -1
- data/lib/smplkit/_generated/app/lib/smplkit_app_client/models/context_type_list_response.rb +30 -4
- data/lib/smplkit/_generated/app/lib/smplkit_app_client/models/context_value.rb +166 -0
- data/lib/smplkit/_generated/app/lib/smplkit_app_client/models/context_value_list_response.rb +193 -0
- data/lib/smplkit/_generated/app/lib/smplkit_app_client/models/context_value_resource.rb +225 -0
- data/lib/smplkit/_generated/app/lib/smplkit_app_client/models/environment_list_response.rb +30 -4
- data/lib/smplkit/_generated/app/lib/smplkit_app_client/models/invitation_list_response.rb +30 -4
- data/lib/smplkit/_generated/app/lib/smplkit_app_client/models/invoice_list_response.rb +30 -4
- data/lib/smplkit/_generated/app/lib/smplkit_app_client/models/{user_list_meta.rb → list_meta.rb} +20 -19
- data/lib/smplkit/_generated/app/lib/smplkit_app_client/models/metric_list_response.rb +30 -4
- data/lib/smplkit/_generated/app/lib/smplkit_app_client/models/metric_names_response.rb +30 -4
- data/lib/smplkit/_generated/app/lib/smplkit_app_client/models/metric_rollup_list_response.rb +30 -4
- data/lib/smplkit/_generated/app/lib/smplkit_app_client/models/{page_meta.rb → pagination_meta.rb} +43 -75
- data/lib/smplkit/_generated/app/lib/smplkit_app_client/models/payment_method_list_response.rb +30 -4
- data/lib/smplkit/_generated/app/lib/smplkit_app_client/models/plan_list_response.rb +30 -4
- data/lib/smplkit/_generated/app/lib/smplkit_app_client/models/product_list_response.rb +30 -4
- data/lib/smplkit/_generated/app/lib/smplkit_app_client/models/service_list_response.rb +30 -4
- data/lib/smplkit/_generated/app/lib/smplkit_app_client/models/user_list_response.rb +18 -1
- data/lib/smplkit/_generated/app/lib/smplkit_app_client.rb +6 -2
- data/lib/smplkit/_generated/app/spec/api/api_keys_api_spec.rb +3 -0
- data/lib/smplkit/_generated/app/spec/api/billing_api_spec.rb +7 -1
- data/lib/smplkit/_generated/app/spec/api/context_types_api_spec.rb +3 -0
- data/lib/smplkit/_generated/app/spec/api/context_values_api_spec.rb +52 -0
- data/lib/smplkit/_generated/app/spec/api/contexts_api_spec.rb +6 -2
- data/lib/smplkit/_generated/app/spec/api/environments_api_spec.rb +3 -0
- data/lib/smplkit/_generated/app/spec/api/invitations_api_spec.rb +3 -0
- data/lib/smplkit/_generated/app/spec/api/metrics_api_spec.rb +9 -0
- data/lib/smplkit/_generated/app/spec/api/plans_api_spec.rb +3 -0
- data/lib/smplkit/_generated/app/spec/api/products_api_spec.rb +3 -0
- data/lib/smplkit/_generated/app/spec/api/services_api_spec.rb +3 -0
- data/lib/smplkit/_generated/app/spec/api/users_api_spec.rb +3 -2
- data/lib/smplkit/_generated/app/spec/models/api_key_list_response_spec.rb +6 -0
- data/lib/smplkit/_generated/app/spec/models/context_list_response_spec.rb +6 -0
- data/lib/smplkit/_generated/app/spec/models/context_spec.rb +6 -0
- data/lib/smplkit/_generated/app/spec/models/context_type_list_response_spec.rb +6 -0
- data/lib/smplkit/_generated/app/spec/models/context_value_list_response_spec.rb +42 -0
- data/lib/smplkit/_generated/app/spec/models/context_value_resource_spec.rb +52 -0
- data/lib/smplkit/_generated/app/spec/models/{user_list_meta_spec.rb → context_value_spec.rb} +7 -7
- data/lib/smplkit/_generated/app/spec/models/environment_list_response_spec.rb +6 -0
- data/lib/smplkit/_generated/app/spec/models/invitation_list_response_spec.rb +6 -0
- data/lib/smplkit/_generated/app/spec/models/invoice_list_response_spec.rb +6 -0
- data/lib/smplkit/_generated/app/spec/models/list_meta_spec.rb +36 -0
- data/lib/smplkit/_generated/app/spec/models/metric_list_response_spec.rb +6 -0
- data/lib/smplkit/_generated/app/spec/models/metric_names_response_spec.rb +6 -0
- data/lib/smplkit/_generated/app/spec/models/metric_rollup_list_response_spec.rb +6 -0
- data/lib/smplkit/_generated/app/spec/models/{page_meta_spec.rb → pagination_meta_spec.rb} +9 -9
- data/lib/smplkit/_generated/app/spec/models/payment_method_list_response_spec.rb +6 -0
- data/lib/smplkit/_generated/app/spec/models/plan_list_response_spec.rb +6 -0
- data/lib/smplkit/_generated/app/spec/models/product_list_response_spec.rb +6 -0
- data/lib/smplkit/_generated/app/spec/models/service_list_response_spec.rb +6 -0
- metadata +13 -5
|
@@ -18,10 +18,13 @@ module SmplkitGeneratedClient::App
|
|
|
18
18
|
class PlanListResponse < ApiModelBase
|
|
19
19
|
attr_accessor :data
|
|
20
20
|
|
|
21
|
+
attr_accessor :meta
|
|
22
|
+
|
|
21
23
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
22
24
|
def self.attribute_map
|
|
23
25
|
{
|
|
24
|
-
:'data' => :'data'
|
|
26
|
+
:'data' => :'data',
|
|
27
|
+
:'meta' => :'meta'
|
|
25
28
|
}
|
|
26
29
|
end
|
|
27
30
|
|
|
@@ -38,7 +41,8 @@ module SmplkitGeneratedClient::App
|
|
|
38
41
|
# Attribute type mapping.
|
|
39
42
|
def self.openapi_types
|
|
40
43
|
{
|
|
41
|
-
:'data' => :'Array<PlanResource>'
|
|
44
|
+
:'data' => :'Array<PlanResource>',
|
|
45
|
+
:'meta' => :'ListMeta'
|
|
42
46
|
}
|
|
43
47
|
end
|
|
44
48
|
|
|
@@ -71,6 +75,12 @@ module SmplkitGeneratedClient::App
|
|
|
71
75
|
else
|
|
72
76
|
self.data = nil
|
|
73
77
|
end
|
|
78
|
+
|
|
79
|
+
if attributes.key?(:'meta')
|
|
80
|
+
self.meta = attributes[:'meta']
|
|
81
|
+
else
|
|
82
|
+
self.meta = nil
|
|
83
|
+
end
|
|
74
84
|
end
|
|
75
85
|
|
|
76
86
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -82,6 +92,10 @@ module SmplkitGeneratedClient::App
|
|
|
82
92
|
invalid_properties.push('invalid value for "data", data cannot be nil.')
|
|
83
93
|
end
|
|
84
94
|
|
|
95
|
+
if @meta.nil?
|
|
96
|
+
invalid_properties.push('invalid value for "meta", meta cannot be nil.')
|
|
97
|
+
end
|
|
98
|
+
|
|
85
99
|
invalid_properties
|
|
86
100
|
end
|
|
87
101
|
|
|
@@ -90,6 +104,7 @@ module SmplkitGeneratedClient::App
|
|
|
90
104
|
def valid?
|
|
91
105
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
92
106
|
return false if @data.nil?
|
|
107
|
+
return false if @meta.nil?
|
|
93
108
|
true
|
|
94
109
|
end
|
|
95
110
|
|
|
@@ -103,12 +118,23 @@ module SmplkitGeneratedClient::App
|
|
|
103
118
|
@data = data
|
|
104
119
|
end
|
|
105
120
|
|
|
121
|
+
# Custom attribute writer method with validation
|
|
122
|
+
# @param [Object] meta Value to be assigned
|
|
123
|
+
def meta=(meta)
|
|
124
|
+
if meta.nil?
|
|
125
|
+
fail ArgumentError, 'meta cannot be nil'
|
|
126
|
+
end
|
|
127
|
+
|
|
128
|
+
@meta = meta
|
|
129
|
+
end
|
|
130
|
+
|
|
106
131
|
# Checks equality by comparing each attribute.
|
|
107
132
|
# @param [Object] Object to be compared
|
|
108
133
|
def ==(o)
|
|
109
134
|
return true if self.equal?(o)
|
|
110
135
|
self.class == o.class &&
|
|
111
|
-
data == o.data
|
|
136
|
+
data == o.data &&
|
|
137
|
+
meta == o.meta
|
|
112
138
|
end
|
|
113
139
|
|
|
114
140
|
# @see the `==` method
|
|
@@ -120,7 +146,7 @@ module SmplkitGeneratedClient::App
|
|
|
120
146
|
# Calculates hash code according to all attributes.
|
|
121
147
|
# @return [Integer] Hash code
|
|
122
148
|
def hash
|
|
123
|
-
[data].hash
|
|
149
|
+
[data, meta].hash
|
|
124
150
|
end
|
|
125
151
|
|
|
126
152
|
# Builds the object from hash
|
|
@@ -18,10 +18,13 @@ module SmplkitGeneratedClient::App
|
|
|
18
18
|
class ProductListResponse < ApiModelBase
|
|
19
19
|
attr_accessor :data
|
|
20
20
|
|
|
21
|
+
attr_accessor :meta
|
|
22
|
+
|
|
21
23
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
22
24
|
def self.attribute_map
|
|
23
25
|
{
|
|
24
|
-
:'data' => :'data'
|
|
26
|
+
:'data' => :'data',
|
|
27
|
+
:'meta' => :'meta'
|
|
25
28
|
}
|
|
26
29
|
end
|
|
27
30
|
|
|
@@ -38,7 +41,8 @@ module SmplkitGeneratedClient::App
|
|
|
38
41
|
# Attribute type mapping.
|
|
39
42
|
def self.openapi_types
|
|
40
43
|
{
|
|
41
|
-
:'data' => :'Array<ProductResource>'
|
|
44
|
+
:'data' => :'Array<ProductResource>',
|
|
45
|
+
:'meta' => :'ListMeta'
|
|
42
46
|
}
|
|
43
47
|
end
|
|
44
48
|
|
|
@@ -71,6 +75,12 @@ module SmplkitGeneratedClient::App
|
|
|
71
75
|
else
|
|
72
76
|
self.data = nil
|
|
73
77
|
end
|
|
78
|
+
|
|
79
|
+
if attributes.key?(:'meta')
|
|
80
|
+
self.meta = attributes[:'meta']
|
|
81
|
+
else
|
|
82
|
+
self.meta = nil
|
|
83
|
+
end
|
|
74
84
|
end
|
|
75
85
|
|
|
76
86
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -82,6 +92,10 @@ module SmplkitGeneratedClient::App
|
|
|
82
92
|
invalid_properties.push('invalid value for "data", data cannot be nil.')
|
|
83
93
|
end
|
|
84
94
|
|
|
95
|
+
if @meta.nil?
|
|
96
|
+
invalid_properties.push('invalid value for "meta", meta cannot be nil.')
|
|
97
|
+
end
|
|
98
|
+
|
|
85
99
|
invalid_properties
|
|
86
100
|
end
|
|
87
101
|
|
|
@@ -90,6 +104,7 @@ module SmplkitGeneratedClient::App
|
|
|
90
104
|
def valid?
|
|
91
105
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
92
106
|
return false if @data.nil?
|
|
107
|
+
return false if @meta.nil?
|
|
93
108
|
true
|
|
94
109
|
end
|
|
95
110
|
|
|
@@ -103,12 +118,23 @@ module SmplkitGeneratedClient::App
|
|
|
103
118
|
@data = data
|
|
104
119
|
end
|
|
105
120
|
|
|
121
|
+
# Custom attribute writer method with validation
|
|
122
|
+
# @param [Object] meta Value to be assigned
|
|
123
|
+
def meta=(meta)
|
|
124
|
+
if meta.nil?
|
|
125
|
+
fail ArgumentError, 'meta cannot be nil'
|
|
126
|
+
end
|
|
127
|
+
|
|
128
|
+
@meta = meta
|
|
129
|
+
end
|
|
130
|
+
|
|
106
131
|
# Checks equality by comparing each attribute.
|
|
107
132
|
# @param [Object] Object to be compared
|
|
108
133
|
def ==(o)
|
|
109
134
|
return true if self.equal?(o)
|
|
110
135
|
self.class == o.class &&
|
|
111
|
-
data == o.data
|
|
136
|
+
data == o.data &&
|
|
137
|
+
meta == o.meta
|
|
112
138
|
end
|
|
113
139
|
|
|
114
140
|
# @see the `==` method
|
|
@@ -120,7 +146,7 @@ module SmplkitGeneratedClient::App
|
|
|
120
146
|
# Calculates hash code according to all attributes.
|
|
121
147
|
# @return [Integer] Hash code
|
|
122
148
|
def hash
|
|
123
|
-
[data].hash
|
|
149
|
+
[data, meta].hash
|
|
124
150
|
end
|
|
125
151
|
|
|
126
152
|
# Builds the object from hash
|
|
@@ -18,10 +18,13 @@ module SmplkitGeneratedClient::App
|
|
|
18
18
|
class ServiceListResponse < ApiModelBase
|
|
19
19
|
attr_accessor :data
|
|
20
20
|
|
|
21
|
+
attr_accessor :meta
|
|
22
|
+
|
|
21
23
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
22
24
|
def self.attribute_map
|
|
23
25
|
{
|
|
24
|
-
:'data' => :'data'
|
|
26
|
+
:'data' => :'data',
|
|
27
|
+
:'meta' => :'meta'
|
|
25
28
|
}
|
|
26
29
|
end
|
|
27
30
|
|
|
@@ -38,7 +41,8 @@ module SmplkitGeneratedClient::App
|
|
|
38
41
|
# Attribute type mapping.
|
|
39
42
|
def self.openapi_types
|
|
40
43
|
{
|
|
41
|
-
:'data' => :'Array<ServiceResource>'
|
|
44
|
+
:'data' => :'Array<ServiceResource>',
|
|
45
|
+
:'meta' => :'ListMeta'
|
|
42
46
|
}
|
|
43
47
|
end
|
|
44
48
|
|
|
@@ -71,6 +75,12 @@ module SmplkitGeneratedClient::App
|
|
|
71
75
|
else
|
|
72
76
|
self.data = nil
|
|
73
77
|
end
|
|
78
|
+
|
|
79
|
+
if attributes.key?(:'meta')
|
|
80
|
+
self.meta = attributes[:'meta']
|
|
81
|
+
else
|
|
82
|
+
self.meta = nil
|
|
83
|
+
end
|
|
74
84
|
end
|
|
75
85
|
|
|
76
86
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -82,6 +92,10 @@ module SmplkitGeneratedClient::App
|
|
|
82
92
|
invalid_properties.push('invalid value for "data", data cannot be nil.')
|
|
83
93
|
end
|
|
84
94
|
|
|
95
|
+
if @meta.nil?
|
|
96
|
+
invalid_properties.push('invalid value for "meta", meta cannot be nil.')
|
|
97
|
+
end
|
|
98
|
+
|
|
85
99
|
invalid_properties
|
|
86
100
|
end
|
|
87
101
|
|
|
@@ -90,6 +104,7 @@ module SmplkitGeneratedClient::App
|
|
|
90
104
|
def valid?
|
|
91
105
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
92
106
|
return false if @data.nil?
|
|
107
|
+
return false if @meta.nil?
|
|
93
108
|
true
|
|
94
109
|
end
|
|
95
110
|
|
|
@@ -103,12 +118,23 @@ module SmplkitGeneratedClient::App
|
|
|
103
118
|
@data = data
|
|
104
119
|
end
|
|
105
120
|
|
|
121
|
+
# Custom attribute writer method with validation
|
|
122
|
+
# @param [Object] meta Value to be assigned
|
|
123
|
+
def meta=(meta)
|
|
124
|
+
if meta.nil?
|
|
125
|
+
fail ArgumentError, 'meta cannot be nil'
|
|
126
|
+
end
|
|
127
|
+
|
|
128
|
+
@meta = meta
|
|
129
|
+
end
|
|
130
|
+
|
|
106
131
|
# Checks equality by comparing each attribute.
|
|
107
132
|
# @param [Object] Object to be compared
|
|
108
133
|
def ==(o)
|
|
109
134
|
return true if self.equal?(o)
|
|
110
135
|
self.class == o.class &&
|
|
111
|
-
data == o.data
|
|
136
|
+
data == o.data &&
|
|
137
|
+
meta == o.meta
|
|
112
138
|
end
|
|
113
139
|
|
|
114
140
|
# @see the `==` method
|
|
@@ -120,7 +146,7 @@ module SmplkitGeneratedClient::App
|
|
|
120
146
|
# Calculates hash code according to all attributes.
|
|
121
147
|
# @return [Integer] Hash code
|
|
122
148
|
def hash
|
|
123
|
-
[data].hash
|
|
149
|
+
[data, meta].hash
|
|
124
150
|
end
|
|
125
151
|
|
|
126
152
|
# Builds the object from hash
|
|
@@ -42,7 +42,7 @@ module SmplkitGeneratedClient::App
|
|
|
42
42
|
def self.openapi_types
|
|
43
43
|
{
|
|
44
44
|
:'data' => :'Array<UserResource>',
|
|
45
|
-
:'meta' => :'
|
|
45
|
+
:'meta' => :'ListMeta'
|
|
46
46
|
}
|
|
47
47
|
end
|
|
48
48
|
|
|
@@ -78,6 +78,8 @@ module SmplkitGeneratedClient::App
|
|
|
78
78
|
|
|
79
79
|
if attributes.key?(:'meta')
|
|
80
80
|
self.meta = attributes[:'meta']
|
|
81
|
+
else
|
|
82
|
+
self.meta = nil
|
|
81
83
|
end
|
|
82
84
|
end
|
|
83
85
|
|
|
@@ -90,6 +92,10 @@ module SmplkitGeneratedClient::App
|
|
|
90
92
|
invalid_properties.push('invalid value for "data", data cannot be nil.')
|
|
91
93
|
end
|
|
92
94
|
|
|
95
|
+
if @meta.nil?
|
|
96
|
+
invalid_properties.push('invalid value for "meta", meta cannot be nil.')
|
|
97
|
+
end
|
|
98
|
+
|
|
93
99
|
invalid_properties
|
|
94
100
|
end
|
|
95
101
|
|
|
@@ -98,6 +104,7 @@ module SmplkitGeneratedClient::App
|
|
|
98
104
|
def valid?
|
|
99
105
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
100
106
|
return false if @data.nil?
|
|
107
|
+
return false if @meta.nil?
|
|
101
108
|
true
|
|
102
109
|
end
|
|
103
110
|
|
|
@@ -111,6 +118,16 @@ module SmplkitGeneratedClient::App
|
|
|
111
118
|
@data = data
|
|
112
119
|
end
|
|
113
120
|
|
|
121
|
+
# Custom attribute writer method with validation
|
|
122
|
+
# @param [Object] meta Value to be assigned
|
|
123
|
+
def meta=(meta)
|
|
124
|
+
if meta.nil?
|
|
125
|
+
fail ArgumentError, 'meta cannot be nil'
|
|
126
|
+
end
|
|
127
|
+
|
|
128
|
+
@meta = meta
|
|
129
|
+
end
|
|
130
|
+
|
|
114
131
|
# Checks equality by comparing each attribute.
|
|
115
132
|
# @param [Object] Object to be compared
|
|
116
133
|
def ==(o)
|
|
@@ -49,6 +49,9 @@ require 'smplkit_app_client/models/context_type_list_response'
|
|
|
49
49
|
require 'smplkit_app_client/models/context_type_request'
|
|
50
50
|
require 'smplkit_app_client/models/context_type_resource'
|
|
51
51
|
require 'smplkit_app_client/models/context_type_response'
|
|
52
|
+
require 'smplkit_app_client/models/context_value'
|
|
53
|
+
require 'smplkit_app_client/models/context_value_list_response'
|
|
54
|
+
require 'smplkit_app_client/models/context_value_resource'
|
|
52
55
|
require 'smplkit_app_client/models/email'
|
|
53
56
|
require 'smplkit_app_client/models/email_resource'
|
|
54
57
|
require 'smplkit_app_client/models/email_response'
|
|
@@ -74,6 +77,7 @@ require 'smplkit_app_client/models/invoice_list_response'
|
|
|
74
77
|
require 'smplkit_app_client/models/invoice_resource'
|
|
75
78
|
require 'smplkit_app_client/models/invoice_single_response'
|
|
76
79
|
require 'smplkit_app_client/models/limit_definition'
|
|
80
|
+
require 'smplkit_app_client/models/list_meta'
|
|
77
81
|
require 'smplkit_app_client/models/login_request'
|
|
78
82
|
require 'smplkit_app_client/models/metric_attributes'
|
|
79
83
|
require 'smplkit_app_client/models/metric_bulk_request'
|
|
@@ -86,7 +90,7 @@ require 'smplkit_app_client/models/metric_rollup_list_response'
|
|
|
86
90
|
require 'smplkit_app_client/models/metric_rollup_resource'
|
|
87
91
|
require 'smplkit_app_client/models/next_tier_response'
|
|
88
92
|
require 'smplkit_app_client/models/oidc_provider'
|
|
89
|
-
require 'smplkit_app_client/models/
|
|
93
|
+
require 'smplkit_app_client/models/pagination_meta'
|
|
90
94
|
require 'smplkit_app_client/models/payment_method'
|
|
91
95
|
require 'smplkit_app_client/models/payment_method_list_response'
|
|
92
96
|
require 'smplkit_app_client/models/payment_method_request'
|
|
@@ -121,7 +125,6 @@ require 'smplkit_app_client/models/subscription_resource'
|
|
|
121
125
|
require 'smplkit_app_client/models/subscription_response'
|
|
122
126
|
require 'smplkit_app_client/models/subscription_response_attributes'
|
|
123
127
|
require 'smplkit_app_client/models/user'
|
|
124
|
-
require 'smplkit_app_client/models/user_list_meta'
|
|
125
128
|
require 'smplkit_app_client/models/user_list_response'
|
|
126
129
|
require 'smplkit_app_client/models/user_request'
|
|
127
130
|
require 'smplkit_app_client/models/user_resource'
|
|
@@ -135,6 +138,7 @@ require 'smplkit_app_client/api/account_api'
|
|
|
135
138
|
require 'smplkit_app_client/api/auth_api'
|
|
136
139
|
require 'smplkit_app_client/api/billing_api'
|
|
137
140
|
require 'smplkit_app_client/api/context_types_api'
|
|
141
|
+
require 'smplkit_app_client/api/context_values_api'
|
|
138
142
|
require 'smplkit_app_client/api/contexts_api'
|
|
139
143
|
require 'smplkit_app_client/api/email_registrations_api'
|
|
140
144
|
require 'smplkit_app_client/api/emails_api'
|
|
@@ -74,6 +74,9 @@ describe 'APIKeysApi' do
|
|
|
74
74
|
# @param [Hash] opts the optional parameters
|
|
75
75
|
# @option opts [String] :filter_status
|
|
76
76
|
# @option opts [String] :sort Field to sort by. Prefix with `-` for descending order. Default: `name`. Allowed values: `created_at`, `-created_at`, `expires_at`, `-expires_at`, `last_used_at`, `-last_used_at`, `name`, `-name`, `status`, `-status`.
|
|
77
|
+
# @option opts [Integer] :page_number 1-based page number to return. Optional; defaults to `1` when omitted. Must be `>= 1` — requests with a smaller value are rejected with a 400 error.
|
|
78
|
+
# @option opts [Integer] :page_size Number of items per page. Optional; defaults to `1000` when omitted. Must be between `1` and `1000` inclusive — requests outside that range are rejected with a 400 error.
|
|
79
|
+
# @option opts [Boolean] :meta_total When `true`, the response's `meta.pagination` block includes `total` (the total number of matching items across all pages) and `total_pages`. Computing these requires an extra `COUNT` query, so omit (or pass `false`) when the totals are not needed. Defaults to `false`.
|
|
77
80
|
# @return [ApiKeyListResponse]
|
|
78
81
|
describe 'list_api_keys test' do
|
|
79
82
|
it 'should work' do
|
|
@@ -93,9 +93,12 @@ describe 'BillingApi' do
|
|
|
93
93
|
|
|
94
94
|
# unit tests for list_invoices
|
|
95
95
|
# List Invoices
|
|
96
|
-
# Return invoice history for the account from Stripe. Default sort is `-created_at` (newest first).
|
|
96
|
+
# Return invoice history for the account from Stripe. Default sort is `-created_at` (newest first). The endpoint fetches the most recent 100 invoices from Stripe (its per-request cap) and pages over the result in memory; clients should not depend on more than 100 invoices being visible at once.
|
|
97
97
|
# @param [Hash] opts the optional parameters
|
|
98
98
|
# @option opts [String] :sort Field to sort by. Prefix with `-` for descending order. Default: `-created_at`. Allowed values: `created_at`, `-created_at`, `status`, `-status`, `total`, `-total`.
|
|
99
|
+
# @option opts [Integer] :page_number 1-based page number to return. Optional; defaults to `1` when omitted. Must be `>= 1` — requests with a smaller value are rejected with a 400 error.
|
|
100
|
+
# @option opts [Integer] :page_size Number of items per page. Optional; defaults to `1000` when omitted. Must be between `1` and `1000` inclusive — requests outside that range are rejected with a 400 error.
|
|
101
|
+
# @option opts [Boolean] :meta_total When `true`, the response's `meta.pagination` block includes `total` (the total number of matching items across all pages) and `total_pages`. Computing these requires an extra `COUNT` query, so omit (or pass `false`) when the totals are not needed. Defaults to `false`.
|
|
99
102
|
# @return [InvoiceListResponse]
|
|
100
103
|
describe 'list_invoices test' do
|
|
101
104
|
it 'should work' do
|
|
@@ -108,6 +111,9 @@ describe 'BillingApi' do
|
|
|
108
111
|
# List all payment methods for the account. Default is returned first, then newest first.
|
|
109
112
|
# @param [Hash] opts the optional parameters
|
|
110
113
|
# @option opts [String] :sort Field to sort by. Prefix with `-` for descending order. Default: `-created_at`. Allowed values: `created_at`, `-created_at`, `exp_year`, `-exp_year`, `is_default`, `-is_default`, `updated_at`, `-updated_at`.
|
|
114
|
+
# @option opts [Integer] :page_number 1-based page number to return. Optional; defaults to `1` when omitted. Must be `>= 1` — requests with a smaller value are rejected with a 400 error.
|
|
115
|
+
# @option opts [Integer] :page_size Number of items per page. Optional; defaults to `1000` when omitted. Must be between `1` and `1000` inclusive — requests outside that range are rejected with a 400 error.
|
|
116
|
+
# @option opts [Boolean] :meta_total When `true`, the response's `meta.pagination` block includes `total` (the total number of matching items across all pages) and `total_pages`. Computing these requires an extra `COUNT` query, so omit (or pass `false`) when the totals are not needed. Defaults to `false`.
|
|
111
117
|
# @return [PaymentMethodListResponse]
|
|
112
118
|
describe 'list_payment_methods test' do
|
|
113
119
|
it 'should work' do
|
|
@@ -73,6 +73,9 @@ describe 'ContextTypesApi' do
|
|
|
73
73
|
# List all context types for the authenticated account.
|
|
74
74
|
# @param [Hash] opts the optional parameters
|
|
75
75
|
# @option opts [String] :sort Field to sort by. Prefix with `-` for descending order. Default: `key`. Allowed values: `created_at`, `-created_at`, `key`, `-key`, `name`, `-name`, `updated_at`, `-updated_at`.
|
|
76
|
+
# @option opts [Integer] :page_number 1-based page number to return. Optional; defaults to `1` when omitted. Must be `>= 1` — requests with a smaller value are rejected with a 400 error.
|
|
77
|
+
# @option opts [Integer] :page_size Number of items per page. Optional; defaults to `1000` when omitted. Must be between `1` and `1000` inclusive — requests outside that range are rejected with a 400 error.
|
|
78
|
+
# @option opts [Boolean] :meta_total When `true`, the response's `meta.pagination` block includes `total` (the total number of matching items across all pages) and `total_pages`. Computing these requires an extra `COUNT` query, so omit (or pass `false`) when the totals are not needed. Defaults to `false`.
|
|
76
79
|
# @return [ContextTypeListResponse]
|
|
77
80
|
describe 'list_context_types test' do
|
|
78
81
|
it 'should work' do
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#smplkit API
|
|
3
|
+
|
|
4
|
+
#API for the smplkit platform.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 0.1.0
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.22.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
|
|
16
|
+
# Unit tests for SmplkitGeneratedClient::App::ContextValuesApi
|
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'ContextValuesApi' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@api_instance = SmplkitGeneratedClient::App::ContextValuesApi.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of ContextValuesApi' do
|
|
30
|
+
it 'should create an instance of ContextValuesApi' do
|
|
31
|
+
expect(@api_instance).to be_instance_of(SmplkitGeneratedClient::App::ContextValuesApi)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
# unit tests for list_context_values
|
|
36
|
+
# List Context Values
|
|
37
|
+
# Return distinct values observed for a single attribute across context instances of one context type. The intended use case is a typeahead picker in a rule-building UI: the customer chooses a context type and an attribute name, then this endpoint streams back the distinct values matching what they've typed so far. `filter[context_type]` and `filter[attribute]` are required. `filter[attribute]` accepts any attribute name — including the two first-class columns `key` and `name` — and is treated uniformly from the customer's perspective; the server adjusts the underlying query accordingly. `filter[search]` does a case-insensitive starts-with match. The returned set excludes empty strings and NULL values.
|
|
38
|
+
# @param [Hash] opts the optional parameters
|
|
39
|
+
# @option opts [String] :filter_context_type Context type key whose instances should be searched (e.g. `user`).
|
|
40
|
+
# @option opts [String] :filter_attribute Attribute name whose distinct values should be returned (e.g. `first_name`). Accepts `key` and `name` as well as any attribute key stored on the context instance.
|
|
41
|
+
# @option opts [String] :filter_search Optional case-insensitive starts-with match against the projected attribute value. When omitted, all distinct values are returned in the page.
|
|
42
|
+
# @option opts [Integer] :page_number 1-based page number to return. Optional; defaults to `1` when omitted. Must be `>= 1` — requests with a smaller value are rejected with a 400 error.
|
|
43
|
+
# @option opts [Integer] :page_size Number of items per page. Optional; defaults to `1000` when omitted. Must be between `1` and `1000` inclusive — requests outside that range are rejected with a 400 error.
|
|
44
|
+
# @option opts [Boolean] :meta_total When `true`, the response's `meta.pagination` block includes `total` (the total number of matching items across all pages) and `total_pages`. Computing these requires an extra `COUNT` query, so omit (or pass `false`) when the totals are not needed. Defaults to `false`.
|
|
45
|
+
# @return [ContextValueListResponse]
|
|
46
|
+
describe 'list_context_values test' do
|
|
47
|
+
it 'should work' do
|
|
48
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
|
|
52
|
+
end
|
|
@@ -70,10 +70,14 @@ describe 'ContextsApi' do
|
|
|
70
70
|
|
|
71
71
|
# unit tests for list_contexts
|
|
72
72
|
# List Contexts
|
|
73
|
-
# List
|
|
73
|
+
# List context instances for the authenticated account. `filter[context_type]` narrows the result to one context type. `filter[search]` does a case-insensitive substring match against the context `key`, `name`, and every attribute value, returning any context where at least one of those fields contains the search term.
|
|
74
74
|
# @param [Hash] opts the optional parameters
|
|
75
|
-
# @option opts [String] :filter_context_type
|
|
75
|
+
# @option opts [String] :filter_context_type Limit results to context instances of this context type (e.g. `user`).
|
|
76
|
+
# @option opts [String] :filter_search Case-insensitive substring match against the `key`, `name`, and any attribute value. A context is returned if at least one of those fields contains the search term.
|
|
76
77
|
# @option opts [String] :sort Field to sort by. Prefix with `-` for descending order. Default: `key`. Allowed values: `created_at`, `-created_at`, `key`, `-key`, `name`, `-name`, `updated_at`, `-updated_at`.
|
|
78
|
+
# @option opts [Integer] :page_number 1-based page number to return. Optional; defaults to `1` when omitted. Must be `>= 1` — requests with a smaller value are rejected with a 400 error.
|
|
79
|
+
# @option opts [Integer] :page_size Number of items per page. Optional; defaults to `1000` when omitted. Must be between `1` and `1000` inclusive — requests outside that range are rejected with a 400 error.
|
|
80
|
+
# @option opts [Boolean] :meta_total When `true`, the response's `meta.pagination` block includes `total` (the total number of matching items across all pages) and `total_pages`. Computing these requires an extra `COUNT` query, so omit (or pass `false`) when the totals are not needed. Defaults to `false`.
|
|
77
81
|
# @return [ContextListResponse]
|
|
78
82
|
describe 'list_contexts test' do
|
|
79
83
|
it 'should work' do
|
|
@@ -86,6 +86,9 @@ describe 'EnvironmentsApi' do
|
|
|
86
86
|
# List all environments for the authenticated account.
|
|
87
87
|
# @param [Hash] opts the optional parameters
|
|
88
88
|
# @option opts [String] :sort Field to sort by. Prefix with `-` for descending order. Default: `name`. Allowed values: `created_at`, `-created_at`, `key`, `-key`, `name`, `-name`, `updated_at`, `-updated_at`.
|
|
89
|
+
# @option opts [Integer] :page_number 1-based page number to return. Optional; defaults to `1` when omitted. Must be `>= 1` — requests with a smaller value are rejected with a 400 error.
|
|
90
|
+
# @option opts [Integer] :page_size Number of items per page. Optional; defaults to `1000` when omitted. Must be between `1` and `1000` inclusive — requests outside that range are rejected with a 400 error.
|
|
91
|
+
# @option opts [Boolean] :meta_total When `true`, the response's `meta.pagination` block includes `total` (the total number of matching items across all pages) and `total_pages`. Computing these requires an extra `COUNT` query, so omit (or pass `false`) when the totals are not needed. Defaults to `false`.
|
|
89
92
|
# @return [EnvironmentListResponse]
|
|
90
93
|
describe 'list_environments test' do
|
|
91
94
|
it 'should work' do
|
|
@@ -63,6 +63,9 @@ describe 'InvitationsApi' do
|
|
|
63
63
|
# @option opts [String] :filter_status
|
|
64
64
|
# @option opts [String] :filter_token
|
|
65
65
|
# @option opts [String] :sort Field to sort by. Prefix with `-` for descending order. Default: `-created_at`. Allowed values: `created_at`, `-created_at`, `email`, `-email`, `status`, `-status`.
|
|
66
|
+
# @option opts [Integer] :page_number 1-based page number to return. Optional; defaults to `1` when omitted. Must be `>= 1` — requests with a smaller value are rejected with a 400 error.
|
|
67
|
+
# @option opts [Integer] :page_size Number of items per page. Optional; defaults to `1000` when omitted. Must be between `1` and `1000` inclusive — requests outside that range are rejected with a 400 error.
|
|
68
|
+
# @option opts [Boolean] :meta_total When `true`, the response's `meta.pagination` block includes `total` (the total number of matching items across all pages) and `total_pages`. Computing these requires an extra `COUNT` query, so omit (or pass `false`) when the totals are not needed. Defaults to `false`.
|
|
66
69
|
# @return [InvitationListResponse]
|
|
67
70
|
describe 'list_invitations test' do
|
|
68
71
|
it 'should work' do
|
|
@@ -49,6 +49,9 @@ describe 'MetricsApi' do
|
|
|
49
49
|
# Return distinct metric names recorded for the account, each with a representative unit. Plain-JSON response (not JSON:API) — this is metadata for discovery, not a metric resource. Default sort is `name` ascending.
|
|
50
50
|
# @param [Hash] opts the optional parameters
|
|
51
51
|
# @option opts [String] :sort Field to sort by. Prefix with `-` for descending order. Default: `name`. Allowed values: `name`, `-name`.
|
|
52
|
+
# @option opts [Integer] :page_number 1-based page number to return. Optional; defaults to `1` when omitted. Must be `>= 1` — requests with a smaller value are rejected with a 400 error.
|
|
53
|
+
# @option opts [Integer] :page_size Number of items per page. Optional; defaults to `1000` when omitted. Must be between `1` and `1000` inclusive — requests outside that range are rejected with a 400 error.
|
|
54
|
+
# @option opts [Boolean] :meta_total When `true`, the response's `meta.pagination` block includes `total` (the total number of matching items across all pages) and `total_pages`. Computing these requires an extra `COUNT` query, so omit (or pass `false`) when the totals are not needed. Defaults to `false`.
|
|
52
55
|
# @return [MetricNamesResponse]
|
|
53
56
|
describe 'list_metric_names test' do
|
|
54
57
|
it 'should work' do
|
|
@@ -64,6 +67,9 @@ describe 'MetricsApi' do
|
|
|
64
67
|
# @param [Hash] opts the optional parameters
|
|
65
68
|
# @option opts [String] :filter_recorded_at
|
|
66
69
|
# @option opts [String] :sort Field to sort by. Prefix with `-` for descending order. Default: `bucket`. Allowed values: `bucket`, `-bucket`.
|
|
70
|
+
# @option opts [Integer] :page_number 1-based page number to return. Optional; defaults to `1` when omitted. Must be `>= 1` — requests with a smaller value are rejected with a 400 error.
|
|
71
|
+
# @option opts [Integer] :page_size Number of items per page. Optional; defaults to `1000` when omitted. Must be between `1` and `1000` inclusive — requests outside that range are rejected with a 400 error.
|
|
72
|
+
# @option opts [Boolean] :meta_total When `true`, the response's `meta.pagination` block includes `total` (the total number of matching items across all pages) and `total_pages`. Computing these requires an extra `COUNT` query, so omit (or pass `false`) when the totals are not needed. Defaults to `false`.
|
|
67
73
|
# @return [MetricRollupListResponse]
|
|
68
74
|
describe 'list_metric_rollups test' do
|
|
69
75
|
it 'should work' do
|
|
@@ -78,6 +84,9 @@ describe 'MetricsApi' do
|
|
|
78
84
|
# @param [Hash] opts the optional parameters
|
|
79
85
|
# @option opts [String] :filter_recorded_at
|
|
80
86
|
# @option opts [String] :sort Field to sort by. Prefix with `-` for descending order. Default: `-recorded_at`. Allowed values: `recorded_at`, `-recorded_at`, `value`, `-value`.
|
|
87
|
+
# @option opts [Integer] :page_number 1-based page number to return. Optional; defaults to `1` when omitted. Must be `>= 1` — requests with a smaller value are rejected with a 400 error.
|
|
88
|
+
# @option opts [Integer] :page_size Number of items per page. Optional; defaults to `1000` when omitted. Must be between `1` and `1000` inclusive — requests outside that range are rejected with a 400 error.
|
|
89
|
+
# @option opts [Boolean] :meta_total When `true`, the response's `meta.pagination` block includes `total` (the total number of matching items across all pages) and `total_pages`. Computing these requires an extra `COUNT` query, so omit (or pass `false`) when the totals are not needed. Defaults to `false`.
|
|
81
90
|
# @return [MetricListResponse]
|
|
82
91
|
describe 'list_metrics test' do
|
|
83
92
|
it 'should work' do
|
|
@@ -37,6 +37,9 @@ describe 'PlansApi' do
|
|
|
37
37
|
# Return all plan tier definitions as JSON:API resources. Default sort is `sort_order` ascending — the natural ladder defined in `plans.yaml`. Pass `sort=display_name` for an alphabetical view.
|
|
38
38
|
# @param [Hash] opts the optional parameters
|
|
39
39
|
# @option opts [String] :sort Field to sort by. Prefix with `-` for descending order. Default: `sort_order`. Allowed values: `display_name`, `-display_name`, `id`, `-id`, `sort_order`, `-sort_order`.
|
|
40
|
+
# @option opts [Integer] :page_number 1-based page number to return. Optional; defaults to `1` when omitted. Must be `>= 1` — requests with a smaller value are rejected with a 400 error.
|
|
41
|
+
# @option opts [Integer] :page_size Number of items per page. Optional; defaults to `1000` when omitted. Must be between `1` and `1000` inclusive — requests outside that range are rejected with a 400 error.
|
|
42
|
+
# @option opts [Boolean] :meta_total When `true`, the response's `meta.pagination` block includes `total` (the total number of matching items across all pages) and `total_pages`. Computing these requires an extra `COUNT` query, so omit (or pass `false`) when the totals are not needed. Defaults to `false`.
|
|
40
43
|
# @return [PlanListResponse]
|
|
41
44
|
describe 'list_plans test' do
|
|
42
45
|
it 'should work' do
|
|
@@ -37,6 +37,9 @@ describe 'ProductsApi' do
|
|
|
37
37
|
# Return all flag-enabled products with their plans, limits, and marketing content. Default sort is `display_name` ascending.
|
|
38
38
|
# @param [Hash] opts the optional parameters
|
|
39
39
|
# @option opts [String] :sort Field to sort by. Prefix with `-` for descending order. Default: `display_name`. Allowed values: `display_name`, `-display_name`, `id`, `-id`.
|
|
40
|
+
# @option opts [Integer] :page_number 1-based page number to return. Optional; defaults to `1` when omitted. Must be `>= 1` — requests with a smaller value are rejected with a 400 error.
|
|
41
|
+
# @option opts [Integer] :page_size Number of items per page. Optional; defaults to `1000` when omitted. Must be between `1` and `1000` inclusive — requests outside that range are rejected with a 400 error.
|
|
42
|
+
# @option opts [Boolean] :meta_total When `true`, the response's `meta.pagination` block includes `total` (the total number of matching items across all pages) and `total_pages`. Computing these requires an extra `COUNT` query, so omit (or pass `false`) when the totals are not needed. Defaults to `false`.
|
|
40
43
|
# @return [ProductListResponse]
|
|
41
44
|
describe 'list_products test' do
|
|
42
45
|
it 'should work' do
|
|
@@ -73,6 +73,9 @@ describe 'ServicesApi' do
|
|
|
73
73
|
# List all services for the authenticated account.
|
|
74
74
|
# @param [Hash] opts the optional parameters
|
|
75
75
|
# @option opts [String] :sort Field to sort by. Prefix with `-` for descending order. Default: `name`. Allowed values: `created_at`, `-created_at`, `key`, `-key`, `name`, `-name`, `updated_at`, `-updated_at`.
|
|
76
|
+
# @option opts [Integer] :page_number 1-based page number to return. Optional; defaults to `1` when omitted. Must be `>= 1` — requests with a smaller value are rejected with a 400 error.
|
|
77
|
+
# @option opts [Integer] :page_size Number of items per page. Optional; defaults to `1000` when omitted. Must be between `1` and `1000` inclusive — requests outside that range are rejected with a 400 error.
|
|
78
|
+
# @option opts [Boolean] :meta_total When `true`, the response's `meta.pagination` block includes `total` (the total number of matching items across all pages) and `total_pages`. Computing these requires an extra `COUNT` query, so omit (or pass `false`) when the totals are not needed. Defaults to `false`.
|
|
76
79
|
# @return [ServiceListResponse]
|
|
77
80
|
describe 'list_services test' do
|
|
78
81
|
it 'should work' do
|
|
@@ -73,9 +73,10 @@ describe 'UsersApi' do
|
|
|
73
73
|
# @option opts [String] :filter_account
|
|
74
74
|
# @option opts [String] :filter_email
|
|
75
75
|
# @option opts [String] :filter_search Case-insensitive substring match against display_name and email. If the value is a valid UUID, also matches user id exactly.
|
|
76
|
-
# @option opts [Integer] :page_number 1-based page number
|
|
77
|
-
# @option opts [Integer] :page_size Items per page
|
|
78
76
|
# @option opts [String] :sort Field to sort by. Prefix with `-` for descending order. Default: `email`. Allowed values: `created_at`, `-created_at`, `display_name`, `-display_name`, `email`, `-email`.
|
|
77
|
+
# @option opts [Integer] :page_number 1-based page number to return. Optional; defaults to `1` when omitted. Must be `>= 1` — requests with a smaller value are rejected with a 400 error.
|
|
78
|
+
# @option opts [Integer] :page_size Number of items per page. Optional; defaults to `1000` when omitted. Must be between `1` and `1000` inclusive — requests outside that range are rejected with a 400 error.
|
|
79
|
+
# @option opts [Boolean] :meta_total When `true`, the response's `meta.pagination` block includes `total` (the total number of matching items across all pages) and `total_pages`. Computing these requires an extra `COUNT` query, so omit (or pass `false`) when the totals are not needed. Defaults to `false`.
|
|
79
80
|
# @return [UserListResponse]
|
|
80
81
|
describe 'list_users test' do
|
|
81
82
|
it 'should work' do
|
|
@@ -33,4 +33,10 @@ describe SmplkitGeneratedClient::App::ApiKeyListResponse do
|
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
35
|
|
|
36
|
+
describe 'test attribute "meta"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
36
42
|
end
|
|
@@ -33,4 +33,10 @@ describe SmplkitGeneratedClient::App::ContextListResponse do
|
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
35
|
|
|
36
|
+
describe 'test attribute "meta"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
36
42
|
end
|
|
@@ -27,6 +27,12 @@ describe SmplkitGeneratedClient::App::Context do
|
|
|
27
27
|
end
|
|
28
28
|
end
|
|
29
29
|
|
|
30
|
+
describe 'test attribute "key"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
30
36
|
describe 'test attribute "name"' do
|
|
31
37
|
it 'should work' do
|
|
32
38
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -33,4 +33,10 @@ describe SmplkitGeneratedClient::App::ContextTypeListResponse do
|
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
35
|
|
|
36
|
+
describe 'test attribute "meta"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
36
42
|
end
|