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.
Files changed (86) hide show
  1. checksums.yaml +4 -4
  2. data/README_API.md +6 -6
  3. data/lib/authentik/api/api/admin_api.rb +1 -1
  4. data/lib/authentik/api/api/authenticators_api.rb +60 -60
  5. data/lib/authentik/api/api/core_api.rb +45 -45
  6. data/lib/authentik/api/api/crypto_api.rb +7 -7
  7. data/lib/authentik/api/api/endpoints_api.rb +35 -35
  8. data/lib/authentik/api/api/enterprise_api.rb +5 -5
  9. data/lib/authentik/api/api/events_api.rb +20 -20
  10. data/lib/authentik/api/api/flows_api.rb +16 -16
  11. data/lib/authentik/api/api/lifecycle_api.rb +5 -5
  12. data/lib/authentik/api/api/managed_api.rb +6 -6
  13. data/lib/authentik/api/api/oauth2_api.rb +9 -9
  14. data/lib/authentik/api/api/outposts_api.rb +22 -22
  15. data/lib/authentik/api/api/policies_api.rb +52 -52
  16. data/lib/authentik/api/api/propertymappings_api.rb +79 -79
  17. data/lib/authentik/api/api/providers_api.rb +88 -88
  18. data/lib/authentik/api/api/rac_api.rb +10 -10
  19. data/lib/authentik/api/api/rbac_api.rb +15 -15
  20. data/lib/authentik/api/api/reports_api.rb +2 -2
  21. data/lib/authentik/api/api/sources_api.rb +123 -123
  22. data/lib/authentik/api/api/ssf_api.rb +1 -1
  23. data/lib/authentik/api/api/stages_api.rb +142 -142
  24. data/lib/authentik/api/api/tasks_api.rb +6 -6
  25. data/lib/authentik/api/api/tenants_api.rb +10 -10
  26. data/lib/authentik/api/models/expiring_base_grant_model.rb +1 -1
  27. data/lib/authentik/api/models/group_kerberos_source_connection_request.rb +1 -27
  28. data/lib/authentik/api/models/group_ldap_source_connection_request.rb +1 -27
  29. data/lib/authentik/api/models/group_o_auth_source_connection_request.rb +1 -27
  30. data/lib/authentik/api/models/group_plex_source_connection_request.rb +1 -27
  31. data/lib/authentik/api/models/group_saml_source_connection_request.rb +1 -27
  32. data/lib/authentik/api/models/group_source_connection_request.rb +1 -27
  33. data/lib/authentik/api/models/group_telegram_source_connection_request.rb +1 -27
  34. data/lib/authentik/api/models/notification_rule.rb +1 -15
  35. data/lib/authentik/api/models/patched_group_kerberos_source_connection_request.rb +1 -10
  36. data/lib/authentik/api/models/patched_group_ldap_source_connection_request.rb +1 -10
  37. data/lib/authentik/api/models/patched_group_o_auth_source_connection_request.rb +1 -10
  38. data/lib/authentik/api/models/patched_group_plex_source_connection_request.rb +1 -10
  39. data/lib/authentik/api/models/patched_group_saml_source_connection_request.rb +1 -10
  40. data/lib/authentik/api/models/patched_group_source_connection_request.rb +1 -10
  41. data/lib/authentik/api/models/patched_group_telegram_source_connection_request.rb +1 -10
  42. data/lib/authentik/api/models/patched_user_kerberos_source_connection_request.rb +1 -10
  43. data/lib/authentik/api/models/patched_user_ldap_source_connection_request.rb +1 -10
  44. data/lib/authentik/api/models/patched_user_o_auth_source_connection_request.rb +1 -10
  45. data/lib/authentik/api/models/patched_user_plex_source_connection_request.rb +1 -10
  46. data/lib/authentik/api/models/patched_user_saml_source_connection_request.rb +1 -10
  47. data/lib/authentik/api/models/patched_user_source_connection_request.rb +1 -10
  48. data/lib/authentik/api/models/patched_user_telegram_source_connection_request.rb +1 -10
  49. data/lib/authentik/api/models/token_model.rb +1 -1
  50. data/lib/authentik/api/models/user_kerberos_source_connection_request.rb +1 -27
  51. data/lib/authentik/api/models/user_ldap_source_connection_request.rb +1 -27
  52. data/lib/authentik/api/models/user_o_auth_source_connection_request.rb +1 -27
  53. data/lib/authentik/api/models/user_plex_source_connection_request.rb +1 -27
  54. data/lib/authentik/api/models/user_saml_source_connection_request.rb +1 -27
  55. data/lib/authentik/api/models/user_source_connection_request.rb +1 -27
  56. data/lib/authentik/api/models/user_telegram_source_connection_request.rb +1 -27
  57. data/lib/authentik/api/version.rb +1 -1
  58. data/spec/models/group_kerberos_source_connection_request_spec.rb +0 -6
  59. data/spec/models/group_ldap_source_connection_request_spec.rb +0 -6
  60. data/spec/models/group_o_auth_source_connection_request_spec.rb +0 -6
  61. data/spec/models/group_plex_source_connection_request_spec.rb +0 -6
  62. data/spec/models/group_saml_source_connection_request_spec.rb +0 -6
  63. data/spec/models/group_source_connection_request_spec.rb +0 -6
  64. data/spec/models/group_telegram_source_connection_request_spec.rb +0 -6
  65. data/spec/models/patched_group_kerberos_source_connection_request_spec.rb +0 -6
  66. data/spec/models/patched_group_ldap_source_connection_request_spec.rb +0 -6
  67. data/spec/models/patched_group_o_auth_source_connection_request_spec.rb +0 -6
  68. data/spec/models/patched_group_plex_source_connection_request_spec.rb +0 -6
  69. data/spec/models/patched_group_saml_source_connection_request_spec.rb +0 -6
  70. data/spec/models/patched_group_source_connection_request_spec.rb +0 -6
  71. data/spec/models/patched_group_telegram_source_connection_request_spec.rb +0 -6
  72. data/spec/models/patched_user_kerberos_source_connection_request_spec.rb +0 -6
  73. data/spec/models/patched_user_ldap_source_connection_request_spec.rb +0 -6
  74. data/spec/models/patched_user_o_auth_source_connection_request_spec.rb +0 -6
  75. data/spec/models/patched_user_plex_source_connection_request_spec.rb +0 -6
  76. data/spec/models/patched_user_saml_source_connection_request_spec.rb +0 -6
  77. data/spec/models/patched_user_source_connection_request_spec.rb +0 -6
  78. data/spec/models/patched_user_telegram_source_connection_request_spec.rb +0 -6
  79. data/spec/models/user_kerberos_source_connection_request_spec.rb +0 -6
  80. data/spec/models/user_ldap_source_connection_request_spec.rb +0 -6
  81. data/spec/models/user_o_auth_source_connection_request_spec.rb +0 -6
  82. data/spec/models/user_plex_source_connection_request_spec.rb +0 -6
  83. data/spec/models/user_saml_source_connection_request_spec.rb +0 -6
  84. data/spec/models/user_source_connection_request_spec.rb +0 -6
  85. data/spec/models/user_telegram_source_connection_request_spec.rb +0 -6
  86. metadata +1 -1
