smplkit 3.0.68 → 3.0.69
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/audit/lib/smplkit_audit_client/api/categories_api.rb +95 -0
- data/lib/smplkit/_generated/audit/lib/smplkit_audit_client/api/events_api.rb +6 -0
- data/lib/smplkit/_generated/audit/lib/smplkit_audit_client/models/category_attributes.rb +192 -0
- data/lib/smplkit/_generated/audit/lib/smplkit_audit_client/models/category_list_response.rb +192 -0
- data/lib/smplkit/_generated/audit/lib/smplkit_audit_client/models/category_resource.rb +202 -0
- data/lib/smplkit/_generated/audit/lib/smplkit_audit_client/models/event.rb +45 -1
- data/lib/smplkit/_generated/audit/lib/smplkit_audit_client/models/event_search_request.rb +23 -1
- data/lib/smplkit/_generated/audit/lib/smplkit_audit_client/models/severity.rb +44 -0
- data/lib/smplkit/_generated/audit/lib/smplkit_audit_client.rb +5 -0
- data/lib/smplkit/_generated/audit/spec/api/categories_api_spec.rb +50 -0
- data/lib/smplkit/_generated/audit/spec/api/events_api_spec.rb +2 -0
- data/lib/smplkit/_generated/audit/spec/models/category_attributes_spec.rb +42 -0
- data/lib/smplkit/_generated/audit/spec/models/category_list_response_spec.rb +42 -0
- data/lib/smplkit/_generated/audit/spec/models/category_resource_spec.rb +48 -0
- data/lib/smplkit/_generated/audit/spec/models/event_search_request_spec.rb +12 -0
- data/lib/smplkit/_generated/audit/spec/models/event_spec.rb +12 -0
- data/lib/smplkit/_generated/audit/spec/models/severity_spec.rb +30 -0
- metadata +11 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 14aa7741e38f0d7b46b59b99607d98e047a6c0f882f700186cbe9528f08b760c
|
|
4
|
+
data.tar.gz: 77bb4129627ac94eb419edfa25142104ad478e6f1fd355f3ab98fe5945e6562c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 782b6881b4dc7d75cba1882936bb734365b30c34663cb31efffdde285b0b867edc8aad927bed3ae2df278e3d73ffb941e333c5fa3be2df7f30686d00e5e531f3
|
|
7
|
+
data.tar.gz: 87bcc6f63ed76a1145460abca99c2eb0dd84e12aa592fedf88e0d2c657a4ee90fda1204a8906d298ea664ad3f2980a41550e61d54484d8e4ef7df6e33c80679b
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#smplkit Audit API
|
|
3
|
+
|
|
4
|
+
#Append-only change-history substrate for smpl.* resources and customer-application events. ADR-047.
|
|
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 'cgi'
|
|
14
|
+
|
|
15
|
+
module SmplkitGeneratedClient::Audit
|
|
16
|
+
class CategoriesApi
|
|
17
|
+
attr_accessor :api_client
|
|
18
|
+
|
|
19
|
+
def initialize(api_client = ApiClient.default)
|
|
20
|
+
@api_client = api_client
|
|
21
|
+
end
|
|
22
|
+
# List Categories
|
|
23
|
+
# List the distinct `category` values recorded for this account. The resource `id` is the category value itself. Default sort is `key` ascending; pass `sort=-key` for descending. Useful for populating filter dropdowns in a UI.
|
|
24
|
+
# @param [Hash] opts the optional parameters
|
|
25
|
+
# @option opts [String] :sort Field to sort by. Prefix with `-` for descending order. Default: `key`. Allowed values: `key`, `-key`. (default to 'key')
|
|
26
|
+
# @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. (default to 1)
|
|
27
|
+
# @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. (default to 1000)
|
|
28
|
+
# @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`. (default to false)
|
|
29
|
+
# @return [CategoryListResponse]
|
|
30
|
+
def list_categories(opts = {})
|
|
31
|
+
data, _status_code, _headers = list_categories_with_http_info(opts)
|
|
32
|
+
data
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
# List Categories
|
|
36
|
+
# List the distinct `category` values recorded for this account. The resource `id` is the category value itself. Default sort is `key` ascending; pass `sort=-key` for descending. Useful for populating filter dropdowns in a UI.
|
|
37
|
+
# @param [Hash] opts the optional parameters
|
|
38
|
+
# @option opts [String] :sort Field to sort by. Prefix with `-` for descending order. Default: `key`. Allowed values: `key`, `-key`. (default to 'key')
|
|
39
|
+
# @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. (default to 1)
|
|
40
|
+
# @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. (default to 1000)
|
|
41
|
+
# @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`. (default to false)
|
|
42
|
+
# @return [Array<(CategoryListResponse, Integer, Hash)>] CategoryListResponse data, response status code and response headers
|
|
43
|
+
def list_categories_with_http_info(opts = {})
|
|
44
|
+
if @api_client.config.debugging
|
|
45
|
+
@api_client.config.logger.debug 'Calling API: CategoriesApi.list_categories ...'
|
|
46
|
+
end
|
|
47
|
+
allowable_values = ["key", "-key"]
|
|
48
|
+
if @api_client.config.client_side_validation && opts[:'sort'] && !allowable_values.include?(opts[:'sort'])
|
|
49
|
+
fail ArgumentError, "invalid value for \"sort\", must be one of #{allowable_values}"
|
|
50
|
+
end
|
|
51
|
+
# resource path
|
|
52
|
+
local_var_path = '/api/v1/categories'
|
|
53
|
+
|
|
54
|
+
# query parameters
|
|
55
|
+
query_params = opts[:query_params] || {}
|
|
56
|
+
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
|
57
|
+
query_params[:'page[number]'] = opts[:'page_number'] if !opts[:'page_number'].nil?
|
|
58
|
+
query_params[:'page[size]'] = opts[:'page_size'] if !opts[:'page_size'].nil?
|
|
59
|
+
query_params[:'meta[total]'] = opts[:'meta_total'] if !opts[:'meta_total'].nil?
|
|
60
|
+
|
|
61
|
+
# header parameters
|
|
62
|
+
header_params = opts[:header_params] || {}
|
|
63
|
+
# HTTP header 'Accept' (if needed)
|
|
64
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json']) unless header_params['Accept']
|
|
65
|
+
|
|
66
|
+
# form parameters
|
|
67
|
+
form_params = opts[:form_params] || {}
|
|
68
|
+
|
|
69
|
+
# http body (model)
|
|
70
|
+
post_body = opts[:debug_body]
|
|
71
|
+
|
|
72
|
+
# return_type
|
|
73
|
+
return_type = opts[:debug_return_type] || 'CategoryListResponse'
|
|
74
|
+
|
|
75
|
+
# auth_names
|
|
76
|
+
auth_names = opts[:debug_auth_names] || ['HTTPBearer']
|
|
77
|
+
|
|
78
|
+
new_options = opts.merge(
|
|
79
|
+
:operation => :"CategoriesApi.list_categories",
|
|
80
|
+
:header_params => header_params,
|
|
81
|
+
:query_params => query_params,
|
|
82
|
+
:form_params => form_params,
|
|
83
|
+
:body => post_body,
|
|
84
|
+
:auth_names => auth_names,
|
|
85
|
+
:return_type => return_type
|
|
86
|
+
)
|
|
87
|
+
|
|
88
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
89
|
+
if @api_client.config.debugging
|
|
90
|
+
@api_client.config.logger.debug "API called: CategoriesApi#list_categories\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
91
|
+
end
|
|
92
|
+
return data, status_code, headers
|
|
93
|
+
end
|
|
94
|
+
end
|
|
95
|
+
end
|
|
@@ -91,6 +91,8 @@ module SmplkitGeneratedClient::Audit
|
|
|
91
91
|
# @option opts [String] :filter_event_type
|
|
92
92
|
# @option opts [String] :filter_resource_type
|
|
93
93
|
# @option opts [String] :filter_resource_id
|
|
94
|
+
# @option opts [String] :filter_severity Exact match on the event's `severity` field. One of `TRACE`, `DEBUG`, `INFO`, `WARN`, `ERROR`, `FATAL`.
|
|
95
|
+
# @option opts [String] :filter_category Exact match on the event's `category` field.
|
|
94
96
|
# @option opts [String] :filter_search Case-insensitive substring match against `resource_id` or `description`. Use `filter[resource_id]` for an exact match on `resource_id`.
|
|
95
97
|
# @option opts [Boolean] :filter_do_not_forward When set, restrict to events whose `do_not_forward` flag matches the given boolean. Forwarder previews typically pass `false` to match live-pipeline semantics (events flagged `do_not_forward=true` are skipped by the forwarder pipeline).
|
|
96
98
|
# @option opts [Integer] :page_size
|
|
@@ -112,6 +114,8 @@ module SmplkitGeneratedClient::Audit
|
|
|
112
114
|
# @option opts [String] :filter_event_type
|
|
113
115
|
# @option opts [String] :filter_resource_type
|
|
114
116
|
# @option opts [String] :filter_resource_id
|
|
117
|
+
# @option opts [String] :filter_severity Exact match on the event's `severity` field. One of `TRACE`, `DEBUG`, `INFO`, `WARN`, `ERROR`, `FATAL`.
|
|
118
|
+
# @option opts [String] :filter_category Exact match on the event's `category` field.
|
|
115
119
|
# @option opts [String] :filter_search Case-insensitive substring match against `resource_id` or `description`. Use `filter[resource_id]` for an exact match on `resource_id`.
|
|
116
120
|
# @option opts [Boolean] :filter_do_not_forward When set, restrict to events whose `do_not_forward` flag matches the given boolean. Forwarder previews typically pass `false` to match live-pipeline semantics (events flagged `do_not_forward=true` are skipped by the forwarder pipeline).
|
|
117
121
|
# @option opts [Integer] :page_size
|
|
@@ -146,6 +150,8 @@ module SmplkitGeneratedClient::Audit
|
|
|
146
150
|
query_params[:'filter[event_type]'] = opts[:'filter_event_type'] if !opts[:'filter_event_type'].nil?
|
|
147
151
|
query_params[:'filter[resource_type]'] = opts[:'filter_resource_type'] if !opts[:'filter_resource_type'].nil?
|
|
148
152
|
query_params[:'filter[resource_id]'] = opts[:'filter_resource_id'] if !opts[:'filter_resource_id'].nil?
|
|
153
|
+
query_params[:'filter[severity]'] = opts[:'filter_severity'] if !opts[:'filter_severity'].nil?
|
|
154
|
+
query_params[:'filter[category]'] = opts[:'filter_category'] if !opts[:'filter_category'].nil?
|
|
149
155
|
query_params[:'filter[search]'] = opts[:'filter_search'] if !opts[:'filter_search'].nil?
|
|
150
156
|
query_params[:'filter[do_not_forward]'] = opts[:'filter_do_not_forward'] if !opts[:'filter_do_not_forward'].nil?
|
|
151
157
|
query_params[:'page[size]'] = opts[:'page_size'] if !opts[:'page_size'].nil?
|
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#smplkit Audit API
|
|
3
|
+
|
|
4
|
+
#Append-only change-history substrate for smpl.* resources and customer-application events. ADR-047.
|
|
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 'date'
|
|
14
|
+
require 'time'
|
|
15
|
+
|
|
16
|
+
module SmplkitGeneratedClient::Audit
|
|
17
|
+
class CategoryAttributes < ApiModelBase
|
|
18
|
+
# The category value. Same as the JSON:API ``id``.
|
|
19
|
+
attr_accessor :category
|
|
20
|
+
|
|
21
|
+
# First sighting of this category for the account.
|
|
22
|
+
attr_accessor :created_at
|
|
23
|
+
|
|
24
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
25
|
+
def self.attribute_map
|
|
26
|
+
{
|
|
27
|
+
:'category' => :'category',
|
|
28
|
+
:'created_at' => :'created_at'
|
|
29
|
+
}
|
|
30
|
+
end
|
|
31
|
+
|
|
32
|
+
# Returns attribute mapping this model knows about
|
|
33
|
+
def self.acceptable_attribute_map
|
|
34
|
+
attribute_map
|
|
35
|
+
end
|
|
36
|
+
|
|
37
|
+
# Returns all the JSON keys this model knows about
|
|
38
|
+
def self.acceptable_attributes
|
|
39
|
+
acceptable_attribute_map.values
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
# Attribute type mapping.
|
|
43
|
+
def self.openapi_types
|
|
44
|
+
{
|
|
45
|
+
:'category' => :'String',
|
|
46
|
+
:'created_at' => :'Time'
|
|
47
|
+
}
|
|
48
|
+
end
|
|
49
|
+
|
|
50
|
+
# List of attributes with nullable: true
|
|
51
|
+
def self.openapi_nullable
|
|
52
|
+
Set.new([
|
|
53
|
+
])
|
|
54
|
+
end
|
|
55
|
+
|
|
56
|
+
# Initializes the object
|
|
57
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
58
|
+
def initialize(attributes = {})
|
|
59
|
+
if (!attributes.is_a?(Hash))
|
|
60
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `SmplkitGeneratedClient::Audit::CategoryAttributes` initialize method"
|
|
61
|
+
end
|
|
62
|
+
|
|
63
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
|
64
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
65
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
66
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
67
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `SmplkitGeneratedClient::Audit::CategoryAttributes`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
68
|
+
end
|
|
69
|
+
h[k.to_sym] = v
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
if attributes.key?(:'category')
|
|
73
|
+
self.category = attributes[:'category']
|
|
74
|
+
else
|
|
75
|
+
self.category = nil
|
|
76
|
+
end
|
|
77
|
+
|
|
78
|
+
if attributes.key?(:'created_at')
|
|
79
|
+
self.created_at = attributes[:'created_at']
|
|
80
|
+
else
|
|
81
|
+
self.created_at = nil
|
|
82
|
+
end
|
|
83
|
+
end
|
|
84
|
+
|
|
85
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
86
|
+
# @return Array for valid properties with the reasons
|
|
87
|
+
def list_invalid_properties
|
|
88
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
89
|
+
invalid_properties = Array.new
|
|
90
|
+
if @category.nil?
|
|
91
|
+
invalid_properties.push('invalid value for "category", category cannot be nil.')
|
|
92
|
+
end
|
|
93
|
+
|
|
94
|
+
if @created_at.nil?
|
|
95
|
+
invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
|
|
96
|
+
end
|
|
97
|
+
|
|
98
|
+
invalid_properties
|
|
99
|
+
end
|
|
100
|
+
|
|
101
|
+
# Check to see if the all the properties in the model are valid
|
|
102
|
+
# @return true if the model is valid
|
|
103
|
+
def valid?
|
|
104
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
105
|
+
return false if @category.nil?
|
|
106
|
+
return false if @created_at.nil?
|
|
107
|
+
true
|
|
108
|
+
end
|
|
109
|
+
|
|
110
|
+
# Custom attribute writer method with validation
|
|
111
|
+
# @param [Object] category Value to be assigned
|
|
112
|
+
def category=(category)
|
|
113
|
+
if category.nil?
|
|
114
|
+
fail ArgumentError, 'category cannot be nil'
|
|
115
|
+
end
|
|
116
|
+
|
|
117
|
+
@category = category
|
|
118
|
+
end
|
|
119
|
+
|
|
120
|
+
# Custom attribute writer method with validation
|
|
121
|
+
# @param [Object] created_at Value to be assigned
|
|
122
|
+
def created_at=(created_at)
|
|
123
|
+
if created_at.nil?
|
|
124
|
+
fail ArgumentError, 'created_at cannot be nil'
|
|
125
|
+
end
|
|
126
|
+
|
|
127
|
+
@created_at = created_at
|
|
128
|
+
end
|
|
129
|
+
|
|
130
|
+
# Checks equality by comparing each attribute.
|
|
131
|
+
# @param [Object] Object to be compared
|
|
132
|
+
def ==(o)
|
|
133
|
+
return true if self.equal?(o)
|
|
134
|
+
self.class == o.class &&
|
|
135
|
+
category == o.category &&
|
|
136
|
+
created_at == o.created_at
|
|
137
|
+
end
|
|
138
|
+
|
|
139
|
+
# @see the `==` method
|
|
140
|
+
# @param [Object] Object to be compared
|
|
141
|
+
def eql?(o)
|
|
142
|
+
self == o
|
|
143
|
+
end
|
|
144
|
+
|
|
145
|
+
# Calculates hash code according to all attributes.
|
|
146
|
+
# @return [Integer] Hash code
|
|
147
|
+
def hash
|
|
148
|
+
[category, created_at].hash
|
|
149
|
+
end
|
|
150
|
+
|
|
151
|
+
# Builds the object from hash
|
|
152
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
153
|
+
# @return [Object] Returns the model itself
|
|
154
|
+
def self.build_from_hash(attributes)
|
|
155
|
+
return nil unless attributes.is_a?(Hash)
|
|
156
|
+
attributes = attributes.transform_keys(&:to_sym)
|
|
157
|
+
transformed_hash = {}
|
|
158
|
+
openapi_types.each_pair do |key, type|
|
|
159
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
|
160
|
+
transformed_hash["#{key}"] = nil
|
|
161
|
+
elsif type =~ /\AArray<(.*)>/i
|
|
162
|
+
# check to ensure the input is an array given that the attribute
|
|
163
|
+
# is documented as an array but the input is not
|
|
164
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
|
165
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
|
166
|
+
end
|
|
167
|
+
elsif !attributes[attribute_map[key]].nil?
|
|
168
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
|
169
|
+
end
|
|
170
|
+
end
|
|
171
|
+
new(transformed_hash)
|
|
172
|
+
end
|
|
173
|
+
|
|
174
|
+
# Returns the object in the form of hash
|
|
175
|
+
# @return [Hash] Returns the object in the form of hash
|
|
176
|
+
def to_hash
|
|
177
|
+
hash = {}
|
|
178
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
179
|
+
value = self.send(attr)
|
|
180
|
+
if value.nil?
|
|
181
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
|
182
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
|
183
|
+
end
|
|
184
|
+
|
|
185
|
+
hash[param] = _to_hash(value)
|
|
186
|
+
end
|
|
187
|
+
hash
|
|
188
|
+
end
|
|
189
|
+
|
|
190
|
+
end
|
|
191
|
+
|
|
192
|
+
end
|
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#smplkit Audit API
|
|
3
|
+
|
|
4
|
+
#Append-only change-history substrate for smpl.* resources and customer-application events. ADR-047.
|
|
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 'date'
|
|
14
|
+
require 'time'
|
|
15
|
+
|
|
16
|
+
module SmplkitGeneratedClient::Audit
|
|
17
|
+
class CategoryListResponse < ApiModelBase
|
|
18
|
+
attr_accessor :data
|
|
19
|
+
|
|
20
|
+
attr_accessor :meta
|
|
21
|
+
|
|
22
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
23
|
+
def self.attribute_map
|
|
24
|
+
{
|
|
25
|
+
:'data' => :'data',
|
|
26
|
+
:'meta' => :'meta'
|
|
27
|
+
}
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
# Returns attribute mapping this model knows about
|
|
31
|
+
def self.acceptable_attribute_map
|
|
32
|
+
attribute_map
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
# Returns all the JSON keys this model knows about
|
|
36
|
+
def self.acceptable_attributes
|
|
37
|
+
acceptable_attribute_map.values
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
# Attribute type mapping.
|
|
41
|
+
def self.openapi_types
|
|
42
|
+
{
|
|
43
|
+
:'data' => :'Array<CategoryResource>',
|
|
44
|
+
:'meta' => :'ListMeta'
|
|
45
|
+
}
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
# List of attributes with nullable: true
|
|
49
|
+
def self.openapi_nullable
|
|
50
|
+
Set.new([
|
|
51
|
+
])
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
# Initializes the object
|
|
55
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
56
|
+
def initialize(attributes = {})
|
|
57
|
+
if (!attributes.is_a?(Hash))
|
|
58
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `SmplkitGeneratedClient::Audit::CategoryListResponse` initialize method"
|
|
59
|
+
end
|
|
60
|
+
|
|
61
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
|
62
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
63
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
64
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
65
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `SmplkitGeneratedClient::Audit::CategoryListResponse`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
66
|
+
end
|
|
67
|
+
h[k.to_sym] = v
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
if attributes.key?(:'data')
|
|
71
|
+
if (value = attributes[:'data']).is_a?(Array)
|
|
72
|
+
self.data = value
|
|
73
|
+
end
|
|
74
|
+
else
|
|
75
|
+
self.data = nil
|
|
76
|
+
end
|
|
77
|
+
|
|
78
|
+
if attributes.key?(:'meta')
|
|
79
|
+
self.meta = attributes[:'meta']
|
|
80
|
+
else
|
|
81
|
+
self.meta = nil
|
|
82
|
+
end
|
|
83
|
+
end
|
|
84
|
+
|
|
85
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
86
|
+
# @return Array for valid properties with the reasons
|
|
87
|
+
def list_invalid_properties
|
|
88
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
89
|
+
invalid_properties = Array.new
|
|
90
|
+
if @data.nil?
|
|
91
|
+
invalid_properties.push('invalid value for "data", data cannot be nil.')
|
|
92
|
+
end
|
|
93
|
+
|
|
94
|
+
if @meta.nil?
|
|
95
|
+
invalid_properties.push('invalid value for "meta", meta cannot be nil.')
|
|
96
|
+
end
|
|
97
|
+
|
|
98
|
+
invalid_properties
|
|
99
|
+
end
|
|
100
|
+
|
|
101
|
+
# Check to see if the all the properties in the model are valid
|
|
102
|
+
# @return true if the model is valid
|
|
103
|
+
def valid?
|
|
104
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
105
|
+
return false if @data.nil?
|
|
106
|
+
return false if @meta.nil?
|
|
107
|
+
true
|
|
108
|
+
end
|
|
109
|
+
|
|
110
|
+
# Custom attribute writer method with validation
|
|
111
|
+
# @param [Object] data Value to be assigned
|
|
112
|
+
def data=(data)
|
|
113
|
+
if data.nil?
|
|
114
|
+
fail ArgumentError, 'data cannot be nil'
|
|
115
|
+
end
|
|
116
|
+
|
|
117
|
+
@data = data
|
|
118
|
+
end
|
|
119
|
+
|
|
120
|
+
# Custom attribute writer method with validation
|
|
121
|
+
# @param [Object] meta Value to be assigned
|
|
122
|
+
def meta=(meta)
|
|
123
|
+
if meta.nil?
|
|
124
|
+
fail ArgumentError, 'meta cannot be nil'
|
|
125
|
+
end
|
|
126
|
+
|
|
127
|
+
@meta = meta
|
|
128
|
+
end
|
|
129
|
+
|
|
130
|
+
# Checks equality by comparing each attribute.
|
|
131
|
+
# @param [Object] Object to be compared
|
|
132
|
+
def ==(o)
|
|
133
|
+
return true if self.equal?(o)
|
|
134
|
+
self.class == o.class &&
|
|
135
|
+
data == o.data &&
|
|
136
|
+
meta == o.meta
|
|
137
|
+
end
|
|
138
|
+
|
|
139
|
+
# @see the `==` method
|
|
140
|
+
# @param [Object] Object to be compared
|
|
141
|
+
def eql?(o)
|
|
142
|
+
self == o
|
|
143
|
+
end
|
|
144
|
+
|
|
145
|
+
# Calculates hash code according to all attributes.
|
|
146
|
+
# @return [Integer] Hash code
|
|
147
|
+
def hash
|
|
148
|
+
[data, meta].hash
|
|
149
|
+
end
|
|
150
|
+
|
|
151
|
+
# Builds the object from hash
|
|
152
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
153
|
+
# @return [Object] Returns the model itself
|
|
154
|
+
def self.build_from_hash(attributes)
|
|
155
|
+
return nil unless attributes.is_a?(Hash)
|
|
156
|
+
attributes = attributes.transform_keys(&:to_sym)
|
|
157
|
+
transformed_hash = {}
|
|
158
|
+
openapi_types.each_pair do |key, type|
|
|
159
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
|
160
|
+
transformed_hash["#{key}"] = nil
|
|
161
|
+
elsif type =~ /\AArray<(.*)>/i
|
|
162
|
+
# check to ensure the input is an array given that the attribute
|
|
163
|
+
# is documented as an array but the input is not
|
|
164
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
|
165
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
|
166
|
+
end
|
|
167
|
+
elsif !attributes[attribute_map[key]].nil?
|
|
168
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
|
169
|
+
end
|
|
170
|
+
end
|
|
171
|
+
new(transformed_hash)
|
|
172
|
+
end
|
|
173
|
+
|
|
174
|
+
# Returns the object in the form of hash
|
|
175
|
+
# @return [Hash] Returns the object in the form of hash
|
|
176
|
+
def to_hash
|
|
177
|
+
hash = {}
|
|
178
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
179
|
+
value = self.send(attr)
|
|
180
|
+
if value.nil?
|
|
181
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
|
182
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
|
183
|
+
end
|
|
184
|
+
|
|
185
|
+
hash[param] = _to_hash(value)
|
|
186
|
+
end
|
|
187
|
+
hash
|
|
188
|
+
end
|
|
189
|
+
|
|
190
|
+
end
|
|
191
|
+
|
|
192
|
+
end
|
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#smplkit Audit API
|
|
3
|
+
|
|
4
|
+
#Append-only change-history substrate for smpl.* resources and customer-application events. ADR-047.
|
|
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 'date'
|
|
14
|
+
require 'time'
|
|
15
|
+
|
|
16
|
+
module SmplkitGeneratedClient::Audit
|
|
17
|
+
class CategoryResource < ApiModelBase
|
|
18
|
+
# The category value.
|
|
19
|
+
attr_accessor :id
|
|
20
|
+
|
|
21
|
+
attr_accessor :type
|
|
22
|
+
|
|
23
|
+
attr_accessor :attributes
|
|
24
|
+
|
|
25
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
26
|
+
def self.attribute_map
|
|
27
|
+
{
|
|
28
|
+
:'id' => :'id',
|
|
29
|
+
:'type' => :'type',
|
|
30
|
+
:'attributes' => :'attributes'
|
|
31
|
+
}
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
# Returns attribute mapping this model knows about
|
|
35
|
+
def self.acceptable_attribute_map
|
|
36
|
+
attribute_map
|
|
37
|
+
end
|
|
38
|
+
|
|
39
|
+
# Returns all the JSON keys this model knows about
|
|
40
|
+
def self.acceptable_attributes
|
|
41
|
+
acceptable_attribute_map.values
|
|
42
|
+
end
|
|
43
|
+
|
|
44
|
+
# Attribute type mapping.
|
|
45
|
+
def self.openapi_types
|
|
46
|
+
{
|
|
47
|
+
:'id' => :'String',
|
|
48
|
+
:'type' => :'String',
|
|
49
|
+
:'attributes' => :'CategoryAttributes'
|
|
50
|
+
}
|
|
51
|
+
end
|
|
52
|
+
|
|
53
|
+
# List of attributes with nullable: true
|
|
54
|
+
def self.openapi_nullable
|
|
55
|
+
Set.new([
|
|
56
|
+
])
|
|
57
|
+
end
|
|
58
|
+
|
|
59
|
+
# Initializes the object
|
|
60
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
61
|
+
def initialize(attributes = {})
|
|
62
|
+
if (!attributes.is_a?(Hash))
|
|
63
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `SmplkitGeneratedClient::Audit::CategoryResource` initialize method"
|
|
64
|
+
end
|
|
65
|
+
|
|
66
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
|
67
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
68
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
69
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
70
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `SmplkitGeneratedClient::Audit::CategoryResource`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
71
|
+
end
|
|
72
|
+
h[k.to_sym] = v
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
if attributes.key?(:'id')
|
|
76
|
+
self.id = attributes[:'id']
|
|
77
|
+
else
|
|
78
|
+
self.id = nil
|
|
79
|
+
end
|
|
80
|
+
|
|
81
|
+
if attributes.key?(:'type')
|
|
82
|
+
self.type = attributes[:'type']
|
|
83
|
+
else
|
|
84
|
+
self.type = 'category'
|
|
85
|
+
end
|
|
86
|
+
|
|
87
|
+
if attributes.key?(:'attributes')
|
|
88
|
+
self.attributes = attributes[:'attributes']
|
|
89
|
+
else
|
|
90
|
+
self.attributes = nil
|
|
91
|
+
end
|
|
92
|
+
end
|
|
93
|
+
|
|
94
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
95
|
+
# @return Array for valid properties with the reasons
|
|
96
|
+
def list_invalid_properties
|
|
97
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
98
|
+
invalid_properties = Array.new
|
|
99
|
+
if @id.nil?
|
|
100
|
+
invalid_properties.push('invalid value for "id", id cannot be nil.')
|
|
101
|
+
end
|
|
102
|
+
|
|
103
|
+
if @attributes.nil?
|
|
104
|
+
invalid_properties.push('invalid value for "attributes", attributes cannot be nil.')
|
|
105
|
+
end
|
|
106
|
+
|
|
107
|
+
invalid_properties
|
|
108
|
+
end
|
|
109
|
+
|
|
110
|
+
# Check to see if the all the properties in the model are valid
|
|
111
|
+
# @return true if the model is valid
|
|
112
|
+
def valid?
|
|
113
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
114
|
+
return false if @id.nil?
|
|
115
|
+
return false if @attributes.nil?
|
|
116
|
+
true
|
|
117
|
+
end
|
|
118
|
+
|
|
119
|
+
# Custom attribute writer method with validation
|
|
120
|
+
# @param [Object] id Value to be assigned
|
|
121
|
+
def id=(id)
|
|
122
|
+
if id.nil?
|
|
123
|
+
fail ArgumentError, 'id cannot be nil'
|
|
124
|
+
end
|
|
125
|
+
|
|
126
|
+
@id = id
|
|
127
|
+
end
|
|
128
|
+
|
|
129
|
+
# Custom attribute writer method with validation
|
|
130
|
+
# @param [Object] attributes Value to be assigned
|
|
131
|
+
def attributes=(attributes)
|
|
132
|
+
if attributes.nil?
|
|
133
|
+
fail ArgumentError, 'attributes cannot be nil'
|
|
134
|
+
end
|
|
135
|
+
|
|
136
|
+
@attributes = attributes
|
|
137
|
+
end
|
|
138
|
+
|
|
139
|
+
# Checks equality by comparing each attribute.
|
|
140
|
+
# @param [Object] Object to be compared
|
|
141
|
+
def ==(o)
|
|
142
|
+
return true if self.equal?(o)
|
|
143
|
+
self.class == o.class &&
|
|
144
|
+
id == o.id &&
|
|
145
|
+
type == o.type &&
|
|
146
|
+
attributes == o.attributes
|
|
147
|
+
end
|
|
148
|
+
|
|
149
|
+
# @see the `==` method
|
|
150
|
+
# @param [Object] Object to be compared
|
|
151
|
+
def eql?(o)
|
|
152
|
+
self == o
|
|
153
|
+
end
|
|
154
|
+
|
|
155
|
+
# Calculates hash code according to all attributes.
|
|
156
|
+
# @return [Integer] Hash code
|
|
157
|
+
def hash
|
|
158
|
+
[id, type, attributes].hash
|
|
159
|
+
end
|
|
160
|
+
|
|
161
|
+
# Builds the object from hash
|
|
162
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
163
|
+
# @return [Object] Returns the model itself
|
|
164
|
+
def self.build_from_hash(attributes)
|
|
165
|
+
return nil unless attributes.is_a?(Hash)
|
|
166
|
+
attributes = attributes.transform_keys(&:to_sym)
|
|
167
|
+
transformed_hash = {}
|
|
168
|
+
openapi_types.each_pair do |key, type|
|
|
169
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
|
170
|
+
transformed_hash["#{key}"] = nil
|
|
171
|
+
elsif type =~ /\AArray<(.*)>/i
|
|
172
|
+
# check to ensure the input is an array given that the attribute
|
|
173
|
+
# is documented as an array but the input is not
|
|
174
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
|
175
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
|
176
|
+
end
|
|
177
|
+
elsif !attributes[attribute_map[key]].nil?
|
|
178
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
|
179
|
+
end
|
|
180
|
+
end
|
|
181
|
+
new(transformed_hash)
|
|
182
|
+
end
|
|
183
|
+
|
|
184
|
+
# Returns the object in the form of hash
|
|
185
|
+
# @return [Hash] Returns the object in the form of hash
|
|
186
|
+
def to_hash
|
|
187
|
+
hash = {}
|
|
188
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
189
|
+
value = self.send(attr)
|
|
190
|
+
if value.nil?
|
|
191
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
|
192
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
|
193
|
+
end
|
|
194
|
+
|
|
195
|
+
hash[param] = _to_hash(value)
|
|
196
|
+
end
|
|
197
|
+
hash
|
|
198
|
+
end
|
|
199
|
+
|
|
200
|
+
end
|
|
201
|
+
|
|
202
|
+
end
|
|
@@ -28,6 +28,12 @@ module SmplkitGeneratedClient::Audit
|
|
|
28
28
|
# Free-text description of the event. Included alongside `resource_id` in the `filter[search]` substring target.
|
|
29
29
|
attr_accessor :description
|
|
30
30
|
|
|
31
|
+
# One of `TRACE`, `DEBUG`, `INFO`, `WARN`, `ERROR`, `FATAL`. Omit to record the event at `INFO`. Always present on read.
|
|
32
|
+
attr_accessor :severity
|
|
33
|
+
|
|
34
|
+
# Free-form bucket label, e.g. `auth`, `billing`, `config-change`. Stored exactly as supplied. Drives the `filter[category]` filter and the `GET /api/v1/categories` discovery endpoint.
|
|
35
|
+
attr_accessor :category
|
|
36
|
+
|
|
31
37
|
# When the event actually happened. Defaults to the server receipt time (`created_at`).
|
|
32
38
|
attr_accessor :occurred_at
|
|
33
39
|
|
|
@@ -52,6 +58,28 @@ module SmplkitGeneratedClient::Audit
|
|
|
52
58
|
# The idempotency key used to deduplicate the record. Echoes the `Idempotency-Key` header if one was supplied, otherwise a key derived from the event's content.
|
|
53
59
|
attr_accessor :idempotency_key
|
|
54
60
|
|
|
61
|
+
class EnumAttributeValidator
|
|
62
|
+
attr_reader :datatype
|
|
63
|
+
attr_reader :allowable_values
|
|
64
|
+
|
|
65
|
+
def initialize(datatype, allowable_values)
|
|
66
|
+
@allowable_values = allowable_values.map do |value|
|
|
67
|
+
case datatype.to_s
|
|
68
|
+
when /Integer/i
|
|
69
|
+
value.to_i
|
|
70
|
+
when /Float/i
|
|
71
|
+
value.to_f
|
|
72
|
+
else
|
|
73
|
+
value
|
|
74
|
+
end
|
|
75
|
+
end
|
|
76
|
+
end
|
|
77
|
+
|
|
78
|
+
def valid?(value)
|
|
79
|
+
!value || allowable_values.include?(value)
|
|
80
|
+
end
|
|
81
|
+
end
|
|
82
|
+
|
|
55
83
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
56
84
|
def self.attribute_map
|
|
57
85
|
{
|
|
@@ -59,6 +87,8 @@ module SmplkitGeneratedClient::Audit
|
|
|
59
87
|
:'resource_type' => :'resource_type',
|
|
60
88
|
:'resource_id' => :'resource_id',
|
|
61
89
|
:'description' => :'description',
|
|
90
|
+
:'severity' => :'severity',
|
|
91
|
+
:'category' => :'category',
|
|
62
92
|
:'occurred_at' => :'occurred_at',
|
|
63
93
|
:'actor_type' => :'actor_type',
|
|
64
94
|
:'actor_id' => :'actor_id',
|
|
@@ -87,6 +117,8 @@ module SmplkitGeneratedClient::Audit
|
|
|
87
117
|
:'resource_type' => :'String',
|
|
88
118
|
:'resource_id' => :'String',
|
|
89
119
|
:'description' => :'String',
|
|
120
|
+
:'severity' => :'Severity',
|
|
121
|
+
:'category' => :'String',
|
|
90
122
|
:'occurred_at' => :'Time',
|
|
91
123
|
:'actor_type' => :'String',
|
|
92
124
|
:'actor_id' => :'String',
|
|
@@ -102,6 +134,8 @@ module SmplkitGeneratedClient::Audit
|
|
|
102
134
|
def self.openapi_nullable
|
|
103
135
|
Set.new([
|
|
104
136
|
:'description',
|
|
137
|
+
:'severity',
|
|
138
|
+
:'category',
|
|
105
139
|
:'occurred_at',
|
|
106
140
|
:'actor_type',
|
|
107
141
|
:'actor_id',
|
|
@@ -149,6 +183,14 @@ module SmplkitGeneratedClient::Audit
|
|
|
149
183
|
self.description = attributes[:'description']
|
|
150
184
|
end
|
|
151
185
|
|
|
186
|
+
if attributes.key?(:'severity')
|
|
187
|
+
self.severity = attributes[:'severity']
|
|
188
|
+
end
|
|
189
|
+
|
|
190
|
+
if attributes.key?(:'category')
|
|
191
|
+
self.category = attributes[:'category']
|
|
192
|
+
end
|
|
193
|
+
|
|
152
194
|
if attributes.key?(:'occurred_at')
|
|
153
195
|
self.occurred_at = attributes[:'occurred_at']
|
|
154
196
|
end
|
|
@@ -282,6 +324,8 @@ module SmplkitGeneratedClient::Audit
|
|
|
282
324
|
resource_type == o.resource_type &&
|
|
283
325
|
resource_id == o.resource_id &&
|
|
284
326
|
description == o.description &&
|
|
327
|
+
severity == o.severity &&
|
|
328
|
+
category == o.category &&
|
|
285
329
|
occurred_at == o.occurred_at &&
|
|
286
330
|
actor_type == o.actor_type &&
|
|
287
331
|
actor_id == o.actor_id &&
|
|
@@ -301,7 +345,7 @@ module SmplkitGeneratedClient::Audit
|
|
|
301
345
|
# Calculates hash code according to all attributes.
|
|
302
346
|
# @return [Integer] Hash code
|
|
303
347
|
def hash
|
|
304
|
-
[event_type, resource_type, resource_id, description, occurred_at, actor_type, actor_id, actor_label, data, do_not_forward, created_at, idempotency_key].hash
|
|
348
|
+
[event_type, resource_type, resource_id, description, severity, category, occurred_at, actor_type, actor_id, actor_label, data, do_not_forward, created_at, idempotency_key].hash
|
|
305
349
|
end
|
|
306
350
|
|
|
307
351
|
# Builds the object from hash
|
|
@@ -28,6 +28,12 @@ module SmplkitGeneratedClient::Audit
|
|
|
28
28
|
# Exact match on the event's `resource_id` field. Must be accompanied by `filter[resource_type]`.
|
|
29
29
|
attr_accessor :filter_resource_id
|
|
30
30
|
|
|
31
|
+
# Exact match on the event's `severity` field. One of `TRACE`, `DEBUG`, `INFO`, `WARN`, `ERROR`, `FATAL`.
|
|
32
|
+
attr_accessor :filter_severity
|
|
33
|
+
|
|
34
|
+
# Exact match on the event's `category` field.
|
|
35
|
+
attr_accessor :filter_category
|
|
36
|
+
|
|
31
37
|
# Exact match on the event's `actor_type` field.
|
|
32
38
|
attr_accessor :filter_actor_type
|
|
33
39
|
|
|
@@ -59,6 +65,8 @@ module SmplkitGeneratedClient::Audit
|
|
|
59
65
|
:'filter_event_type' => :'filter[event_type]',
|
|
60
66
|
:'filter_resource_type' => :'filter[resource_type]',
|
|
61
67
|
:'filter_resource_id' => :'filter[resource_id]',
|
|
68
|
+
:'filter_severity' => :'filter[severity]',
|
|
69
|
+
:'filter_category' => :'filter[category]',
|
|
62
70
|
:'filter_actor_type' => :'filter[actor_type]',
|
|
63
71
|
:'filter_actor_id' => :'filter[actor_id]',
|
|
64
72
|
:'filter_occurred_at' => :'filter[occurred_at]',
|
|
@@ -87,6 +95,8 @@ module SmplkitGeneratedClient::Audit
|
|
|
87
95
|
:'filter_event_type' => :'String',
|
|
88
96
|
:'filter_resource_type' => :'String',
|
|
89
97
|
:'filter_resource_id' => :'String',
|
|
98
|
+
:'filter_severity' => :'String',
|
|
99
|
+
:'filter_category' => :'String',
|
|
90
100
|
:'filter_actor_type' => :'String',
|
|
91
101
|
:'filter_actor_id' => :'String',
|
|
92
102
|
:'filter_occurred_at' => :'String',
|
|
@@ -105,6 +115,8 @@ module SmplkitGeneratedClient::Audit
|
|
|
105
115
|
:'filter_event_type',
|
|
106
116
|
:'filter_resource_type',
|
|
107
117
|
:'filter_resource_id',
|
|
118
|
+
:'filter_severity',
|
|
119
|
+
:'filter_category',
|
|
108
120
|
:'filter_actor_type',
|
|
109
121
|
:'filter_actor_id',
|
|
110
122
|
:'filter_occurred_at',
|
|
@@ -148,6 +160,14 @@ module SmplkitGeneratedClient::Audit
|
|
|
148
160
|
self.filter_resource_id = attributes[:'filter_resource_id']
|
|
149
161
|
end
|
|
150
162
|
|
|
163
|
+
if attributes.key?(:'filter_severity')
|
|
164
|
+
self.filter_severity = attributes[:'filter_severity']
|
|
165
|
+
end
|
|
166
|
+
|
|
167
|
+
if attributes.key?(:'filter_category')
|
|
168
|
+
self.filter_category = attributes[:'filter_category']
|
|
169
|
+
end
|
|
170
|
+
|
|
151
171
|
if attributes.key?(:'filter_actor_type')
|
|
152
172
|
self.filter_actor_type = attributes[:'filter_actor_type']
|
|
153
173
|
end
|
|
@@ -237,6 +257,8 @@ module SmplkitGeneratedClient::Audit
|
|
|
237
257
|
filter_event_type == o.filter_event_type &&
|
|
238
258
|
filter_resource_type == o.filter_resource_type &&
|
|
239
259
|
filter_resource_id == o.filter_resource_id &&
|
|
260
|
+
filter_severity == o.filter_severity &&
|
|
261
|
+
filter_category == o.filter_category &&
|
|
240
262
|
filter_actor_type == o.filter_actor_type &&
|
|
241
263
|
filter_actor_id == o.filter_actor_id &&
|
|
242
264
|
filter_occurred_at == o.filter_occurred_at &&
|
|
@@ -256,7 +278,7 @@ module SmplkitGeneratedClient::Audit
|
|
|
256
278
|
# Calculates hash code according to all attributes.
|
|
257
279
|
# @return [Integer] Hash code
|
|
258
280
|
def hash
|
|
259
|
-
[filter, filter_event_type, filter_resource_type, filter_resource_id, filter_actor_type, filter_actor_id, filter_occurred_at, filter_search, filter_do_not_forward, page_size, page_after, sort].hash
|
|
281
|
+
[filter, filter_event_type, filter_resource_type, filter_resource_id, filter_severity, filter_category, filter_actor_type, filter_actor_id, filter_occurred_at, filter_search, filter_do_not_forward, page_size, page_after, sort].hash
|
|
260
282
|
end
|
|
261
283
|
|
|
262
284
|
# Builds the object from hash
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#smplkit Audit API
|
|
3
|
+
|
|
4
|
+
#Append-only change-history substrate for smpl.* resources and customer-application events. ADR-047.
|
|
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 'date'
|
|
14
|
+
require 'time'
|
|
15
|
+
|
|
16
|
+
module SmplkitGeneratedClient::Audit
|
|
17
|
+
class Severity
|
|
18
|
+
TRACE = "TRACE".freeze
|
|
19
|
+
DEBUG = "DEBUG".freeze
|
|
20
|
+
INFO = "INFO".freeze
|
|
21
|
+
WARN = "WARN".freeze
|
|
22
|
+
ERROR = "ERROR".freeze
|
|
23
|
+
FATAL = "FATAL".freeze
|
|
24
|
+
|
|
25
|
+
def self.all_vars
|
|
26
|
+
@all_vars ||= [TRACE, DEBUG, INFO, WARN, ERROR, FATAL].freeze
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
# Builds the enum from string
|
|
30
|
+
# @param [String] The enum value in the form of the string
|
|
31
|
+
# @return [String] The enum value
|
|
32
|
+
def self.build_from_hash(value)
|
|
33
|
+
new.build_from_hash(value)
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
# Builds the enum from string
|
|
37
|
+
# @param [String] The enum value in the form of the string
|
|
38
|
+
# @return [String] The enum value
|
|
39
|
+
def build_from_hash(value)
|
|
40
|
+
return value if Severity.all_vars.include?(value)
|
|
41
|
+
raise "Invalid ENUM value #{value} for class #Severity"
|
|
42
|
+
end
|
|
43
|
+
end
|
|
44
|
+
end
|
|
@@ -18,6 +18,9 @@ require 'smplkit_audit_client/version'
|
|
|
18
18
|
require 'smplkit_audit_client/configuration'
|
|
19
19
|
|
|
20
20
|
# Models
|
|
21
|
+
require 'smplkit_audit_client/models/category_attributes'
|
|
22
|
+
require 'smplkit_audit_client/models/category_list_response'
|
|
23
|
+
require 'smplkit_audit_client/models/category_resource'
|
|
21
24
|
require 'smplkit_audit_client/models/event'
|
|
22
25
|
require 'smplkit_audit_client/models/event_list_links'
|
|
23
26
|
require 'smplkit_audit_client/models/event_list_meta'
|
|
@@ -63,6 +66,7 @@ require 'smplkit_audit_client/models/resource_type_attributes'
|
|
|
63
66
|
require 'smplkit_audit_client/models/resource_type_list_response'
|
|
64
67
|
require 'smplkit_audit_client/models/resource_type_resource'
|
|
65
68
|
require 'smplkit_audit_client/models/retry_failed_deliveries_summary'
|
|
69
|
+
require 'smplkit_audit_client/models/severity'
|
|
66
70
|
require 'smplkit_audit_client/models/test_forwarder_request'
|
|
67
71
|
require 'smplkit_audit_client/models/test_forwarder_response'
|
|
68
72
|
require 'smplkit_audit_client/models/usage_attributes'
|
|
@@ -70,6 +74,7 @@ require 'smplkit_audit_client/models/usage_resource'
|
|
|
70
74
|
require 'smplkit_audit_client/models/usage_response'
|
|
71
75
|
|
|
72
76
|
# APIs
|
|
77
|
+
require 'smplkit_audit_client/api/categories_api'
|
|
73
78
|
require 'smplkit_audit_client/api/event_types_api'
|
|
74
79
|
require 'smplkit_audit_client/api/events_api'
|
|
75
80
|
require 'smplkit_audit_client/api/forwarder_types_api'
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#smplkit Audit API
|
|
3
|
+
|
|
4
|
+
#Append-only change-history substrate for smpl.* resources and customer-application events. ADR-047.
|
|
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::Audit::CategoriesApi
|
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'CategoriesApi' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@api_instance = SmplkitGeneratedClient::Audit::CategoriesApi.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of CategoriesApi' do
|
|
30
|
+
it 'should create an instance of CategoriesApi' do
|
|
31
|
+
expect(@api_instance).to be_instance_of(SmplkitGeneratedClient::Audit::CategoriesApi)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
# unit tests for list_categories
|
|
36
|
+
# List Categories
|
|
37
|
+
# List the distinct `category` values recorded for this account. The resource `id` is the category value itself. Default sort is `key` ascending; pass `sort=-key` for descending. Useful for populating filter dropdowns in a UI.
|
|
38
|
+
# @param [Hash] opts the optional parameters
|
|
39
|
+
# @option opts [String] :sort Field to sort by. Prefix with `-` for descending order. Default: `key`. Allowed values: `key`, `-key`.
|
|
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`.
|
|
43
|
+
# @return [CategoryListResponse]
|
|
44
|
+
describe 'list_categories test' do
|
|
45
|
+
it 'should work' do
|
|
46
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
47
|
+
end
|
|
48
|
+
end
|
|
49
|
+
|
|
50
|
+
end
|
|
@@ -54,6 +54,8 @@ describe 'EventsApi' do
|
|
|
54
54
|
# @option opts [String] :filter_event_type
|
|
55
55
|
# @option opts [String] :filter_resource_type
|
|
56
56
|
# @option opts [String] :filter_resource_id
|
|
57
|
+
# @option opts [String] :filter_severity Exact match on the event's `severity` field. One of `TRACE`, `DEBUG`, `INFO`, `WARN`, `ERROR`, `FATAL`.
|
|
58
|
+
# @option opts [String] :filter_category Exact match on the event's `category` field.
|
|
57
59
|
# @option opts [String] :filter_search Case-insensitive substring match against `resource_id` or `description`. Use `filter[resource_id]` for an exact match on `resource_id`.
|
|
58
60
|
# @option opts [Boolean] :filter_do_not_forward When set, restrict to events whose `do_not_forward` flag matches the given boolean. Forwarder previews typically pass `false` to match live-pipeline semantics (events flagged `do_not_forward=true` are skipped by the forwarder pipeline).
|
|
59
61
|
# @option opts [Integer] :page_size
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#smplkit Audit API
|
|
3
|
+
|
|
4
|
+
#Append-only change-history substrate for smpl.* resources and customer-application events. ADR-047.
|
|
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
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for SmplkitGeneratedClient::Audit::CategoryAttributes
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe SmplkitGeneratedClient::Audit::CategoryAttributes do
|
|
21
|
+
#let(:instance) { SmplkitGeneratedClient::Audit::CategoryAttributes.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of CategoryAttributes' do
|
|
24
|
+
it 'should create an instance of CategoryAttributes' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(SmplkitGeneratedClient::Audit::CategoryAttributes)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "category"' 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
|
+
|
|
36
|
+
describe 'test attribute "created_at"' 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
|
+
|
|
42
|
+
end
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#smplkit Audit API
|
|
3
|
+
|
|
4
|
+
#Append-only change-history substrate for smpl.* resources and customer-application events. ADR-047.
|
|
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
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for SmplkitGeneratedClient::Audit::CategoryListResponse
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe SmplkitGeneratedClient::Audit::CategoryListResponse do
|
|
21
|
+
#let(:instance) { SmplkitGeneratedClient::Audit::CategoryListResponse.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of CategoryListResponse' do
|
|
24
|
+
it 'should create an instance of CategoryListResponse' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(SmplkitGeneratedClient::Audit::CategoryListResponse)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "data"' 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
|
+
|
|
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
|
+
|
|
42
|
+
end
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#smplkit Audit API
|
|
3
|
+
|
|
4
|
+
#Append-only change-history substrate for smpl.* resources and customer-application events. ADR-047.
|
|
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
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for SmplkitGeneratedClient::Audit::CategoryResource
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe SmplkitGeneratedClient::Audit::CategoryResource do
|
|
21
|
+
#let(:instance) { SmplkitGeneratedClient::Audit::CategoryResource.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of CategoryResource' do
|
|
24
|
+
it 'should create an instance of CategoryResource' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(SmplkitGeneratedClient::Audit::CategoryResource)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "id"' 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
|
+
|
|
36
|
+
describe 'test attribute "type"' 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
|
+
|
|
42
|
+
describe 'test attribute "attributes"' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
end
|
|
@@ -51,6 +51,18 @@ describe SmplkitGeneratedClient::Audit::EventSearchRequest do
|
|
|
51
51
|
end
|
|
52
52
|
end
|
|
53
53
|
|
|
54
|
+
describe 'test attribute "filter_severity"' do
|
|
55
|
+
it 'should work' do
|
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
describe 'test attribute "filter_category"' do
|
|
61
|
+
it 'should work' do
|
|
62
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
63
|
+
end
|
|
64
|
+
end
|
|
65
|
+
|
|
54
66
|
describe 'test attribute "filter_actor_type"' do
|
|
55
67
|
it 'should work' do
|
|
56
68
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -51,6 +51,18 @@ describe SmplkitGeneratedClient::Audit::Event do
|
|
|
51
51
|
end
|
|
52
52
|
end
|
|
53
53
|
|
|
54
|
+
describe 'test attribute "severity"' do
|
|
55
|
+
it 'should work' do
|
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
describe 'test attribute "category"' do
|
|
61
|
+
it 'should work' do
|
|
62
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
63
|
+
end
|
|
64
|
+
end
|
|
65
|
+
|
|
54
66
|
describe 'test attribute "occurred_at"' do
|
|
55
67
|
it 'should work' do
|
|
56
68
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#smplkit Audit API
|
|
3
|
+
|
|
4
|
+
#Append-only change-history substrate for smpl.* resources and customer-application events. ADR-047.
|
|
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
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for SmplkitGeneratedClient::Audit::Severity
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe SmplkitGeneratedClient::Audit::Severity do
|
|
21
|
+
#let(:instance) { SmplkitGeneratedClient::Audit::Severity.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of Severity' do
|
|
24
|
+
it 'should create an instance of Severity' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(SmplkitGeneratedClient::Audit::Severity)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: smplkit
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.0.
|
|
4
|
+
version: 3.0.69
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Smpl Solutions LLC
|
|
@@ -483,6 +483,7 @@ files:
|
|
|
483
483
|
- lib/smplkit/_generated/app/spec/models/verify_email_request_spec.rb
|
|
484
484
|
- lib/smplkit/_generated/app/spec/spec_helper.rb
|
|
485
485
|
- lib/smplkit/_generated/audit/lib/smplkit_audit_client.rb
|
|
486
|
+
- lib/smplkit/_generated/audit/lib/smplkit_audit_client/api/categories_api.rb
|
|
486
487
|
- lib/smplkit/_generated/audit/lib/smplkit_audit_client/api/event_types_api.rb
|
|
487
488
|
- lib/smplkit/_generated/audit/lib/smplkit_audit_client/api/events_api.rb
|
|
488
489
|
- lib/smplkit/_generated/audit/lib/smplkit_audit_client/api/forwarder_types_api.rb
|
|
@@ -493,6 +494,9 @@ files:
|
|
|
493
494
|
- lib/smplkit/_generated/audit/lib/smplkit_audit_client/api_error.rb
|
|
494
495
|
- lib/smplkit/_generated/audit/lib/smplkit_audit_client/api_model_base.rb
|
|
495
496
|
- lib/smplkit/_generated/audit/lib/smplkit_audit_client/configuration.rb
|
|
497
|
+
- lib/smplkit/_generated/audit/lib/smplkit_audit_client/models/category_attributes.rb
|
|
498
|
+
- lib/smplkit/_generated/audit/lib/smplkit_audit_client/models/category_list_response.rb
|
|
499
|
+
- lib/smplkit/_generated/audit/lib/smplkit_audit_client/models/category_resource.rb
|
|
496
500
|
- lib/smplkit/_generated/audit/lib/smplkit_audit_client/models/event.rb
|
|
497
501
|
- lib/smplkit/_generated/audit/lib/smplkit_audit_client/models/event_list_links.rb
|
|
498
502
|
- lib/smplkit/_generated/audit/lib/smplkit_audit_client/models/event_list_meta.rb
|
|
@@ -538,18 +542,23 @@ files:
|
|
|
538
542
|
- lib/smplkit/_generated/audit/lib/smplkit_audit_client/models/resource_type_list_response.rb
|
|
539
543
|
- lib/smplkit/_generated/audit/lib/smplkit_audit_client/models/resource_type_resource.rb
|
|
540
544
|
- lib/smplkit/_generated/audit/lib/smplkit_audit_client/models/retry_failed_deliveries_summary.rb
|
|
545
|
+
- lib/smplkit/_generated/audit/lib/smplkit_audit_client/models/severity.rb
|
|
541
546
|
- lib/smplkit/_generated/audit/lib/smplkit_audit_client/models/test_forwarder_request.rb
|
|
542
547
|
- lib/smplkit/_generated/audit/lib/smplkit_audit_client/models/test_forwarder_response.rb
|
|
543
548
|
- lib/smplkit/_generated/audit/lib/smplkit_audit_client/models/usage_attributes.rb
|
|
544
549
|
- lib/smplkit/_generated/audit/lib/smplkit_audit_client/models/usage_resource.rb
|
|
545
550
|
- lib/smplkit/_generated/audit/lib/smplkit_audit_client/models/usage_response.rb
|
|
546
551
|
- lib/smplkit/_generated/audit/lib/smplkit_audit_client/version.rb
|
|
552
|
+
- lib/smplkit/_generated/audit/spec/api/categories_api_spec.rb
|
|
547
553
|
- lib/smplkit/_generated/audit/spec/api/event_types_api_spec.rb
|
|
548
554
|
- lib/smplkit/_generated/audit/spec/api/events_api_spec.rb
|
|
549
555
|
- lib/smplkit/_generated/audit/spec/api/forwarder_types_api_spec.rb
|
|
550
556
|
- lib/smplkit/_generated/audit/spec/api/forwarders_api_spec.rb
|
|
551
557
|
- lib/smplkit/_generated/audit/spec/api/resource_types_api_spec.rb
|
|
552
558
|
- lib/smplkit/_generated/audit/spec/api/usage_api_spec.rb
|
|
559
|
+
- lib/smplkit/_generated/audit/spec/models/category_attributes_spec.rb
|
|
560
|
+
- lib/smplkit/_generated/audit/spec/models/category_list_response_spec.rb
|
|
561
|
+
- lib/smplkit/_generated/audit/spec/models/category_resource_spec.rb
|
|
553
562
|
- lib/smplkit/_generated/audit/spec/models/event_list_links_spec.rb
|
|
554
563
|
- lib/smplkit/_generated/audit/spec/models/event_list_meta_spec.rb
|
|
555
564
|
- lib/smplkit/_generated/audit/spec/models/event_list_response_spec.rb
|
|
@@ -595,6 +604,7 @@ files:
|
|
|
595
604
|
- lib/smplkit/_generated/audit/spec/models/resource_type_list_response_spec.rb
|
|
596
605
|
- lib/smplkit/_generated/audit/spec/models/resource_type_resource_spec.rb
|
|
597
606
|
- lib/smplkit/_generated/audit/spec/models/retry_failed_deliveries_summary_spec.rb
|
|
607
|
+
- lib/smplkit/_generated/audit/spec/models/severity_spec.rb
|
|
598
608
|
- lib/smplkit/_generated/audit/spec/models/test_forwarder_request_spec.rb
|
|
599
609
|
- lib/smplkit/_generated/audit/spec/models/test_forwarder_response_spec.rb
|
|
600
610
|
- lib/smplkit/_generated/audit/spec/models/usage_attributes_spec.rb
|