authentik-api 2026.2.3 → 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 +5 -5
- 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/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/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
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9e4db128d905288163d3d8e49cbe515408449eb0d82ed4121b6b1f2378504396
|
|
4
|
+
data.tar.gz: 29a2ae2b54871983b05244e5d0a32b5638a010781cf240ab4287c6d4935106b3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e743efd67795ff2d28a355b51889e63c79cabe6d3f8eead18d67828d7b59ae9c194e58aa97f4ddc250dc221d5dcf9281eaa2f0580206ff1c755befcbed7973a8
|
|
7
|
+
data.tar.gz: f1ac026fd648edb283708ea21d4964dcf2ce90d8bd87f30831250be948d898d9d4657a7a3d1fade6954a24eb3a5ea8a58942441e40d0a0f6f758dec5444bdc8b
|
data/README_API.md
CHANGED
|
@@ -6,8 +6,8 @@ Making authentication simple.
|
|
|
6
6
|
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
8
8
|
|
|
9
|
-
- API version: 2026.2.
|
|
10
|
-
- Package version: 2026.2.
|
|
9
|
+
- API version: 2026.2.4
|
|
10
|
+
- Package version: 2026.2.4
|
|
11
11
|
- Generator version: 7.23.0-SNAPSHOT
|
|
12
12
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
|
13
13
|
|
|
@@ -24,16 +24,16 @@ gem build authentik-api.gemspec
|
|
|
24
24
|
Then either install the gem locally:
|
|
25
25
|
|
|
26
26
|
```shell
|
|
27
|
-
gem install ./authentik-api-2026.2.
|
|
27
|
+
gem install ./authentik-api-2026.2.4.gem
|
|
28
28
|
```
|
|
29
29
|
|
|
30
|
-
(for development, run `gem install --dev ./authentik-api-2026.2.
|
|
30
|
+
(for development, run `gem install --dev ./authentik-api-2026.2.4.gem` to install the development dependencies)
|
|
31
31
|
|
|
32
32
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
|
33
33
|
|
|
34
34
|
Finally add this to the Gemfile:
|
|
35
35
|
|
|
36
|
-
gem 'authentik-api', '~> 2026.2.
|
|
36
|
+
gem 'authentik-api', '~> 2026.2.4'
|
|
37
37
|
|
|
38
38
|
### Install from Git
|
|
39
39
|
|
|
@@ -10,8 +10,6 @@ require 'time'
|
|
|
10
10
|
module Authentik::Api
|
|
11
11
|
# Group Source Connection
|
|
12
12
|
class GroupKerberosSourceConnectionRequest < 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
|
|
@@ -10,8 +10,6 @@ require 'time'
|
|
|
10
10
|
module Authentik::Api
|
|
11
11
|
# Group Source Connection
|
|
12
12
|
class GroupLDAPSourceConnectionRequest < 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
|
|
@@ -10,8 +10,6 @@ require 'time'
|
|
|
10
10
|
module Authentik::Api
|
|
11
11
|
# Group Source Connection
|
|
12
12
|
class GroupOAuthSourceConnectionRequest < 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
|
|
@@ -10,8 +10,6 @@ require 'time'
|
|
|
10
10
|
module Authentik::Api
|
|
11
11
|
# Group Source Connection
|
|
12
12
|
class GroupPlexSourceConnectionRequest < 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
|
|
@@ -10,8 +10,6 @@ require 'time'
|
|
|
10
10
|
module Authentik::Api
|
|
11
11
|
# Group Source Connection
|
|
12
12
|
class GroupSAMLSourceConnectionRequest < 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
|
|
@@ -10,8 +10,6 @@ require 'time'
|
|
|
10
10
|
module Authentik::Api
|
|
11
11
|
# Group Source Connection
|
|
12
12
|
class GroupSourceConnectionRequest < 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
|
|
@@ -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
|