@@ -118,7 +118,7 @@ module Authentik::Api
118
118
  fail ArgumentError, "Missing the required parameter 'id' when calling TasksApi.tasks_schedules_partial_update"
119
119
  end
120
120
  # resource path
121
- local_var_path = '/tasks/schedules/{id}/'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
121
+ local_var_path = '/tasks/schedules/{id}/'.sub('{id}', CGI.escape(id.to_s))
122
122
 
123
123
  # query parameters
124
124
  query_params = opts[:query_params] || {}
@@ -182,7 +182,7 @@ module Authentik::Api
182
182
  fail ArgumentError, "Missing the required parameter 'id' when calling TasksApi.tasks_schedules_retrieve"
183
183
  end
184
184
  # resource path
185
- local_var_path = '/tasks/schedules/{id}/'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
185
+ local_var_path = '/tasks/schedules/{id}/'.sub('{id}', CGI.escape(id.to_s))
186
186
 
187
187
  # query parameters
188
188
  query_params = opts[:query_params] || {}
@@ -243,7 +243,7 @@ module Authentik::Api
243
243
  fail ArgumentError, "Missing the required parameter 'id' when calling TasksApi.tasks_schedules_send_create"
244
244
  end
245
245
  # resource path
246
- local_var_path = '/tasks/schedules/{id}/send/'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
246
+ local_var_path = '/tasks/schedules/{id}/send/'.sub('{id}', CGI.escape(id.to_s))
247
247
 
