authentik-api 2026.5.0 → 2026.5.2

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.
Files changed (60) hide show
  1. checksums.yaml +4 -4
  2. data/README_API.md +5 -5
  3. data/lib/authentik/api/models/group_kerberos_source_connection_request.rb +1 -27
  4. data/lib/authentik/api/models/group_ldap_source_connection_request.rb +1 -27
  5. data/lib/authentik/api/models/group_o_auth_source_connection_request.rb +1 -27
  6. data/lib/authentik/api/models/group_plex_source_connection_request.rb +1 -27
  7. data/lib/authentik/api/models/group_saml_source_connection_request.rb +1 -27
  8. data/lib/authentik/api/models/group_source_connection_request.rb +1 -27
  9. data/lib/authentik/api/models/group_telegram_source_connection_request.rb +1 -27
  10. data/lib/authentik/api/models/patched_group_kerberos_source_connection_request.rb +1 -10
  11. data/lib/authentik/api/models/patched_group_ldap_source_connection_request.rb +1 -10
  12. data/lib/authentik/api/models/patched_group_o_auth_source_connection_request.rb +1 -10
  13. data/lib/authentik/api/models/patched_group_plex_source_connection_request.rb +1 -10
  14. data/lib/authentik/api/models/patched_group_saml_source_connection_request.rb +1 -10
  15. data/lib/authentik/api/models/patched_group_source_connection_request.rb +1 -10
  16. data/lib/authentik/api/models/patched_group_telegram_source_connection_request.rb +1 -10
  17. data/lib/authentik/api/models/patched_user_kerberos_source_connection_request.rb +1 -10
  18. data/lib/authentik/api/models/patched_user_ldap_source_connection_request.rb +1 -10
  19. data/lib/authentik/api/models/patched_user_o_auth_source_connection_request.rb +1 -10
  20. data/lib/authentik/api/models/patched_user_plex_source_connection_request.rb +1 -10
  21. data/lib/authentik/api/models/patched_user_saml_source_connection_request.rb +1 -10
  22. data/lib/authentik/api/models/patched_user_source_connection_request.rb +1 -10
  23. data/lib/authentik/api/models/patched_user_telegram_source_connection_request.rb +1 -10
  24. data/lib/authentik/api/models/user_kerberos_source_connection_request.rb +1 -27
  25. data/lib/authentik/api/models/user_ldap_source_connection_request.rb +1 -27
  26. data/lib/authentik/api/models/user_o_auth_source_connection_request.rb +1 -27
  27. data/lib/authentik/api/models/user_plex_source_connection_request.rb +1 -27
  28. data/lib/authentik/api/models/user_saml_source_connection_request.rb +1 -27
  29. data/lib/authentik/api/models/user_source_connection_request.rb +1 -27
  30. data/lib/authentik/api/models/user_telegram_source_connection_request.rb +1 -27
  31. data/lib/authentik/api/version.rb +1 -1
  32. data/spec/models/group_kerberos_source_connection_request_spec.rb +0 -6
  33. data/spec/models/group_ldap_source_connection_request_spec.rb +0 -6
  34. data/spec/models/group_o_auth_source_connection_request_spec.rb +0 -6
  35. data/spec/models/group_plex_source_connection_request_spec.rb +0 -6
  36. data/spec/models/group_saml_source_connection_request_spec.rb +0 -6
  37. data/spec/models/group_source_connection_request_spec.rb +0 -6
  38. data/spec/models/group_telegram_source_connection_request_spec.rb +0 -6
  39. data/spec/models/patched_group_kerberos_source_connection_request_spec.rb +0 -6
  40. data/spec/models/patched_group_ldap_source_connection_request_spec.rb +0 -6
  41. data/spec/models/patched_group_o_auth_source_connection_request_spec.rb +0 -6
  42. data/spec/models/patched_group_plex_source_connection_request_spec.rb +0 -6
  43. data/spec/models/patched_group_saml_source_connection_request_spec.rb +0 -6
  44. data/spec/models/patched_group_source_connection_request_spec.rb +0 -6
  45. data/spec/models/patched_group_telegram_source_connection_request_spec.rb +0 -6
  46. data/spec/models/patched_user_kerberos_source_connection_request_spec.rb +0 -6
  47. data/spec/models/patched_user_ldap_source_connection_request_spec.rb +0 -6
  48. data/spec/models/patched_user_o_auth_source_connection_request_spec.rb +0 -6
  49. data/spec/models/patched_user_plex_source_connection_request_spec.rb +0 -6
  50. data/spec/models/patched_user_saml_source_connection_request_spec.rb +0 -6
  51. data/spec/models/patched_user_source_connection_request_spec.rb +0 -6
  52. data/spec/models/patched_user_telegram_source_connection_request_spec.rb +0 -6
  53. data/spec/models/user_kerberos_source_connection_request_spec.rb +0 -6
  54. data/spec/models/user_ldap_source_connection_request_spec.rb +0 -6
  55. data/spec/models/user_o_auth_source_connection_request_spec.rb +0 -6
  56. data/spec/models/user_plex_source_connection_request_spec.rb +0 -6
  57. data/spec/models/user_saml_source_connection_request_spec.rb +0 -6
  58. data/spec/models/user_source_connection_request_spec.rb +0 -6
  59. data/spec/models/user_telegram_source_connection_request_spec.rb +0 -6
  60. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2501a87d81262d97385ffd00c1c9c28943d752ae68dbee2db4aeba7893aaf59d
4
- data.tar.gz: '0669e5a727519a8f3f92148e8b7c0523ce234a7ddff55b93b76924044dc1e5ae'
3
+ metadata.gz: 016ce1daf16b96d29541d94e02975cbf1082035c72653fe7b9d530c8f3e1cd1b
4
+ data.tar.gz: bed6278fb9074ca05b0e5e42ba5de7077af2e25a9242dfbcdb79ba34b21e0ce6
5
5
  SHA512:
6
- metadata.gz: 8afa689eb4406f397d54e61b94d5ce73cf67dd72d096756dfcd82e48d6e845ce39e475c3e7a20341401d633d732e4461647f84e06de9830dc767fb2a1640b9fa
7
- data.tar.gz: f330a9adad753ba0e93ab3db8e2c44f5d86d1ded7f00169d1cdced6895f42c45bf0e01b01651f4fc800d987a3fca7490c12ca9ce75bc5e04fb6e058e15ae2f1b
6
+ metadata.gz: 10156f0bdb4236fc38c14ba3cbb11986dc71e2bea0aa3c2c882e93e7b63fdf0518b6f13cae0fb6a9cac9f4d0887dc409148a2b050b224b7adc66774a6ac13fc4
7
+ data.tar.gz: 4fd5df7be699f9123a4c74700745e068c152c7603d704c29b1ed638e286c3be97475e00851c3aba1a755c524009aeb0436dfac295881bbfa8bd47ddda3246702
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.5.0
10
- - Package version: 2026.5.0
9
+ - API version: 2026.5.2
10
+ - Package version: 2026.5.2
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.5.0.gem
27
+ gem install ./authentik-api-2026.5.2.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./authentik-api-2026.5.0.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./authentik-api-2026.5.2.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.5.0'
36
+ gem 'authentik-api', '~> 2026.5.2'
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
- [group, source, identifier].hash
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
- [group, source, identifier].hash
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
- [group, source, identifier].hash
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
- [group, source, identifier].hash
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
- [group, source, identifier].hash
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
- [group, source, identifier].hash
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
- [group, source, identifier].hash
150
+ [source, identifier].hash
177
151
  end
178
152
 
179
153
  # Builds the object from hash