authentik-api 2026.2.3.rc1 → 2026.2.4
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/README_API.md +6 -6
- data/lib/authentik/api/api/admin_api.rb +1 -1
- data/lib/authentik/api/api/authenticators_api.rb +60 -60
- data/lib/authentik/api/api/core_api.rb +45 -45
- data/lib/authentik/api/api/crypto_api.rb +7 -7
- data/lib/authentik/api/api/endpoints_api.rb +35 -35
- data/lib/authentik/api/api/enterprise_api.rb +5 -5
- data/lib/authentik/api/api/events_api.rb +20 -20
- data/lib/authentik/api/api/flows_api.rb +16 -16
- data/lib/authentik/api/api/lifecycle_api.rb +5 -5
- data/lib/authentik/api/api/managed_api.rb +6 -6
- data/lib/authentik/api/api/oauth2_api.rb +9 -9
- data/lib/authentik/api/api/outposts_api.rb +22 -22
- data/lib/authentik/api/api/policies_api.rb +52 -52
- data/lib/authentik/api/api/propertymappings_api.rb +79 -79
- data/lib/authentik/api/api/providers_api.rb +88 -88
- data/lib/authentik/api/api/rac_api.rb +10 -10
- data/lib/authentik/api/api/rbac_api.rb +15 -15
- data/lib/authentik/api/api/reports_api.rb +2 -2
- data/lib/authentik/api/api/sources_api.rb +123 -123
- data/lib/authentik/api/api/ssf_api.rb +1 -1
- data/lib/authentik/api/api/stages_api.rb +142 -142
- data/lib/authentik/api/api/tasks_api.rb +6 -6
- data/lib/authentik/api/api/tenants_api.rb +10 -10
- data/lib/authentik/api/models/expiring_base_grant_model.rb +1 -1
- data/lib/authentik/api/models/group_kerberos_source_connection_request.rb +1 -27
- data/lib/authentik/api/models/group_ldap_source_connection_request.rb +1 -27
- data/lib/authentik/api/models/group_o_auth_source_connection_request.rb +1 -27
- data/lib/authentik/api/models/group_plex_source_connection_request.rb +1 -27
- data/lib/authentik/api/models/group_saml_source_connection_request.rb +1 -27
- data/lib/authentik/api/models/group_source_connection_request.rb +1 -27
- data/lib/authentik/api/models/group_telegram_source_connection_request.rb +1 -27
- data/lib/authentik/api/models/notification_rule.rb +1 -15
- data/lib/authentik/api/models/patched_group_kerberos_source_connection_request.rb +1 -10
- data/lib/authentik/api/models/patched_group_ldap_source_connection_request.rb +1 -10
- data/lib/authentik/api/models/patched_group_o_auth_source_connection_request.rb +1 -10
- data/lib/authentik/api/models/patched_group_plex_source_connection_request.rb +1 -10
- data/lib/authentik/api/models/patched_group_saml_source_connection_request.rb +1 -10
- data/lib/authentik/api/models/patched_group_source_connection_request.rb +1 -10
- data/lib/authentik/api/models/patched_group_telegram_source_connection_request.rb +1 -10
- data/lib/authentik/api/models/patched_user_kerberos_source_connection_request.rb +1 -10
- data/lib/authentik/api/models/patched_user_ldap_source_connection_request.rb +1 -10
- data/lib/authentik/api/models/patched_user_o_auth_source_connection_request.rb +1 -10
- data/lib/authentik/api/models/patched_user_plex_source_connection_request.rb +1 -10
- data/lib/authentik/api/models/patched_user_saml_source_connection_request.rb +1 -10
- data/lib/authentik/api/models/patched_user_source_connection_request.rb +1 -10
- data/lib/authentik/api/models/patched_user_telegram_source_connection_request.rb +1 -10
- data/lib/authentik/api/models/token_model.rb +1 -1
- data/lib/authentik/api/models/user_kerberos_source_connection_request.rb +1 -27
- data/lib/authentik/api/models/user_ldap_source_connection_request.rb +1 -27
- data/lib/authentik/api/models/user_o_auth_source_connection_request.rb +1 -27
- data/lib/authentik/api/models/user_plex_source_connection_request.rb +1 -27
- data/lib/authentik/api/models/user_saml_source_connection_request.rb +1 -27
- data/lib/authentik/api/models/user_source_connection_request.rb +1 -27
- data/lib/authentik/api/models/user_telegram_source_connection_request.rb +1 -27
- data/lib/authentik/api/version.rb +1 -1
- data/spec/models/group_kerberos_source_connection_request_spec.rb +0 -6
- data/spec/models/group_ldap_source_connection_request_spec.rb +0 -6
- data/spec/models/group_o_auth_source_connection_request_spec.rb +0 -6
- data/spec/models/group_plex_source_connection_request_spec.rb +0 -6
- data/spec/models/group_saml_source_connection_request_spec.rb +0 -6
- data/spec/models/group_source_connection_request_spec.rb +0 -6
- data/spec/models/group_telegram_source_connection_request_spec.rb +0 -6
- data/spec/models/patched_group_kerberos_source_connection_request_spec.rb +0 -6
- data/spec/models/patched_group_ldap_source_connection_request_spec.rb +0 -6
- data/spec/models/patched_group_o_auth_source_connection_request_spec.rb +0 -6
- data/spec/models/patched_group_plex_source_connection_request_spec.rb +0 -6
- data/spec/models/patched_group_saml_source_connection_request_spec.rb +0 -6
- data/spec/models/patched_group_source_connection_request_spec.rb +0 -6
- data/spec/models/patched_group_telegram_source_connection_request_spec.rb +0 -6
- data/spec/models/patched_user_kerberos_source_connection_request_spec.rb +0 -6
- data/spec/models/patched_user_ldap_source_connection_request_spec.rb +0 -6
- data/spec/models/patched_user_o_auth_source_connection_request_spec.rb +0 -6
- data/spec/models/patched_user_plex_source_connection_request_spec.rb +0 -6
- data/spec/models/patched_user_saml_source_connection_request_spec.rb +0 -6
- data/spec/models/patched_user_source_connection_request_spec.rb +0 -6
- data/spec/models/patched_user_telegram_source_connection_request_spec.rb +0 -6
- data/spec/models/user_kerberos_source_connection_request_spec.rb +0 -6
- data/spec/models/user_ldap_source_connection_request_spec.rb +0 -6
- data/spec/models/user_o_auth_source_connection_request_spec.rb +0 -6
- data/spec/models/user_plex_source_connection_request_spec.rb +0 -6
- data/spec/models/user_saml_source_connection_request_spec.rb +0 -6
- data/spec/models/user_source_connection_request_spec.rb +0 -6
- data/spec/models/user_telegram_source_connection_request_spec.rb +0 -6
- metadata +1 -1
|
@@ -10,8 +10,6 @@ require 'time'
|
|
|
10
10
|
module Authentik::Api
|
|
11
11
|
# Group Source Connection
|
|
12
12
|
class GroupTelegramSourceConnectionRequest < ApiModelBase
|
|
13
|
-
attr_accessor :group
|
|
14
|
-
|
|
15
13
|
attr_accessor :source
|
|
16
14
|
|
|
17
15
|
attr_accessor :identifier
|
|
@@ -19,7 +17,6 @@ module Authentik::Api
|
|
|
19
17
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
20
18
|
def self.attribute_map
|
|
21
19
|
{
|
|
22
|
-
:'group' => :'group',
|
|
23
20
|
:'source' => :'source',
|
|
24
21
|
:'identifier' => :'identifier'
|
|
25
22
|
}
|
|
@@ -38,7 +35,6 @@ module Authentik::Api
|
|
|
38
35
|
# Attribute type mapping.
|
|
39
36
|
def self.openapi_types
|
|
40
37
|
{
|
|
41
|
-
:'group' => :'String',
|
|
42
38
|
:'source' => :'String',
|
|
43
39
|
:'identifier' => :'String'
|
|
44
40
|
}
|
|
@@ -66,12 +62,6 @@ module Authentik::Api
|
|
|
66
62
|
h[k.to_sym] = v
|
|
67
63
|
}
|
|
68
64
|
|
|
69
|
-
if attributes.key?(:'group')
|
|
70
|
-
self.group = attributes[:'group']
|
|
71
|
-
else
|
|
72
|
-
self.group = nil
|
|
73
|
-
end
|
|
74
|
-
|
|
75
65
|
if attributes.key?(:'source')
|
|
76
66
|
self.source = attributes[:'source']
|
|
77
67
|
else
|
|
@@ -90,10 +80,6 @@ module Authentik::Api
|
|
|
90
80
|
def list_invalid_properties
|
|
91
81
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
92
82
|
invalid_properties = Array.new
|
|
93
|
-
if @group.nil?
|
|
94
|
-
invalid_properties.push('invalid value for "group", group cannot be nil.')
|
|
95
|
-
end
|
|
96
|
-
|
|
97
83
|
if @source.nil?
|
|
98
84
|
invalid_properties.push('invalid value for "source", source cannot be nil.')
|
|
99
85
|
end
|
|
@@ -113,23 +99,12 @@ module Authentik::Api
|
|
|
113
99
|
# @return true if the model is valid
|
|
114
100
|
def valid?
|
|
115
101
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
116
|
-
return false if @group.nil?
|
|
117
102
|
return false if @source.nil?
|
|
118
103
|
return false if @identifier.nil?
|
|
119
104
|
return false if @identifier.to_s.length < 1
|
|
120
105
|
true
|
|
121
106
|
end
|
|
122
107
|
|
|
123
|
-
# Custom attribute writer method with validation
|
|
124
|
-
# @param [Object] group Value to be assigned
|
|
125
|
-
def group=(group)
|
|
126
|
-
if group.nil?
|
|
127
|
-
fail ArgumentError, 'group cannot be nil'
|
|
128
|
-
end
|
|
129
|
-
|
|
130
|
-
@group = group
|
|
131
|
-
end
|
|
132
|
-
|
|
133
108
|
# Custom attribute writer method with validation
|
|
134
109
|
# @param [Object] source Value to be assigned
|
|
135
110
|
def source=(source)
|
|
@@ -159,7 +134,6 @@ module Authentik::Api
|
|
|
159
134
|
def ==(o)
|
|
160
135
|
return true if self.equal?(o)
|
|
161
136
|
self.class == o.class &&
|
|
162
|
-
group == o.group &&
|
|
163
137
|
source == o.source &&
|
|
164
138
|
identifier == o.identifier
|
|
165
139
|
end
|
|
@@ -173,7 +147,7 @@ module Authentik::Api
|
|
|
173
147
|
# Calculates hash code according to all attributes.
|
|
174
148
|
# @return [Integer] Hash code
|
|
175
149
|
def hash
|
|
176
|
-
[
|
|
150
|
+
[source, identifier].hash
|
|
177
151
|
end
|
|
178
152
|
|
|
179
153
|
# Builds the object from hash
|
|
@@ -90,6 +90,7 @@ module Authentik::Api
|
|
|
90
90
|
def self.openapi_nullable
|
|
91
91
|
Set.new([
|
|
92
92
|
:'destination_group',
|
|
93
|
+
:'destination_group_obj',
|
|
93
94
|
])
|
|
94
95
|
end
|
|
95
96
|
|
|
@@ -159,10 +160,6 @@ module Authentik::Api
|
|
|
159
160
|
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
|
160
161
|
end
|
|
161
162
|
|
|
162
|
-
if @destination_group_obj.nil?
|
|
163
|
-
invalid_properties.push('invalid value for "destination_group_obj", destination_group_obj cannot be nil.')
|
|
164
|
-
end
|
|
165
|
-
|
|
166
163
|
invalid_properties
|
|
167
164
|
end
|
|
168
165
|
|
|
@@ -172,7 +169,6 @@ module Authentik::Api
|
|
|
172
169
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
173
170
|
return false if @pk.nil?
|
|
174
171
|
return false if @name.nil?
|
|
175
|
-
return false if @destination_group_obj.nil?
|
|
176
172
|
true
|
|
177
173
|
end
|
|
178
174
|
|
|
@@ -196,16 +192,6 @@ module Authentik::Api
|
|
|
196
192
|
@name = name
|
|
197
193
|
end
|
|
198
194
|
|
|
199
|
-
# Custom attribute writer method with validation
|
|
200
|
-
# @param [Object] destination_group_obj Value to be assigned
|
|
201
|
-
def destination_group_obj=(destination_group_obj)
|
|
202
|
-
if destination_group_obj.nil?
|
|
203
|
-
fail ArgumentError, 'destination_group_obj cannot be nil'
|
|
204
|
-
end
|
|
205
|
-
|
|
206
|
-
@destination_group_obj = destination_group_obj
|
|
207
|
-
end
|
|
208
|
-
|
|
209
195
|
# Checks equality by comparing each attribute.
|
|
210
196
|
# @param [Object] Object to be compared
|
|
211
197
|
def ==(o)
|
|
@@ -10,8 +10,6 @@ require 'time'
|
|
|
10
10
|
module Authentik::Api
|
|
11
11
|
# Group Source Connection
|
|
12
12
|
class PatchedGroupKerberosSourceConnectionRequest < ApiModelBase
|
|
13
|
-
attr_accessor :group
|
|
14
|
-
|
|
15
13
|
attr_accessor :source
|
|
16
14
|
|
|
17
15
|
attr_accessor :identifier
|
|
@@ -19,7 +17,6 @@ module Authentik::Api
|
|
|
19
17
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
20
18
|
def self.attribute_map
|
|
21
19
|
{
|
|
22
|
-
:'group' => :'group',
|
|
23
20
|
:'source' => :'source',
|
|
24
21
|
:'identifier' => :'identifier'
|
|
25
22
|
}
|
|
@@ -38,7 +35,6 @@ module Authentik::Api
|
|
|
38
35
|
# Attribute type mapping.
|
|
39
36
|
def self.openapi_types
|
|
40
37
|
{
|
|
41
|
-
:'group' => :'String',
|
|
42
38
|
:'source' => :'String',
|
|
43
39
|
:'identifier' => :'String'
|
|
44
40
|
}
|
|
@@ -66,10 +62,6 @@ module Authentik::Api
|
|
|
66
62
|
h[k.to_sym] = v
|
|
67
63
|
}
|
|
68
64
|
|
|
69
|
-
if attributes.key?(:'group')
|
|
70
|
-
self.group = attributes[:'group']
|
|
71
|
-
end
|
|
72
|
-
|
|
73
65
|
if attributes.key?(:'source')
|
|
74
66
|
self.source = attributes[:'source']
|
|
75
67
|
end
|
|
@@ -118,7 +110,6 @@ module Authentik::Api
|
|
|
118
110
|
def ==(o)
|
|
119
111
|
return true if self.equal?(o)
|
|
120
112
|
self.class == o.class &&
|
|
121
|
-
group == o.group &&
|
|
122
113
|
source == o.source &&
|
|
123
114
|
identifier == o.identifier
|
|
124
115
|
end
|
|
@@ -132,7 +123,7 @@ module Authentik::Api
|
|
|
132
123
|
# Calculates hash code according to all attributes.
|
|
133
124
|
# @return [Integer] Hash code
|
|
134
125
|
def hash
|
|
135
|
-
[
|
|
126
|
+
[source, identifier].hash
|
|
136
127
|
end
|
|
137
128
|
|
|
138
129
|
# Builds the object from hash
|
|
@@ -10,8 +10,6 @@ require 'time'
|
|
|
10
10
|
module Authentik::Api
|
|
11
11
|
# Group Source Connection
|
|
12
12
|
class PatchedGroupLDAPSourceConnectionRequest < ApiModelBase
|
|
13
|
-
attr_accessor :group
|
|
14
|
-
|
|
15
13
|
attr_accessor :source
|
|
16
14
|
|
|
17
15
|
attr_accessor :identifier
|
|
@@ -19,7 +17,6 @@ module Authentik::Api
|
|
|
19
17
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
20
18
|
def self.attribute_map
|
|
21
19
|
{
|
|
22
|
-
:'group' => :'group',
|
|
23
20
|
:'source' => :'source',
|
|
24
21
|
:'identifier' => :'identifier'
|
|
25
22
|
}
|
|
@@ -38,7 +35,6 @@ module Authentik::Api
|
|
|
38
35
|
# Attribute type mapping.
|
|
39
36
|
def self.openapi_types
|
|
40
37
|
{
|
|
41
|
-
:'group' => :'String',
|
|
42
38
|
:'source' => :'String',
|
|
43
39
|
:'identifier' => :'String'
|
|
44
40
|
}
|
|
@@ -66,10 +62,6 @@ module Authentik::Api
|
|
|
66
62
|
h[k.to_sym] = v
|
|
67
63
|
}
|
|
68
64
|
|
|
69
|
-
if attributes.key?(:'group')
|
|
70
|
-
self.group = attributes[:'group']
|
|
71
|
-
end
|
|
72
|
-
|
|
73
65
|
if attributes.key?(:'source')
|
|
74
66
|
self.source = attributes[:'source']
|
|
75
67
|
end
|
|
@@ -118,7 +110,6 @@ module Authentik::Api
|
|
|
118
110
|
def ==(o)
|
|
119
111
|
return true if self.equal?(o)
|
|
120
112
|
self.class == o.class &&
|
|
121
|
-
group == o.group &&
|
|
122
113
|
source == o.source &&
|
|
123
114
|
identifier == o.identifier
|
|
124
115
|
end
|
|
@@ -132,7 +123,7 @@ module Authentik::Api
|
|
|
132
123
|
# Calculates hash code according to all attributes.
|
|
133
124
|
# @return [Integer] Hash code
|
|
134
125
|
def hash
|
|
135
|
-
[
|
|
126
|
+
[source, identifier].hash
|
|
136
127
|
end
|
|
137
128
|
|
|
138
129
|
# Builds the object from hash
|
|
@@ -10,8 +10,6 @@ require 'time'
|
|
|
10
10
|
module Authentik::Api
|
|
11
11
|
# Group Source Connection
|
|
12
12
|
class PatchedGroupOAuthSourceConnectionRequest < ApiModelBase
|
|
13
|
-
attr_accessor :group
|
|
14
|
-
|
|
15
13
|
attr_accessor :source
|
|
16
14
|
|
|
17
15
|
attr_accessor :identifier
|
|
@@ -19,7 +17,6 @@ module Authentik::Api
|
|
|
19
17
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
20
18
|
def self.attribute_map
|
|
21
19
|
{
|
|
22
|
-
:'group' => :'group',
|
|
23
20
|
:'source' => :'source',
|
|
24
21
|
:'identifier' => :'identifier'
|
|
25
22
|
}
|
|
@@ -38,7 +35,6 @@ module Authentik::Api
|
|
|
38
35
|
# Attribute type mapping.
|
|
39
36
|
def self.openapi_types
|
|
40
37
|
{
|
|
41
|
-
:'group' => :'String',
|
|
42
38
|
:'source' => :'String',
|
|
43
39
|
:'identifier' => :'String'
|
|
44
40
|
}
|
|
@@ -66,10 +62,6 @@ module Authentik::Api
|
|
|
66
62
|
h[k.to_sym] = v
|
|
67
63
|
}
|
|
68
64
|
|
|
69
|
-
if attributes.key?(:'group')
|
|
70
|
-
self.group = attributes[:'group']
|
|
71
|
-
end
|
|
72
|
-
|
|
73
65
|
if attributes.key?(:'source')
|
|
74
66
|
self.source = attributes[:'source']
|
|
75
67
|
end
|
|
@@ -118,7 +110,6 @@ module Authentik::Api
|
|
|
118
110
|
def ==(o)
|
|
119
111
|
return true if self.equal?(o)
|
|
120
112
|
self.class == o.class &&
|
|
121
|
-
group == o.group &&
|
|
122
113
|
source == o.source &&
|
|
123
114
|
identifier == o.identifier
|
|
124
115
|
end
|
|
@@ -132,7 +123,7 @@ module Authentik::Api
|
|
|
132
123
|
# Calculates hash code according to all attributes.
|
|
133
124
|
# @return [Integer] Hash code
|
|
134
125
|
def hash
|
|
135
|
-
[
|
|
126
|
+
[source, identifier].hash
|
|
136
127
|
end
|
|
137
128
|
|
|
138
129
|
# Builds the object from hash
|
|
@@ -10,8 +10,6 @@ require 'time'
|
|
|
10
10
|
module Authentik::Api
|
|
11
11
|
# Group Source Connection
|
|
12
12
|
class PatchedGroupPlexSourceConnectionRequest < ApiModelBase
|
|
13
|
-
attr_accessor :group
|
|
14
|
-
|
|
15
13
|
attr_accessor :source
|
|
16
14
|
|
|
17
15
|
attr_accessor :identifier
|
|
@@ -19,7 +17,6 @@ module Authentik::Api
|
|
|
19
17
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
20
18
|
def self.attribute_map
|
|
21
19
|
{
|
|
22
|
-
:'group' => :'group',
|
|
23
20
|
:'source' => :'source',
|
|
24
21
|
:'identifier' => :'identifier'
|
|
25
22
|
}
|
|
@@ -38,7 +35,6 @@ module Authentik::Api
|
|
|
38
35
|
# Attribute type mapping.
|
|
39
36
|
def self.openapi_types
|
|
40
37
|
{
|
|
41
|
-
:'group' => :'String',
|
|
42
38
|
:'source' => :'String',
|
|
43
39
|
:'identifier' => :'String'
|
|
44
40
|
}
|
|
@@ -66,10 +62,6 @@ module Authentik::Api
|
|
|
66
62
|
h[k.to_sym] = v
|
|
67
63
|
}
|
|
68
64
|
|
|
69
|
-
if attributes.key?(:'group')
|
|
70
|
-
self.group = attributes[:'group']
|
|
71
|
-
end
|
|
72
|
-
|
|
73
65
|
if attributes.key?(:'source')
|
|
74
66
|
self.source = attributes[:'source']
|
|
75
67
|
end
|
|
@@ -118,7 +110,6 @@ module Authentik::Api
|
|
|
118
110
|
def ==(o)
|
|
119
111
|
return true if self.equal?(o)
|
|
120
112
|
self.class == o.class &&
|
|
121
|
-
group == o.group &&
|
|
122
113
|
source == o.source &&
|
|
123
114
|
identifier == o.identifier
|
|
124
115
|
end
|
|
@@ -132,7 +123,7 @@ module Authentik::Api
|
|
|
132
123
|
# Calculates hash code according to all attributes.
|
|
133
124
|
# @return [Integer] Hash code
|
|
134
125
|
def hash
|
|
135
|
-
[
|
|
126
|
+
[source, identifier].hash
|
|
136
127
|
end
|
|
137
128
|
|
|
138
129
|
# Builds the object from hash
|
|
@@ -10,8 +10,6 @@ require 'time'
|
|
|
10
10
|
module Authentik::Api
|
|
11
11
|
# Group Source Connection
|
|
12
12
|
class PatchedGroupSAMLSourceConnectionRequest < ApiModelBase
|
|
13
|
-
attr_accessor :group
|
|
14
|
-
|
|
15
13
|
attr_accessor :source
|
|
16
14
|
|
|
17
15
|
attr_accessor :identifier
|
|
@@ -19,7 +17,6 @@ module Authentik::Api
|
|
|
19
17
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
20
18
|
def self.attribute_map
|
|
21
19
|
{
|
|
22
|
-
:'group' => :'group',
|
|
23
20
|
:'source' => :'source',
|
|
24
21
|
:'identifier' => :'identifier'
|
|
25
22
|
}
|
|
@@ -38,7 +35,6 @@ module Authentik::Api
|
|
|
38
35
|
# Attribute type mapping.
|
|
39
36
|
def self.openapi_types
|
|
40
37
|
{
|
|
41
|
-
:'group' => :'String',
|
|
42
38
|
:'source' => :'String',
|
|
43
39
|
:'identifier' => :'String'
|
|
44
40
|
}
|
|
@@ -66,10 +62,6 @@ module Authentik::Api
|
|
|
66
62
|
h[k.to_sym] = v
|
|
67
63
|
}
|
|
68
64
|
|
|
69
|
-
if attributes.key?(:'group')
|
|
70
|
-
self.group = attributes[:'group']
|
|
71
|
-
end
|
|
72
|
-
|
|
73
65
|
if attributes.key?(:'source')
|
|
74
66
|
self.source = attributes[:'source']
|
|
75
67
|
end
|
|
@@ -118,7 +110,6 @@ module Authentik::Api
|
|
|
118
110
|
def ==(o)
|
|
119
111
|
return true if self.equal?(o)
|
|
120
112
|
self.class == o.class &&
|
|
121
|
-
group == o.group &&
|
|
122
113
|
source == o.source &&
|
|
123
114
|
identifier == o.identifier
|
|
124
115
|
end
|
|
@@ -132,7 +123,7 @@ module Authentik::Api
|
|
|
132
123
|
# Calculates hash code according to all attributes.
|
|
133
124
|
# @return [Integer] Hash code
|
|
134
125
|
def hash
|
|
135
|
-
[
|
|
126
|
+
[source, identifier].hash
|
|
136
127
|
end
|
|
137
128
|
|
|
138
129
|
# Builds the object from hash
|
|
@@ -10,8 +10,6 @@ require 'time'
|
|
|
10
10
|
module Authentik::Api
|
|
11
11
|
# Group Source Connection
|
|
12
12
|
class PatchedGroupSourceConnectionRequest < ApiModelBase
|
|
13
|
-
attr_accessor :group
|
|
14
|
-
|
|
15
13
|
attr_accessor :source
|
|
16
14
|
|
|
17
15
|
attr_accessor :identifier
|
|
@@ -19,7 +17,6 @@ module Authentik::Api
|
|
|
19
17
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
20
18
|
def self.attribute_map
|
|
21
19
|
{
|
|
22
|
-
:'group' => :'group',
|
|
23
20
|
:'source' => :'source',
|
|
24
21
|
:'identifier' => :'identifier'
|
|
25
22
|
}
|
|
@@ -38,7 +35,6 @@ module Authentik::Api
|
|
|
38
35
|
# Attribute type mapping.
|
|
39
36
|
def self.openapi_types
|
|
40
37
|
{
|
|
41
|
-
:'group' => :'String',
|
|
42
38
|
:'source' => :'String',
|
|
43
39
|
:'identifier' => :'String'
|
|
44
40
|
}
|
|
@@ -66,10 +62,6 @@ module Authentik::Api
|
|
|
66
62
|
h[k.to_sym] = v
|
|
67
63
|
}
|
|
68
64
|
|
|
69
|
-
if attributes.key?(:'group')
|
|
70
|
-
self.group = attributes[:'group']
|
|
71
|
-
end
|
|
72
|
-
|
|
73
65
|
if attributes.key?(:'source')
|
|
74
66
|
self.source = attributes[:'source']
|
|
75
67
|
end
|
|
@@ -118,7 +110,6 @@ module Authentik::Api
|
|
|
118
110
|
def ==(o)
|
|
119
111
|
return true if self.equal?(o)
|
|
120
112
|
self.class == o.class &&
|
|
121
|
-
group == o.group &&
|
|
122
113
|
source == o.source &&
|
|
123
114
|
identifier == o.identifier
|
|
124
115
|
end
|
|
@@ -132,7 +123,7 @@ module Authentik::Api
|
|
|
132
123
|
# Calculates hash code according to all attributes.
|
|
133
124
|
# @return [Integer] Hash code
|
|
134
125
|
def hash
|
|
135
|
-
[
|
|
126
|
+
[source, identifier].hash
|
|
136
127
|
end
|
|
137
128
|
|
|
138
129
|
# Builds the object from hash
|
|
@@ -10,8 +10,6 @@ require 'time'
|
|
|
10
10
|
module Authentik::Api
|
|
11
11
|
# Group Source Connection
|
|
12
12
|
class PatchedGroupTelegramSourceConnectionRequest < ApiModelBase
|
|
13
|
-
attr_accessor :group
|
|
14
|
-
|
|
15
13
|
attr_accessor :source
|
|
16
14
|
|
|
17
15
|
attr_accessor :identifier
|
|
@@ -19,7 +17,6 @@ module Authentik::Api
|
|
|
19
17
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
20
18
|
def self.attribute_map
|
|
21
19
|
{
|
|
22
|
-
:'group' => :'group',
|
|
23
20
|
:'source' => :'source',
|
|
24
21
|
:'identifier' => :'identifier'
|
|
25
22
|
}
|
|
@@ -38,7 +35,6 @@ module Authentik::Api
|
|
|
38
35
|
# Attribute type mapping.
|
|
39
36
|
def self.openapi_types
|
|
40
37
|
{
|
|
41
|
-
:'group' => :'String',
|
|
42
38
|
:'source' => :'String',
|
|
43
39
|
:'identifier' => :'String'
|
|
44
40
|
}
|
|
@@ -66,10 +62,6 @@ module Authentik::Api
|
|
|
66
62
|
h[k.to_sym] = v
|
|
67
63
|
}
|
|
68
64
|
|
|
69
|
-
if attributes.key?(:'group')
|
|
70
|
-
self.group = attributes[:'group']
|
|
71
|
-
end
|
|
72
|
-
|
|
73
65
|
if attributes.key?(:'source')
|
|
74
66
|
self.source = attributes[:'source']
|
|
75
67
|
end
|
|
@@ -118,7 +110,6 @@ module Authentik::Api
|
|
|
118
110
|
def ==(o)
|
|
119
111
|
return true if self.equal?(o)
|
|
120
112
|
self.class == o.class &&
|
|
121
|
-
group == o.group &&
|
|
122
113
|
source == o.source &&
|
|
123
114
|
identifier == o.identifier
|
|
124
115
|
end
|
|
@@ -132,7 +123,7 @@ module Authentik::Api
|
|
|
132
123
|
# Calculates hash code according to all attributes.
|
|
133
124
|
# @return [Integer] Hash code
|
|
134
125
|
def hash
|
|
135
|
-
[
|
|
126
|
+
[source, identifier].hash
|
|
136
127
|
end
|
|
137
128
|
|
|
138
129
|
# Builds the object from hash
|
|
@@ -10,8 +10,6 @@ require 'time'
|
|
|
10
10
|
module Authentik::Api
|
|
11
11
|
# User source connection
|
|
12
12
|
class PatchedUserKerberosSourceConnectionRequest < ApiModelBase
|
|
13
|
-
attr_accessor :user
|
|
14
|
-
|
|
15
13
|
attr_accessor :source
|
|
16
14
|
|
|
17
15
|
attr_accessor :identifier
|
|
@@ -19,7 +17,6 @@ module Authentik::Api
|
|
|
19
17
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
20
18
|
def self.attribute_map
|
|
21
19
|
{
|
|
22
|
-
:'user' => :'user',
|
|
23
20
|
:'source' => :'source',
|
|
24
21
|
:'identifier' => :'identifier'
|
|
25
22
|
}
|
|
@@ -38,7 +35,6 @@ module Authentik::Api
|
|
|
38
35
|
# Attribute type mapping.
|
|
39
36
|
def self.openapi_types
|
|
40
37
|
{
|
|
41
|
-
:'user' => :'Integer',
|
|
42
38
|
:'source' => :'String',
|
|
43
39
|
:'identifier' => :'String'
|
|
44
40
|
}
|
|
@@ -66,10 +62,6 @@ module Authentik::Api
|
|
|
66
62
|
h[k.to_sym] = v
|
|
67
63
|
}
|
|
68
64
|
|
|
69
|
-
if attributes.key?(:'user')
|
|
70
|
-
self.user = attributes[:'user']
|
|
71
|
-
end
|
|
72
|
-
|
|
73
65
|
if attributes.key?(:'source')
|
|
74
66
|
self.source = attributes[:'source']
|
|
75
67
|
end
|
|
@@ -118,7 +110,6 @@ module Authentik::Api
|
|
|
118
110
|
def ==(o)
|
|
119
111
|
return true if self.equal?(o)
|
|
120
112
|
self.class == o.class &&
|
|
121
|
-
user == o.user &&
|
|
122
113
|
source == o.source &&
|
|
123
114
|
identifier == o.identifier
|
|
124
115
|
end
|
|
@@ -132,7 +123,7 @@ module Authentik::Api
|
|
|
132
123
|
# Calculates hash code according to all attributes.
|
|
133
124
|
# @return [Integer] Hash code
|
|
134
125
|
def hash
|
|
135
|
-
[
|
|
126
|
+
[source, identifier].hash
|
|
136
127
|
end
|
|
137
128
|
|
|
138
129
|
# Builds the object from hash
|
|
@@ -10,8 +10,6 @@ require 'time'
|
|
|
10
10
|
module Authentik::Api
|
|
11
11
|
# User source connection
|
|
12
12
|
class PatchedUserLDAPSourceConnectionRequest < ApiModelBase
|
|
13
|
-
attr_accessor :user
|
|
14
|
-
|
|
15
13
|
attr_accessor :source
|
|
16
14
|
|
|
17
15
|
attr_accessor :identifier
|
|
@@ -19,7 +17,6 @@ module Authentik::Api
|
|
|
19
17
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
20
18
|
def self.attribute_map
|
|
21
19
|
{
|
|
22
|
-
:'user' => :'user',
|
|
23
20
|
:'source' => :'source',
|
|
24
21
|
:'identifier' => :'identifier'
|
|
25
22
|
}
|
|
@@ -38,7 +35,6 @@ module Authentik::Api
|
|
|
38
35
|
# Attribute type mapping.
|
|
39
36
|
def self.openapi_types
|
|
40
37
|
{
|
|
41
|
-
:'user' => :'Integer',
|
|
42
38
|
:'source' => :'String',
|
|
43
39
|
:'identifier' => :'String'
|
|
44
40
|
}
|
|
@@ -66,10 +62,6 @@ module Authentik::Api
|
|
|
66
62
|
h[k.to_sym] = v
|
|
67
63
|
}
|
|
68
64
|
|
|
69
|
-
if attributes.key?(:'user')
|
|
70
|
-
self.user = attributes[:'user']
|
|
71
|
-
end
|
|
72
|
-
|
|
73
65
|
if attributes.key?(:'source')
|
|
74
66
|
self.source = attributes[:'source']
|
|
75
67
|
end
|
|
@@ -118,7 +110,6 @@ module Authentik::Api
|
|
|
118
110
|
def ==(o)
|
|
119
111
|
return true if self.equal?(o)
|
|
120
112
|
self.class == o.class &&
|
|
121
|
-
user == o.user &&
|
|
122
113
|
source == o.source &&
|
|
123
114
|
identifier == o.identifier
|
|
124
115
|
end
|
|
@@ -132,7 +123,7 @@ module Authentik::Api
|
|
|
132
123
|
# Calculates hash code according to all attributes.
|
|
133
124
|
# @return [Integer] Hash code
|
|
134
125
|
def hash
|
|
135
|
-
[
|
|
126
|
+
[source, identifier].hash
|
|
136
127
|
end
|
|
137
128
|
|
|
138
129
|
# Builds the object from hash
|
|
@@ -10,8 +10,6 @@ require 'time'
|
|
|
10
10
|
module Authentik::Api
|
|
11
11
|
# User source connection
|
|
12
12
|
class PatchedUserOAuthSourceConnectionRequest < ApiModelBase
|
|
13
|
-
attr_accessor :user
|
|
14
|
-
|
|
15
13
|
attr_accessor :source
|
|
16
14
|
|
|
17
15
|
attr_accessor :identifier
|
|
@@ -23,7 +21,6 @@ module Authentik::Api
|
|
|
23
21
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
24
22
|
def self.attribute_map
|
|
25
23
|
{
|
|
26
|
-
:'user' => :'user',
|
|
27
24
|
:'source' => :'source',
|
|
28
25
|
:'identifier' => :'identifier',
|
|
29
26
|
:'access_token' => :'access_token',
|
|
@@ -44,7 +41,6 @@ module Authentik::Api
|
|
|
44
41
|
# Attribute type mapping.
|
|
45
42
|
def self.openapi_types
|
|
46
43
|
{
|
|
47
|
-
:'user' => :'Integer',
|
|
48
44
|
:'source' => :'String',
|
|
49
45
|
:'identifier' => :'String',
|
|
50
46
|
:'access_token' => :'String',
|
|
@@ -75,10 +71,6 @@ module Authentik::Api
|
|
|
75
71
|
h[k.to_sym] = v
|
|
76
72
|
}
|
|
77
73
|
|
|
78
|
-
if attributes.key?(:'user')
|
|
79
|
-
self.user = attributes[:'user']
|
|
80
|
-
end
|
|
81
|
-
|
|
82
74
|
if attributes.key?(:'source')
|
|
83
75
|
self.source = attributes[:'source']
|
|
84
76
|
end
|
|
@@ -135,7 +127,6 @@ module Authentik::Api
|
|
|
135
127
|
def ==(o)
|
|
136
128
|
return true if self.equal?(o)
|
|
137
129
|
self.class == o.class &&
|
|
138
|
-
user == o.user &&
|
|
139
130
|
source == o.source &&
|
|
140
131
|
identifier == o.identifier &&
|
|
141
132
|
access_token == o.access_token &&
|
|
@@ -151,7 +142,7 @@ module Authentik::Api
|
|
|
151
142
|
# Calculates hash code according to all attributes.
|
|
152
143
|
# @return [Integer] Hash code
|
|
153
144
|
def hash
|
|
154
|
-
[
|
|
145
|
+
[source, identifier, access_token, expires].hash
|
|
155
146
|
end
|
|
156
147
|
|
|
157
148
|
# Builds the object from hash
|
|
@@ -10,8 +10,6 @@ require 'time'
|
|
|
10
10
|
module Authentik::Api
|
|
11
11
|
# User source connection
|
|
12
12
|
class PatchedUserPlexSourceConnectionRequest < ApiModelBase
|
|
13
|
-
attr_accessor :user
|
|
14
|
-
|
|
15
13
|
attr_accessor :source
|
|
16
14
|
|
|
17
15
|
attr_accessor :identifier
|
|
@@ -21,7 +19,6 @@ module Authentik::Api
|
|
|
21
19
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
22
20
|
def self.attribute_map
|
|
23
21
|
{
|
|
24
|
-
:'user' => :'user',
|
|
25
22
|
:'source' => :'source',
|
|
26
23
|
:'identifier' => :'identifier',
|
|
27
24
|
:'plex_token' => :'plex_token'
|
|
@@ -41,7 +38,6 @@ module Authentik::Api
|
|
|
41
38
|
# Attribute type mapping.
|
|
42
39
|
def self.openapi_types
|
|
43
40
|
{
|
|
44
|
-
:'user' => :'Integer',
|
|
45
41
|
:'source' => :'String',
|
|
46
42
|
:'identifier' => :'String',
|
|
47
43
|
:'plex_token' => :'String'
|
|
@@ -70,10 +66,6 @@ module Authentik::Api
|
|
|
70
66
|
h[k.to_sym] = v
|
|
71
67
|
}
|
|
72
68
|
|
|
73
|
-
if attributes.key?(:'user')
|
|
74
|
-
self.user = attributes[:'user']
|
|
75
|
-
end
|
|
76
|
-
|
|
77
69
|
if attributes.key?(:'source')
|
|
78
70
|
self.source = attributes[:'source']
|
|
79
71
|
end
|
|
@@ -145,7 +137,6 @@ module Authentik::Api
|
|
|
145
137
|
def ==(o)
|
|
146
138
|
return true if self.equal?(o)
|
|
147
139
|
self.class == o.class &&
|
|
148
|
-
user == o.user &&
|
|
149
140
|
source == o.source &&
|
|
150
141
|
identifier == o.identifier &&
|
|
151
142
|
plex_token == o.plex_token
|
|
@@ -160,7 +151,7 @@ module Authentik::Api
|
|
|
160
151
|
# Calculates hash code according to all attributes.
|
|
161
152
|
# @return [Integer] Hash code
|
|
162
153
|
def hash
|
|
163
|
-
[
|
|
154
|
+
[source, identifier, plex_token].hash
|
|
164
155
|
end
|
|
165
156
|
|
|
166
157
|
# Builds the object from hash
|