248
248
  # query parameters
249
249
  query_params = opts[:query_params] || {}
@@ -308,7 +308,7 @@ module Authentik::Api
308
308
  fail ArgumentError, "Missing the required parameter 'schedule_request' when calling TasksApi.tasks_schedules_update"
309
309
  end
310
310
  # resource path
311
- local_var_path = '/tasks/schedules/{id}/'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
311
+ local_var_path = '/tasks/schedules/{id}/'.sub('{id}', CGI.escape(id.to_s))
312
312
 
313
313
  # query parameters
314
314
  query_params = opts[:query_params] || {}
@@ -469,7 +469,7 @@ module Authentik::Api
469
469
  fail ArgumentError, "Missing the required parameter 'message_id' when calling TasksApi.tasks_tasks_retrieve"
470
470
  end
471
471
  # resource path
472
- local_var_path = '/tasks/tasks/{message_id}/'.sub('{' + 'message_id' + '}', CGI.escape(message_id.to_s))
472
+ local_var_path = '/tasks/tasks/{message_id}/'.sub('{message_id}', CGI.escape(message_id.to_s))
473
473
 
474
474
  # query parameters
475
475
  query_params = opts[:query_params] || {}
@@ -530,7 +530,7 @@ module Authentik::Api
530
530
  fail ArgumentError, "Missing the required parameter 'message_id' when calling TasksApi.tasks_tasks_retry_create"
531
531
  end
532
532
  # resource path
533
- local_var_path = '/tasks/tasks/{message_id}/retry/'.sub('{' + 'message_id' + '}', CGI.escape(message_id.to_s))
533
+ local_var_path = '/tasks/tasks/{message_id}/retry/'.sub('{message_id}', CGI.escape(message_id.to_s))
534
534
 
535
535
  # query parameters
536
536
  query_params = opts[:query_params] || {}
@@ -101,7 +101,7 @@ module Authentik::Api
101
101
  fail ArgumentError, "Missing the required parameter 'id' when calling TenantsApi.tenants_domains_destroy"
102
102
  end
103
103
  # resource path
104
- local_var_path = '/tenants/domains/{id}/'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
104
+ local_var_path = '/tenants/domains/{id}/'.sub('{id}', CGI.escape(id.to_s))
105
105
 
106
106
  # query parameters
107
107
  query_params = opts[:query_params] || {}
@@ -231,7 +231,7 @@ module Authentik::Api
231
231
  fail ArgumentError, "Missing the required parameter 'id' when calling TenantsApi.tenants_domains_partial_update"
232
232
  end
233
233
  # resource path
234
- local_var_path = '/tenants/domains/{id}/'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
234
+ local_var_path = '/tenants/domains/{id}/'.sub('{id}', CGI.escape(id.to_s))
235
235
 
236
236
  # query parameters
237
237
  query_params = opts[:query_params] || {}
@@ -297,7 +297,7 @@ module Authentik::Api
297
297
  fail ArgumentError, "Missing the required parameter 'id' when calling TenantsApi.tenants_domains_retrieve"
298
298
  end
299
299
  # resource path
300
- local_var_path = '/tenants/domains/{id}/'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
300
+ local_var_path = '/tenants/domains/{id}/'.sub('{id}', CGI.escape(id.to_s))
301
301
 
302
302
  # query parameters
303
303
  query_params = opts[:query_params] || {}
@@ -364,7 +364,7 @@ module Authentik::Api
364
364
  fail ArgumentError, "Missing the required parameter 'domain_request' when calling TenantsApi.tenants_domains_update"
365
365
  end
366
366
  # resource path
367
- local_var_path = '/tenants/domains/{id}/'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
367
+ local_var_path = '/tenants/domains/{id}/'.sub('{id}', CGI.escape(id.to_s))
368
368
 
369
369
  # query parameters
370
370
  query_params = opts[:query_params] || {}
@@ -502,7 +502,7 @@ module Authentik::Api
502
502
  fail ArgumentError, "Missing the required parameter 'tenant_admin_group_request_request' when calling TenantsApi.tenants_tenants_create_admin_group_create"
503
503
  end
504
504
  # resource path
505
- local_var_path = '/tenants/tenants/{tenant_uuid}/create_admin_group/'.sub('{' + 'tenant_uuid' + '}', CGI.escape(tenant_uuid.to_s))
505
+ local_var_path = '/tenants/tenants/{tenant_uuid}/create_admin_group/'.sub('{tenant_uuid}', CGI.escape(tenant_uuid.to_s))
506
506
 
507
507
  # query parameters
508
508
  query_params = opts[:query_params] || {}
@@ -574,7 +574,7 @@ module Authentik::Api
574
574
  fail ArgumentError, "Missing the required parameter 'tenant_recovery_key_request_request' when calling TenantsApi.tenants_tenants_create_recovery_key_create"
575
575
  end
576
576
  # resource path
577
- local_var_path = '/tenants/tenants/{tenant_uuid}/create_recovery_key/'.sub('{' + 'tenant_uuid' + '}', CGI.escape(tenant_uuid.to_s))
577
+ local_var_path = '/tenants/tenants/{tenant_uuid}/create_recovery_key/'.sub('{tenant_uuid}', CGI.escape(tenant_uuid.to_s))
578
578
 
579
579
  # query parameters
580
580
  query_params = opts[:query_params] || {}
@@ -640,7 +640,7 @@ module Authentik::Api
640
640
  fail ArgumentError, "Missing the required parameter 'tenant_uuid' when calling TenantsApi.tenants_tenants_destroy"
641
641
  end
642
642
  # resource path
643
- local_var_path = '/tenants/tenants/{tenant_uuid}/'.sub('{' + 'tenant_uuid' + '}', CGI.escape(tenant_uuid.to_s))
643
+ local_var_path = '/tenants/tenants/{tenant_uuid}/'.sub('{tenant_uuid}', CGI.escape(tenant_uuid.to_s))
644
644
 
645
645
  # query parameters
646
646
  query_params = opts[:query_params] || {}
@@ -770,7 +770,7 @@ module Authentik::Api
770
770
  fail ArgumentError, "Missing the required parameter 'tenant_uuid' when calling TenantsApi.tenants_tenants_partial_update"
771
771
  end
772
772
  # resource path
773
- local_var_path = '/tenants/tenants/{tenant_uuid}/'.sub('{' + 'tenant_uuid' + '}', CGI.escape(tenant_uuid.to_s))
773
+ local_var_path = '/tenants/tenants/{tenant_uuid}/'.sub('{tenant_uuid}', CGI.escape(tenant_uuid.to_s))
774
774
 
775
775
  # query parameters
776
776
  query_params = opts[:query_params] || {}
@@ -836,7 +836,7 @@ module Authentik::Api
836
836
  fail ArgumentError, "Missing the required parameter 'tenant_uuid' when calling TenantsApi.tenants_tenants_retrieve"
837
837
  end
838
838
  # resource path
839
- local_var_path = '/tenants/tenants/{tenant_uuid}/'.sub('{' + 'tenant_uuid' + '}', CGI.escape(tenant_uuid.to_s))
839
+ local_var_path = '/tenants/tenants/{tenant_uuid}/'.sub('{tenant_uuid}', CGI.escape(tenant_uuid.to_s))
840
840
 
841
841
  # query parameters
842
842
  query_params = opts[:query_params] || {}
@@ -903,7 +903,7 @@ module Authentik::Api
903
903
  fail ArgumentError, "Missing the required parameter 'tenant_request' when calling TenantsApi.tenants_tenants_update"
904
904
  end
905
905
  # resource path
906
- local_var_path = '/tenants/tenants/{tenant_uuid}/'.sub('{' + 'tenant_uuid' + '}', CGI.escape(tenant_uuid.to_s))
906
+ local_var_path = '/tenants/tenants/{tenant_uuid}/'.sub('{tenant_uuid}', CGI.escape(tenant_uuid.to_s))
907
907
 
908
908
  # query parameters
909
909
  query_params = opts[:query_params] || {}
@@ -49,7 +49,7 @@ module Authentik::Api
49
49
  def self.openapi_types
50
50
  {
51
51
  :'pk' => :'Integer',
52
- :'provider' => :'OAuth2Provider',
52
+ :'provider' => :'Provider',
53
53
  :'user' => :'User',
54
54
  :'is_expired' => :'Boolean',
55
55
  :'expires' => :'Time',
@@ -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