authentik-api 2025.12.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 +7 -0
- data/CODE_OF_CONDUCT.md +10 -0
- data/LICENSE.md +27 -0
- data/README.md +90 -0
- data/README_API.md +2016 -0
- data/Rakefile +10 -0
- data/lib/authentik/api/api/admin_api.rb +876 -0
- data/lib/authentik/api/api/authenticators_api.rb +5465 -0
- data/lib/authentik/api/api/core_api.rb +4576 -0
- data/lib/authentik/api/api/crypto_api.rb +685 -0
- data/lib/authentik/api/api/endpoints_api.rb +3196 -0
- data/lib/authentik/api/api/enterprise_api.rb +643 -0
- data/lib/authentik/api/api/events_api.rb +2210 -0
- data/lib/authentik/api/api/flows_api.rb +1552 -0
- data/lib/authentik/api/api/managed_api.rb +594 -0
- data/lib/authentik/api/api/oauth2_api.rb +784 -0
- data/lib/authentik/api/api/outposts_api.rb +2282 -0
- data/lib/authentik/api/api/policies_api.rb +5147 -0
- data/lib/authentik/api/api/propertymappings_api.rb +7382 -0
- data/lib/authentik/api/api/providers_api.rb +7879 -0
- data/lib/authentik/api/api/rac_api.rb +880 -0
- data/lib/authentik/api/api/rbac_api.rb +1528 -0
- data/lib/authentik/api/api/reports_api.rb +199 -0
- data/lib/authentik/api/api/root_api.rb +71 -0
- data/lib/authentik/api/api/schema_api.rb +85 -0
- data/lib/authentik/api/api/sources_api.rb +11729 -0
- data/lib/authentik/api/api/ssf_api.rb +157 -0
- data/lib/authentik/api/api/stages_api.rb +13639 -0
- data/lib/authentik/api/api/tasks_api.rb +682 -0
- data/lib/authentik/api/api/tenants_api.rb +950 -0
- data/lib/authentik/api/api_client.rb +391 -0
- data/lib/authentik/api/api_error.rb +52 -0
- data/lib/authentik/api/api_model_base.rb +82 -0
- data/lib/authentik/api/configuration.rb +302 -0
- data/lib/authentik/api/inflector.rb +31 -0
- data/lib/authentik/api/models/access_denied_challenge.rb +225 -0
- data/lib/authentik/api/models/agent_authentication_response.rb +159 -0
- data/lib/authentik/api/models/agent_config.rb +377 -0
- data/lib/authentik/api/models/agent_connector.rb +443 -0
- data/lib/authentik/api/models/agent_connector_request.rb +420 -0
- data/lib/authentik/api/models/agent_psso_device_registration_request.rb +273 -0
- data/lib/authentik/api/models/agent_psso_device_registration_response.rb +289 -0
- data/lib/authentik/api/models/agent_psso_user_registration_request.rb +238 -0
- data/lib/authentik/api/models/agent_token_response.rb +168 -0
- data/lib/authentik/api/models/alg_enum.rb +34 -0
- data/lib/authentik/api/models/app.rb +185 -0
- data/lib/authentik/api/models/app_enum.rb +108 -0
- data/lib/authentik/api/models/apple_challenge_response_request.rb +163 -0
- data/lib/authentik/api/models/apple_login_challenge.rb +268 -0
- data/lib/authentik/api/models/application.rb +423 -0
- data/lib/authentik/api/models/application_entitlement.rb +222 -0
- data/lib/authentik/api/models/application_entitlement_request.rb +205 -0
- data/lib/authentik/api/models/application_request.rb +323 -0
- data/lib/authentik/api/models/auth_type_enum.rb +34 -0
- data/lib/authentik/api/models/authenticated_session.rb +349 -0
- data/lib/authentik/api/models/authenticated_session_asn.rb +169 -0
- data/lib/authentik/api/models/authenticated_session_geo_ip.rb +207 -0
- data/lib/authentik/api/models/authenticated_session_user_agent.rb +237 -0
- data/lib/authentik/api/models/authenticated_session_user_agent_device.rb +211 -0
- data/lib/authentik/api/models/authenticated_session_user_agent_os.rb +263 -0
- data/lib/authentik/api/models/authenticated_session_user_agent_user_agent.rb +237 -0
- data/lib/authentik/api/models/authentication_enum.rb +38 -0
- data/lib/authentik/api/models/authenticator_attachment_enum.rb +34 -0
- data/lib/authentik/api/models/authenticator_duo_challenge.rb +294 -0
- data/lib/authentik/api/models/authenticator_duo_challenge_response_request.rb +163 -0
- data/lib/authentik/api/models/authenticator_duo_stage.rb +402 -0
- data/lib/authentik/api/models/authenticator_duo_stage_device_import_response.rb +184 -0
- data/lib/authentik/api/models/authenticator_duo_stage_manual_device_import_request.rb +202 -0
- data/lib/authentik/api/models/authenticator_duo_stage_request.rb +311 -0
- data/lib/authentik/api/models/authenticator_email_challenge.rb +237 -0
- data/lib/authentik/api/models/authenticator_email_challenge_response_request.rb +219 -0
- data/lib/authentik/api/models/authenticator_email_stage.rb +526 -0
- data/lib/authentik/api/models/authenticator_email_stage_request.rb +458 -0
- data/lib/authentik/api/models/authenticator_endpoint_gdtc_stage.rb +369 -0
- data/lib/authentik/api/models/authenticator_endpoint_gdtc_stage_request.rb +216 -0
- data/lib/authentik/api/models/authenticator_sms_challenge.rb +227 -0
- data/lib/authentik/api/models/authenticator_sms_challenge_response_request.rb +219 -0
- data/lib/authentik/api/models/authenticator_sms_stage.rb +506 -0
- data/lib/authentik/api/models/authenticator_sms_stage_request.rb +380 -0
- data/lib/authentik/api/models/authenticator_static_challenge.rb +244 -0
- data/lib/authentik/api/models/authenticator_static_challenge_response_request.rb +163 -0
- data/lib/authentik/api/models/authenticator_static_stage.rb +415 -0
- data/lib/authentik/api/models/authenticator_static_stage_request.rb +262 -0
- data/lib/authentik/api/models/authenticator_totp_challenge.rb +242 -0
- data/lib/authentik/api/models/authenticator_totp_challenge_response_request.rb +198 -0
- data/lib/authentik/api/models/authenticator_totp_stage.rb +389 -0
- data/lib/authentik/api/models/authenticator_totp_stage_request.rb +236 -0
- data/lib/authentik/api/models/authenticator_validate_stage.rb +435 -0
- data/lib/authentik/api/models/authenticator_validate_stage_request.rb +273 -0
- data/lib/authentik/api/models/authenticator_validation_challenge.rb +272 -0
- data/lib/authentik/api/models/authenticator_validation_challenge_response_request.rb +248 -0
- data/lib/authentik/api/models/authenticator_web_authn_challenge.rb +244 -0
- data/lib/authentik/api/models/authenticator_web_authn_challenge_response_request.rb +191 -0
- data/lib/authentik/api/models/authenticator_web_authn_stage.rb +467 -0
- data/lib/authentik/api/models/authenticator_web_authn_stage_request.rb +286 -0
- data/lib/authentik/api/models/authorization_code_auth_method_enum.rb +34 -0
- data/lib/authentik/api/models/auto_submit_challenge_response_request.rb +163 -0
- data/lib/authentik/api/models/autosubmit_challenge.rb +227 -0
- data/lib/authentik/api/models/backends_enum.rb +36 -0
- data/lib/authentik/api/models/binding_type_enum.rb +35 -0
- data/lib/authentik/api/models/blueprint_file.rb +236 -0
- data/lib/authentik/api/models/blueprint_instance.rb +381 -0
- data/lib/authentik/api/models/blueprint_instance_request.rb +208 -0
- data/lib/authentik/api/models/blueprint_instance_status_enum.rb +37 -0
- data/lib/authentik/api/models/brand.rb +345 -0
- data/lib/authentik/api/models/brand_request.rb +404 -0
- data/lib/authentik/api/models/cache.rb +159 -0
- data/lib/authentik/api/models/capabilities_enum.rb +39 -0
- data/lib/authentik/api/models/captcha_challenge.rb +294 -0
- data/lib/authentik/api/models/captcha_challenge_response_request.rb +198 -0
- data/lib/authentik/api/models/captcha_stage.rb +403 -0
- data/lib/authentik/api/models/captcha_stage_request.rb +333 -0
- data/lib/authentik/api/models/cert_attribute_enum.rb +35 -0
- data/lib/authentik/api/models/certificate_data.rb +159 -0
- data/lib/authentik/api/models/certificate_generation_request.rb +234 -0
- data/lib/authentik/api/models/certificate_key_pair.rb +365 -0
- data/lib/authentik/api/models/certificate_key_pair_request.rb +214 -0
- data/lib/authentik/api/models/challenge_types.rb +105 -0
- data/lib/authentik/api/models/client_type_enum.rb +34 -0
- data/lib/authentik/api/models/compatibility_mode_enum.rb +36 -0
- data/lib/authentik/api/models/config.rb +265 -0
- data/lib/authentik/api/models/connection_token.rb +272 -0
- data/lib/authentik/api/models/connection_token_request.rb +194 -0
- data/lib/authentik/api/models/connector.rb +284 -0
- data/lib/authentik/api/models/consent_challenge.rb +307 -0
- data/lib/authentik/api/models/consent_challenge_response_request.rb +198 -0
- data/lib/authentik/api/models/consent_permission.rb +185 -0
- data/lib/authentik/api/models/consent_stage.rb +362 -0
- data/lib/authentik/api/models/consent_stage_mode_enum.rb +35 -0
- data/lib/authentik/api/models/consent_stage_request.rb +228 -0
- data/lib/authentik/api/models/content_type.rb +236 -0
- data/lib/authentik/api/models/contextual_flow_info.rb +235 -0
- data/lib/authentik/api/models/contextual_flow_info_layout_enum.rb +37 -0
- data/lib/authentik/api/models/country_code_enum.rb +281 -0
- data/lib/authentik/api/models/current_brand.rb +469 -0
- data/lib/authentik/api/models/current_brand_flags.rb +184 -0
- data/lib/authentik/api/models/data_export.rb +317 -0
- data/lib/authentik/api/models/delivery_method_enum.rb +34 -0
- data/lib/authentik/api/models/denied_action_enum.rb +35 -0
- data/lib/authentik/api/models/deny_stage.rb +330 -0
- data/lib/authentik/api/models/deny_stage_request.rb +177 -0
- data/lib/authentik/api/models/detailed_country.rb +206 -0
- data/lib/authentik/api/models/detailed_country_field.rb +206 -0
- data/lib/authentik/api/models/device.rb +409 -0
- data/lib/authentik/api/models/device_access_group.rb +184 -0
- data/lib/authentik/api/models/device_access_group_request.rb +167 -0
- data/lib/authentik/api/models/device_challenge.rb +247 -0
- data/lib/authentik/api/models/device_challenge_request.rb +256 -0
- data/lib/authentik/api/models/device_classes_enum.rb +38 -0
- data/lib/authentik/api/models/device_connection.rb +222 -0
- data/lib/authentik/api/models/device_fact_snapshot.rb +222 -0
- data/lib/authentik/api/models/device_facts.rb +233 -0
- data/lib/authentik/api/models/device_facts_os_family.rb +40 -0
- data/lib/authentik/api/models/device_facts_request.rb +233 -0
- data/lib/authentik/api/models/device_group.rb +167 -0
- data/lib/authentik/api/models/device_group_request.rb +195 -0
- data/lib/authentik/api/models/device_summary.rb +211 -0
- data/lib/authentik/api/models/device_user.rb +185 -0
- data/lib/authentik/api/models/device_user_binding.rb +451 -0
- data/lib/authentik/api/models/device_user_binding_request.rb +309 -0
- data/lib/authentik/api/models/device_user_request.rb +251 -0
- data/lib/authentik/api/models/digest_algorithm_enum.rb +36 -0
- data/lib/authentik/api/models/digits_enum.rb +34 -0
- data/lib/authentik/api/models/disk.rb +222 -0
- data/lib/authentik/api/models/disk_request.rb +240 -0
- data/lib/authentik/api/models/docker_service_connection.rb +351 -0
- data/lib/authentik/api/models/docker_service_connection_request.rb +236 -0
- data/lib/authentik/api/models/domain.rb +229 -0
- data/lib/authentik/api/models/domain_request.rb +212 -0
- data/lib/authentik/api/models/dummy_challenge.rb +190 -0
- data/lib/authentik/api/models/dummy_challenge_response_request.rb +163 -0
- data/lib/authentik/api/models/dummy_policy.rb +413 -0
- data/lib/authentik/api/models/dummy_policy_request.rb +261 -0
- data/lib/authentik/api/models/dummy_stage.rb +330 -0
- data/lib/authentik/api/models/dummy_stage_request.rb +177 -0
- data/lib/authentik/api/models/duo_device.rb +221 -0
- data/lib/authentik/api/models/duo_device_enrollment_status.rb +180 -0
- data/lib/authentik/api/models/duo_device_request.rb +178 -0
- data/lib/authentik/api/models/duo_response_enum.rb +35 -0
- data/lib/authentik/api/models/email_challenge.rb +164 -0
- data/lib/authentik/api/models/email_challenge_response_request.rb +163 -0
- data/lib/authentik/api/models/email_device.rb +247 -0
- data/lib/authentik/api/models/email_device_request.rb +178 -0
- data/lib/authentik/api/models/email_stage.rb +554 -0
- data/lib/authentik/api/models/email_stage_request.rb +514 -0
- data/lib/authentik/api/models/endpoint.rb +409 -0
- data/lib/authentik/api/models/endpoint_agent_challenge.rb +216 -0
- data/lib/authentik/api/models/endpoint_agent_challenge_response_request.rb +188 -0
- data/lib/authentik/api/models/endpoint_auth_mode_enum.rb +34 -0
- data/lib/authentik/api/models/endpoint_device.rb +268 -0
- data/lib/authentik/api/models/endpoint_device_details.rb +352 -0
- data/lib/authentik/api/models/endpoint_device_request.rb +225 -0
- data/lib/authentik/api/models/endpoint_request.rb +362 -0
- data/lib/authentik/api/models/endpoint_stage.rb +404 -0
- data/lib/authentik/api/models/endpoint_stage_request.rb +225 -0
- data/lib/authentik/api/models/enroll_request.rb +203 -0
- data/lib/authentik/api/models/enrollment_token.rb +265 -0
- data/lib/authentik/api/models/enrollment_token_request.rb +222 -0
- data/lib/authentik/api/models/error_detail.rb +185 -0
- data/lib/authentik/api/models/error_reporting_config.rb +263 -0
- data/lib/authentik/api/models/event.rb +311 -0
- data/lib/authentik/api/models/event_actions.rb +60 -0
- data/lib/authentik/api/models/event_matcher_policy.rb +396 -0
- data/lib/authentik/api/models/event_matcher_policy_request.rb +259 -0
- data/lib/authentik/api/models/event_request.rb +283 -0
- data/lib/authentik/api/models/event_top_per_user.rb +213 -0
- data/lib/authentik/api/models/event_volume.rb +233 -0
- data/lib/authentik/api/models/events_requested_enum.rb +35 -0
- data/lib/authentik/api/models/expiring_base_grant_model.rb +276 -0
- data/lib/authentik/api/models/expression_policy.rb +356 -0
- data/lib/authentik/api/models/expression_policy_request.rb +213 -0
- data/lib/authentik/api/models/extra_role_object_permission.rb +356 -0
- data/lib/authentik/api/models/file_list.rb +221 -0
- data/lib/authentik/api/models/flow.rb +532 -0
- data/lib/authentik/api/models/flow_challenge_response_request.rb +97 -0
- data/lib/authentik/api/models/flow_designation_enum.rb +39 -0
- data/lib/authentik/api/models/flow_diagram.rb +159 -0
- data/lib/authentik/api/models/flow_error_challenge.rb +208 -0
- data/lib/authentik/api/models/flow_import_result.rb +187 -0
- data/lib/authentik/api/models/flow_inspection.rb +196 -0
- data/lib/authentik/api/models/flow_inspector_plan.rb +241 -0
- data/lib/authentik/api/models/flow_layout_enum.rb +37 -0
- data/lib/authentik/api/models/flow_request.rb +358 -0
- data/lib/authentik/api/models/flow_set.rb +417 -0
- data/lib/authentik/api/models/flow_stage_binding.rb +368 -0
- data/lib/authentik/api/models/flow_stage_binding_request.rb +290 -0
- data/lib/authentik/api/models/footer_link.rb +171 -0
- data/lib/authentik/api/models/frame_challenge.rb +227 -0
- data/lib/authentik/api/models/frame_challenge_response_request.rb +163 -0
- data/lib/authentik/api/models/generic_error.rb +168 -0
- data/lib/authentik/api/models/geo_ip_policy.rb +572 -0
- data/lib/authentik/api/models/geo_ip_policy_request.rb +392 -0
- data/lib/authentik/api/models/geoip_binding_enum.rb +36 -0
- data/lib/authentik/api/models/global_task_status.rb +392 -0
- data/lib/authentik/api/models/google_endpoint_device.rb +178 -0
- data/lib/authentik/api/models/google_endpoint_device_request.rb +187 -0
- data/lib/authentik/api/models/google_workspace_provider.rb +557 -0
- data/lib/authentik/api/models/google_workspace_provider_group.rb +291 -0
- data/lib/authentik/api/models/google_workspace_provider_group_request.rb +220 -0
- data/lib/authentik/api/models/google_workspace_provider_mapping.rb +330 -0
- data/lib/authentik/api/models/google_workspace_provider_mapping_request.rb +229 -0
- data/lib/authentik/api/models/google_workspace_provider_request.rb +462 -0
- data/lib/authentik/api/models/google_workspace_provider_user.rb +291 -0
- data/lib/authentik/api/models/google_workspace_provider_user_request.rb +220 -0
- data/lib/authentik/api/models/group.rb +377 -0
- data/lib/authentik/api/models/group_kerberos_source_connection.rb +315 -0
- data/lib/authentik/api/models/group_kerberos_source_connection_request.rb +220 -0
- data/lib/authentik/api/models/group_ldap_source_connection.rb +315 -0
- data/lib/authentik/api/models/group_ldap_source_connection_request.rb +220 -0
- data/lib/authentik/api/models/group_matching_mode_enum.rb +35 -0
- data/lib/authentik/api/models/group_o_auth_source_connection.rb +315 -0
- data/lib/authentik/api/models/group_o_auth_source_connection_request.rb +220 -0
- data/lib/authentik/api/models/group_plex_source_connection.rb +315 -0
- data/lib/authentik/api/models/group_plex_source_connection_request.rb +220 -0
- data/lib/authentik/api/models/group_request.rb +222 -0
- data/lib/authentik/api/models/group_saml_source_connection.rb +315 -0
- data/lib/authentik/api/models/group_saml_source_connection_request.rb +220 -0
- data/lib/authentik/api/models/group_source_connection.rb +315 -0
- data/lib/authentik/api/models/group_source_connection_request.rb +220 -0
- data/lib/authentik/api/models/group_telegram_source_connection.rb +315 -0
- data/lib/authentik/api/models/group_telegram_source_connection_request.rb +220 -0
- data/lib/authentik/api/models/hardware.rb +203 -0
- data/lib/authentik/api/models/hardware_request.rb +269 -0
- data/lib/authentik/api/models/identification_challenge.rb +395 -0
- data/lib/authentik/api/models/identification_challenge_response_request.rb +205 -0
- data/lib/authentik/api/models/identification_stage.rb +460 -0
- data/lib/authentik/api/models/identification_stage_request.rb +307 -0
- data/lib/authentik/api/models/iframe_logout_challenge.rb +175 -0
- data/lib/authentik/api/models/iframe_logout_challenge_response_request.rb +163 -0
- data/lib/authentik/api/models/impersonation_request.rb +167 -0
- data/lib/authentik/api/models/initial_permissions.rb +259 -0
- data/lib/authentik/api/models/initial_permissions_request.rb +214 -0
- data/lib/authentik/api/models/install_id.rb +158 -0
- data/lib/authentik/api/models/intent_enum.rb +36 -0
- data/lib/authentik/api/models/invalid_response_action_enum.rb +35 -0
- data/lib/authentik/api/models/invitation.rb +290 -0
- data/lib/authentik/api/models/invitation_request.rb +221 -0
- data/lib/authentik/api/models/invitation_stage.rb +331 -0
- data/lib/authentik/api/models/invitation_stage_request.rb +178 -0
- data/lib/authentik/api/models/issuer_mode_enum.rb +34 -0
- data/lib/authentik/api/models/kadmin_type_enum.rb +34 -0
- data/lib/authentik/api/models/kerberos_source.rb +657 -0
- data/lib/authentik/api/models/kerberos_source_property_mapping.rb +330 -0
- data/lib/authentik/api/models/kerberos_source_property_mapping_request.rb +229 -0
- data/lib/authentik/api/models/kerberos_source_request.rb +533 -0
- data/lib/authentik/api/models/key_type_enum.rb +37 -0
- data/lib/authentik/api/models/kubernetes_service_connection.rb +324 -0
- data/lib/authentik/api/models/kubernetes_service_connection_request.rb +200 -0
- data/lib/authentik/api/models/last_task_status_enum.rb +42 -0
- data/lib/authentik/api/models/ldap_check_access.rb +168 -0
- data/lib/authentik/api/models/ldap_debug.rb +216 -0
- data/lib/authentik/api/models/ldap_outpost_config.rb +406 -0
- data/lib/authentik/api/models/ldap_provider.rb +604 -0
- data/lib/authentik/api/models/ldap_provider_request.rb +418 -0
- data/lib/authentik/api/models/ldap_source.rb +769 -0
- data/lib/authentik/api/models/ldap_source_property_mapping.rb +330 -0
- data/lib/authentik/api/models/ldap_source_property_mapping_request.rb +229 -0
- data/lib/authentik/api/models/ldap_source_request.rb +728 -0
- data/lib/authentik/api/models/ldapapi_access_mode.rb +34 -0
- data/lib/authentik/api/models/license.rb +289 -0
- data/lib/authentik/api/models/license_flags_enum.rb +34 -0
- data/lib/authentik/api/models/license_forecast.rb +237 -0
- data/lib/authentik/api/models/license_request.rb +168 -0
- data/lib/authentik/api/models/license_status_enum.rb +39 -0
- data/lib/authentik/api/models/license_summary.rb +287 -0
- data/lib/authentik/api/models/license_summary_status_enum.rb +39 -0
- data/lib/authentik/api/models/link.rb +159 -0
- data/lib/authentik/api/models/log_event.rb +287 -0
- data/lib/authentik/api/models/log_level_enum.rb +40 -0
- data/lib/authentik/api/models/login_challenge_types.rb +53 -0
- data/lib/authentik/api/models/login_source.rb +206 -0
- data/lib/authentik/api/models/matching_mode_enum.rb +34 -0
- data/lib/authentik/api/models/mdm_config_request.rb +207 -0
- data/lib/authentik/api/models/mdm_config_response.rb +211 -0
- data/lib/authentik/api/models/metadata.rb +187 -0
- data/lib/authentik/api/models/microsoft_entra_provider.rb +537 -0
- data/lib/authentik/api/models/microsoft_entra_provider_group.rb +291 -0
- data/lib/authentik/api/models/microsoft_entra_provider_group_request.rb +220 -0
- data/lib/authentik/api/models/microsoft_entra_provider_mapping.rb +330 -0
- data/lib/authentik/api/models/microsoft_entra_provider_mapping_request.rb +229 -0
- data/lib/authentik/api/models/microsoft_entra_provider_request.rb +432 -0
- data/lib/authentik/api/models/microsoft_entra_provider_user.rb +291 -0
- data/lib/authentik/api/models/microsoft_entra_provider_user_request.rb +220 -0
- data/lib/authentik/api/models/model_enum.rb +147 -0
- data/lib/authentik/api/models/model_request.rb +65 -0
- data/lib/authentik/api/models/mutual_tls_stage.rb +433 -0
- data/lib/authentik/api/models/mutual_tls_stage_request.rb +280 -0
- data/lib/authentik/api/models/native_logout_challenge.rb +229 -0
- data/lib/authentik/api/models/native_logout_challenge_response_request.rb +163 -0
- data/lib/authentik/api/models/network.rb +204 -0
- data/lib/authentik/api/models/network_binding_enum.rb +36 -0
- data/lib/authentik/api/models/network_interface.rb +206 -0
- data/lib/authentik/api/models/network_interface_request.rb +224 -0
- data/lib/authentik/api/models/network_request.rb +232 -0
- data/lib/authentik/api/models/not_configured_action_enum.rb +35 -0
- data/lib/authentik/api/models/notification.rb +312 -0
- data/lib/authentik/api/models/notification_request.rb +186 -0
- data/lib/authentik/api/models/notification_rule.rb +276 -0
- data/lib/authentik/api/models/notification_rule_request.rb +233 -0
- data/lib/authentik/api/models/notification_transport.rb +302 -0
- data/lib/authentik/api/models/notification_transport_mode_enum.rb +36 -0
- data/lib/authentik/api/models/notification_transport_request.rb +277 -0
- data/lib/authentik/api/models/notification_transport_test.rb +161 -0
- data/lib/authentik/api/models/notification_webhook_mapping.rb +211 -0
- data/lib/authentik/api/models/notification_webhook_mapping_request.rb +203 -0
- data/lib/authentik/api/models/o_auth2_provider.rb +670 -0
- data/lib/authentik/api/models/o_auth2_provider_logout_method_enum.rb +34 -0
- data/lib/authentik/api/models/o_auth2_provider_request.rb +578 -0
- data/lib/authentik/api/models/o_auth2_provider_setup_urls.rb +315 -0
- data/lib/authentik/api/models/o_auth_device_code_challenge.rb +164 -0
- data/lib/authentik/api/models/o_auth_device_code_challenge_response_request.rb +198 -0
- data/lib/authentik/api/models/o_auth_device_code_finish_challenge.rb +164 -0
- data/lib/authentik/api/models/o_auth_device_code_finish_challenge_response_request.rb +163 -0
- data/lib/authentik/api/models/o_auth_source.rb +767 -0
- data/lib/authentik/api/models/o_auth_source_property_mapping.rb +330 -0
- data/lib/authentik/api/models/o_auth_source_property_mapping_request.rb +229 -0
- data/lib/authentik/api/models/o_auth_source_request.rb +624 -0
- data/lib/authentik/api/models/open_id_connect_configuration.rb +427 -0
- data/lib/authentik/api/models/operating_system.rb +224 -0
- data/lib/authentik/api/models/operating_system_request.rb +271 -0
- data/lib/authentik/api/models/outgoing_sync_delete_action.rb +35 -0
- data/lib/authentik/api/models/outpost.rb +404 -0
- data/lib/authentik/api/models/outpost_default_config.rb +161 -0
- data/lib/authentik/api/models/outpost_health.rb +432 -0
- data/lib/authentik/api/models/outpost_request.rb +309 -0
- data/lib/authentik/api/models/outpost_type_enum.rb +36 -0
- data/lib/authentik/api/models/paginated_agent_connector_list.rb +214 -0
- data/lib/authentik/api/models/paginated_application_entitlement_list.rb +214 -0
- data/lib/authentik/api/models/paginated_application_list.rb +214 -0
- data/lib/authentik/api/models/paginated_authenticated_session_list.rb +214 -0
- data/lib/authentik/api/models/paginated_authenticator_duo_stage_list.rb +214 -0
- data/lib/authentik/api/models/paginated_authenticator_email_stage_list.rb +214 -0
- data/lib/authentik/api/models/paginated_authenticator_endpoint_gdtc_stage_list.rb +214 -0
- data/lib/authentik/api/models/paginated_authenticator_sms_stage_list.rb +214 -0
- data/lib/authentik/api/models/paginated_authenticator_static_stage_list.rb +214 -0
- data/lib/authentik/api/models/paginated_authenticator_totp_stage_list.rb +214 -0
- data/lib/authentik/api/models/paginated_authenticator_validate_stage_list.rb +214 -0
- data/lib/authentik/api/models/paginated_authenticator_web_authn_stage_list.rb +214 -0
- data/lib/authentik/api/models/paginated_blueprint_instance_list.rb +214 -0
- data/lib/authentik/api/models/paginated_brand_list.rb +214 -0
- data/lib/authentik/api/models/paginated_captcha_stage_list.rb +214 -0
- data/lib/authentik/api/models/paginated_certificate_key_pair_list.rb +214 -0
- data/lib/authentik/api/models/paginated_connection_token_list.rb +214 -0
- data/lib/authentik/api/models/paginated_connector_list.rb +214 -0
- data/lib/authentik/api/models/paginated_consent_stage_list.rb +214 -0
- data/lib/authentik/api/models/paginated_data_export_list.rb +214 -0
- data/lib/authentik/api/models/paginated_deny_stage_list.rb +214 -0
- data/lib/authentik/api/models/paginated_device_access_group_list.rb +214 -0
- data/lib/authentik/api/models/paginated_device_user_binding_list.rb +214 -0
- data/lib/authentik/api/models/paginated_docker_service_connection_list.rb +214 -0
- data/lib/authentik/api/models/paginated_domain_list.rb +214 -0
- data/lib/authentik/api/models/paginated_dummy_policy_list.rb +214 -0
- data/lib/authentik/api/models/paginated_dummy_stage_list.rb +214 -0
- data/lib/authentik/api/models/paginated_duo_device_list.rb +214 -0
- data/lib/authentik/api/models/paginated_email_device_list.rb +214 -0
- data/lib/authentik/api/models/paginated_email_stage_list.rb +214 -0
- data/lib/authentik/api/models/paginated_endpoint_device_list.rb +214 -0
- data/lib/authentik/api/models/paginated_endpoint_list.rb +214 -0
- data/lib/authentik/api/models/paginated_endpoint_stage_list.rb +214 -0
- data/lib/authentik/api/models/paginated_enrollment_token_list.rb +214 -0
- data/lib/authentik/api/models/paginated_event_list.rb +214 -0
- data/lib/authentik/api/models/paginated_event_matcher_policy_list.rb +214 -0
- data/lib/authentik/api/models/paginated_expiring_base_grant_model_list.rb +214 -0
- data/lib/authentik/api/models/paginated_expression_policy_list.rb +214 -0
- data/lib/authentik/api/models/paginated_extra_role_object_permission_list.rb +186 -0
- data/lib/authentik/api/models/paginated_flow_list.rb +214 -0
- data/lib/authentik/api/models/paginated_flow_stage_binding_list.rb +214 -0
- data/lib/authentik/api/models/paginated_geo_ip_policy_list.rb +214 -0
- data/lib/authentik/api/models/paginated_google_endpoint_device_list.rb +214 -0
- data/lib/authentik/api/models/paginated_google_workspace_provider_group_list.rb +214 -0
- data/lib/authentik/api/models/paginated_google_workspace_provider_list.rb +214 -0
- data/lib/authentik/api/models/paginated_google_workspace_provider_mapping_list.rb +214 -0
- data/lib/authentik/api/models/paginated_google_workspace_provider_user_list.rb +214 -0
- data/lib/authentik/api/models/paginated_group_kerberos_source_connection_list.rb +214 -0
- data/lib/authentik/api/models/paginated_group_ldap_source_connection_list.rb +214 -0
- data/lib/authentik/api/models/paginated_group_list.rb +214 -0
- data/lib/authentik/api/models/paginated_group_o_auth_source_connection_list.rb +214 -0
- data/lib/authentik/api/models/paginated_group_plex_source_connection_list.rb +214 -0
- data/lib/authentik/api/models/paginated_group_saml_source_connection_list.rb +214 -0
- data/lib/authentik/api/models/paginated_group_source_connection_list.rb +214 -0
- data/lib/authentik/api/models/paginated_group_telegram_source_connection_list.rb +214 -0
- data/lib/authentik/api/models/paginated_identification_stage_list.rb +214 -0
- data/lib/authentik/api/models/paginated_initial_permissions_list.rb +214 -0
- data/lib/authentik/api/models/paginated_invitation_list.rb +214 -0
- data/lib/authentik/api/models/paginated_invitation_stage_list.rb +214 -0
- data/lib/authentik/api/models/paginated_kerberos_source_list.rb +214 -0
- data/lib/authentik/api/models/paginated_kerberos_source_property_mapping_list.rb +214 -0
- data/lib/authentik/api/models/paginated_kubernetes_service_connection_list.rb +214 -0
- data/lib/authentik/api/models/paginated_ldap_outpost_config_list.rb +214 -0
- data/lib/authentik/api/models/paginated_ldap_provider_list.rb +214 -0
- data/lib/authentik/api/models/paginated_ldap_source_list.rb +214 -0
- data/lib/authentik/api/models/paginated_ldap_source_property_mapping_list.rb +214 -0
- data/lib/authentik/api/models/paginated_license_list.rb +214 -0
- data/lib/authentik/api/models/paginated_microsoft_entra_provider_group_list.rb +214 -0
- data/lib/authentik/api/models/paginated_microsoft_entra_provider_list.rb +214 -0
- data/lib/authentik/api/models/paginated_microsoft_entra_provider_mapping_list.rb +214 -0
- data/lib/authentik/api/models/paginated_microsoft_entra_provider_user_list.rb +214 -0
- data/lib/authentik/api/models/paginated_mutual_tls_stage_list.rb +214 -0
- data/lib/authentik/api/models/paginated_notification_list.rb +214 -0
- data/lib/authentik/api/models/paginated_notification_rule_list.rb +214 -0
- data/lib/authentik/api/models/paginated_notification_transport_list.rb +214 -0
- data/lib/authentik/api/models/paginated_notification_webhook_mapping_list.rb +214 -0
- data/lib/authentik/api/models/paginated_o_auth2_provider_list.rb +214 -0
- data/lib/authentik/api/models/paginated_o_auth_source_list.rb +214 -0
- data/lib/authentik/api/models/paginated_o_auth_source_property_mapping_list.rb +214 -0
- data/lib/authentik/api/models/paginated_outpost_list.rb +214 -0
- data/lib/authentik/api/models/paginated_password_expiry_policy_list.rb +214 -0
- data/lib/authentik/api/models/paginated_password_policy_list.rb +214 -0
- data/lib/authentik/api/models/paginated_password_stage_list.rb +214 -0
- data/lib/authentik/api/models/paginated_permission_list.rb +214 -0
- data/lib/authentik/api/models/paginated_plex_source_list.rb +214 -0
- data/lib/authentik/api/models/paginated_plex_source_property_mapping_list.rb +214 -0
- data/lib/authentik/api/models/paginated_policy_binding_list.rb +214 -0
- data/lib/authentik/api/models/paginated_policy_list.rb +214 -0
- data/lib/authentik/api/models/paginated_prompt_list.rb +214 -0
- data/lib/authentik/api/models/paginated_prompt_stage_list.rb +214 -0
- data/lib/authentik/api/models/paginated_property_mapping_list.rb +214 -0
- data/lib/authentik/api/models/paginated_provider_list.rb +214 -0
- data/lib/authentik/api/models/paginated_proxy_outpost_config_list.rb +214 -0
- data/lib/authentik/api/models/paginated_proxy_provider_list.rb +214 -0
- data/lib/authentik/api/models/paginated_rac_property_mapping_list.rb +214 -0
- data/lib/authentik/api/models/paginated_rac_provider_list.rb +214 -0
- data/lib/authentik/api/models/paginated_radius_outpost_config_list.rb +214 -0
- data/lib/authentik/api/models/paginated_radius_provider_list.rb +214 -0
- data/lib/authentik/api/models/paginated_radius_provider_property_mapping_list.rb +214 -0
- data/lib/authentik/api/models/paginated_redirect_stage_list.rb +214 -0
- data/lib/authentik/api/models/paginated_reputation_list.rb +214 -0
- data/lib/authentik/api/models/paginated_reputation_policy_list.rb +214 -0
- data/lib/authentik/api/models/paginated_role_assigned_object_permission_list.rb +214 -0
- data/lib/authentik/api/models/paginated_role_list.rb +214 -0
- data/lib/authentik/api/models/paginated_saml_property_mapping_list.rb +214 -0
- data/lib/authentik/api/models/paginated_saml_provider_list.rb +214 -0
- data/lib/authentik/api/models/paginated_saml_source_list.rb +214 -0
- data/lib/authentik/api/models/paginated_saml_source_property_mapping_list.rb +214 -0
- data/lib/authentik/api/models/paginated_schedule_list.rb +214 -0
- data/lib/authentik/api/models/paginated_scim_mapping_list.rb +214 -0
- data/lib/authentik/api/models/paginated_scim_provider_group_list.rb +214 -0
- data/lib/authentik/api/models/paginated_scim_provider_list.rb +214 -0
- data/lib/authentik/api/models/paginated_scim_provider_user_list.rb +214 -0
- data/lib/authentik/api/models/paginated_scim_source_group_list.rb +214 -0
- data/lib/authentik/api/models/paginated_scim_source_list.rb +214 -0
- data/lib/authentik/api/models/paginated_scim_source_property_mapping_list.rb +214 -0
- data/lib/authentik/api/models/paginated_scim_source_user_list.rb +214 -0
- data/lib/authentik/api/models/paginated_scope_mapping_list.rb +214 -0
- data/lib/authentik/api/models/paginated_service_connection_list.rb +214 -0
- data/lib/authentik/api/models/paginated_sms_device_list.rb +214 -0
- data/lib/authentik/api/models/paginated_source_list.rb +214 -0
- data/lib/authentik/api/models/paginated_source_stage_list.rb +214 -0
- data/lib/authentik/api/models/paginated_ssf_provider_list.rb +214 -0
- data/lib/authentik/api/models/paginated_ssf_stream_list.rb +214 -0
- data/lib/authentik/api/models/paginated_stage_list.rb +214 -0
- data/lib/authentik/api/models/paginated_static_device_list.rb +214 -0
- data/lib/authentik/api/models/paginated_task_list.rb +214 -0
- data/lib/authentik/api/models/paginated_telegram_source_list.rb +214 -0
- data/lib/authentik/api/models/paginated_telegram_source_property_mapping_list.rb +214 -0
- data/lib/authentik/api/models/paginated_tenant_list.rb +214 -0
- data/lib/authentik/api/models/paginated_token_list.rb +214 -0
- data/lib/authentik/api/models/paginated_token_model_list.rb +214 -0
- data/lib/authentik/api/models/paginated_totp_device_list.rb +214 -0
- data/lib/authentik/api/models/paginated_unique_password_policy_list.rb +214 -0
- data/lib/authentik/api/models/paginated_user_consent_list.rb +214 -0
- data/lib/authentik/api/models/paginated_user_delete_stage_list.rb +214 -0
- data/lib/authentik/api/models/paginated_user_kerberos_source_connection_list.rb +214 -0
- data/lib/authentik/api/models/paginated_user_ldap_source_connection_list.rb +214 -0
- data/lib/authentik/api/models/paginated_user_list.rb +214 -0
- data/lib/authentik/api/models/paginated_user_login_stage_list.rb +214 -0
- data/lib/authentik/api/models/paginated_user_logout_stage_list.rb +214 -0
- data/lib/authentik/api/models/paginated_user_o_auth_source_connection_list.rb +214 -0
- data/lib/authentik/api/models/paginated_user_plex_source_connection_list.rb +214 -0
- data/lib/authentik/api/models/paginated_user_saml_source_connection_list.rb +214 -0
- data/lib/authentik/api/models/paginated_user_source_connection_list.rb +214 -0
- data/lib/authentik/api/models/paginated_user_telegram_source_connection_list.rb +214 -0
- data/lib/authentik/api/models/paginated_user_write_stage_list.rb +214 -0
- data/lib/authentik/api/models/paginated_web_authn_device_list.rb +214 -0
- data/lib/authentik/api/models/paginated_web_authn_device_type_list.rb +214 -0
- data/lib/authentik/api/models/pagination.rb +314 -0
- data/lib/authentik/api/models/partial_group.rb +233 -0
- data/lib/authentik/api/models/partial_user.rb +318 -0
- data/lib/authentik/api/models/password_challenge.rb +236 -0
- data/lib/authentik/api/models/password_challenge_response_request.rb +198 -0
- data/lib/authentik/api/models/password_expiry_policy.rb +383 -0
- data/lib/authentik/api/models/password_expiry_policy_request.rb +231 -0
- data/lib/authentik/api/models/password_policy.rb +646 -0
- data/lib/authentik/api/models/password_policy_request.rb +532 -0
- data/lib/authentik/api/models/password_stage.rb +409 -0
- data/lib/authentik/api/models/password_stage_request.rb +256 -0
- data/lib/authentik/api/models/patched_agent_connector_request.rb +413 -0
- data/lib/authentik/api/models/patched_application_entitlement_request.rb +181 -0
- data/lib/authentik/api/models/patched_application_request.rb +309 -0
- data/lib/authentik/api/models/patched_authenticator_duo_stage_request.rb +283 -0
- data/lib/authentik/api/models/patched_authenticator_email_stage_request.rb +451 -0
- data/lib/authentik/api/models/patched_authenticator_endpoint_gdtc_stage_request.rb +192 -0
- data/lib/authentik/api/models/patched_authenticator_sms_stage_request.rb +335 -0
- data/lib/authentik/api/models/patched_authenticator_static_stage_request.rb +255 -0
- data/lib/authentik/api/models/patched_authenticator_totp_stage_request.rb +212 -0
- data/lib/authentik/api/models/patched_authenticator_validate_stage_request.rb +266 -0
- data/lib/authentik/api/models/patched_authenticator_web_authn_stage_request.rb +279 -0
- data/lib/authentik/api/models/patched_blueprint_instance_request.rb +201 -0
- data/lib/authentik/api/models/patched_brand_request.rb +397 -0
- data/lib/authentik/api/models/patched_captcha_stage_request.rb +312 -0
- data/lib/authentik/api/models/patched_certificate_key_pair_request.rb +200 -0
- data/lib/authentik/api/models/patched_connection_token_request.rb +160 -0
- data/lib/authentik/api/models/patched_consent_stage_request.rb +221 -0
- data/lib/authentik/api/models/patched_deny_stage_request.rb +170 -0
- data/lib/authentik/api/models/patched_device_access_group_request.rb +160 -0
- data/lib/authentik/api/models/patched_device_user_binding_request.rb +285 -0
- data/lib/authentik/api/models/patched_docker_service_connection_request.rb +222 -0
- data/lib/authentik/api/models/patched_domain_request.rb +188 -0
- data/lib/authentik/api/models/patched_dummy_policy_request.rb +254 -0
- data/lib/authentik/api/models/patched_dummy_stage_request.rb +170 -0
- data/lib/authentik/api/models/patched_duo_device_request.rb +171 -0
- data/lib/authentik/api/models/patched_email_device_request.rb +171 -0
- data/lib/authentik/api/models/patched_email_stage_request.rb +507 -0
- data/lib/authentik/api/models/patched_endpoint_device_request.rb +218 -0
- data/lib/authentik/api/models/patched_endpoint_request.rb +297 -0
- data/lib/authentik/api/models/patched_endpoint_stage_request.rb +201 -0
- data/lib/authentik/api/models/patched_enrollment_token_request.rb +198 -0
- data/lib/authentik/api/models/patched_event_matcher_policy_request.rb +252 -0
- data/lib/authentik/api/models/patched_event_request.rb +259 -0
- data/lib/authentik/api/models/patched_expression_policy_request.rb +199 -0
- data/lib/authentik/api/models/patched_flow_request.rb +320 -0
- data/lib/authentik/api/models/patched_flow_stage_binding_request.rb +249 -0
- data/lib/authentik/api/models/patched_geo_ip_policy_request.rb +378 -0
- data/lib/authentik/api/models/patched_google_endpoint_device_request.rb +180 -0
- data/lib/authentik/api/models/patched_google_workspace_provider_mapping_request.rb +215 -0
- data/lib/authentik/api/models/patched_google_workspace_provider_request.rb +424 -0
- data/lib/authentik/api/models/patched_group_kerberos_source_connection_request.rb +179 -0
- data/lib/authentik/api/models/patched_group_ldap_source_connection_request.rb +179 -0
- data/lib/authentik/api/models/patched_group_o_auth_source_connection_request.rb +179 -0
- data/lib/authentik/api/models/patched_group_plex_source_connection_request.rb +179 -0
- data/lib/authentik/api/models/patched_group_request.rb +215 -0
- data/lib/authentik/api/models/patched_group_saml_source_connection_request.rb +179 -0
- data/lib/authentik/api/models/patched_group_source_connection_request.rb +179 -0
- data/lib/authentik/api/models/patched_group_telegram_source_connection_request.rb +179 -0
- data/lib/authentik/api/models/patched_identification_stage_request.rb +300 -0
- data/lib/authentik/api/models/patched_initial_permissions_request.rb +190 -0
- data/lib/authentik/api/models/patched_invitation_request.rb +214 -0
- data/lib/authentik/api/models/patched_invitation_stage_request.rb +171 -0
- data/lib/authentik/api/models/patched_kerberos_source_property_mapping_request.rb +215 -0
- data/lib/authentik/api/models/patched_kerberos_source_request.rb +512 -0
- data/lib/authentik/api/models/patched_kubernetes_service_connection_request.rb +193 -0
- data/lib/authentik/api/models/patched_ldap_provider_request.rb +377 -0
- data/lib/authentik/api/models/patched_ldap_source_property_mapping_request.rb +215 -0
- data/lib/authentik/api/models/patched_ldap_source_request.rb +700 -0
- data/lib/authentik/api/models/patched_license_request.rb +161 -0
- data/lib/authentik/api/models/patched_microsoft_entra_provider_mapping_request.rb +215 -0
- data/lib/authentik/api/models/patched_microsoft_entra_provider_request.rb +404 -0
- data/lib/authentik/api/models/patched_mutual_tls_stage_request.rb +222 -0
- data/lib/authentik/api/models/patched_notification_request.rb +186 -0
- data/lib/authentik/api/models/patched_notification_rule_request.rb +226 -0
- data/lib/authentik/api/models/patched_notification_transport_request.rb +270 -0
- data/lib/authentik/api/models/patched_notification_webhook_mapping_request.rb +189 -0
- data/lib/authentik/api/models/patched_o_auth2_provider_request.rb +520 -0
- data/lib/authentik/api/models/patched_o_auth_source_property_mapping_request.rb +215 -0
- data/lib/authentik/api/models/patched_o_auth_source_request.rb +579 -0
- data/lib/authentik/api/models/patched_outpost_request.rb +251 -0
- data/lib/authentik/api/models/patched_password_expiry_policy_request.rb +217 -0
- data/lib/authentik/api/models/patched_password_policy_request.rb +525 -0
- data/lib/authentik/api/models/patched_password_stage_request.rb +232 -0
- data/lib/authentik/api/models/patched_permission_assign_request.rb +203 -0
- data/lib/authentik/api/models/patched_plex_source_property_mapping_request.rb +215 -0
- data/lib/authentik/api/models/patched_plex_source_request.rb +433 -0
- data/lib/authentik/api/models/patched_policy_binding_request.rb +276 -0
- data/lib/authentik/api/models/patched_prompt_request.rb +342 -0
- data/lib/authentik/api/models/patched_prompt_stage_request.rb +183 -0
- data/lib/authentik/api/models/patched_proxy_provider_request.rb +431 -0
- data/lib/authentik/api/models/patched_rac_property_mapping_request.rb +207 -0
- data/lib/authentik/api/models/patched_rac_provider_request.rb +243 -0
- data/lib/authentik/api/models/patched_radius_provider_property_mapping_request.rb +215 -0
- data/lib/authentik/api/models/patched_radius_provider_request.rb +281 -0
- data/lib/authentik/api/models/patched_redirect_stage_request.rb +220 -0
- data/lib/authentik/api/models/patched_reputation_policy_request.rb +226 -0
- data/lib/authentik/api/models/patched_role_request.rb +170 -0
- data/lib/authentik/api/models/patched_saml_property_mapping_request.rb +253 -0
- data/lib/authentik/api/models/patched_saml_provider_request.rb +538 -0
- data/lib/authentik/api/models/patched_saml_source_property_mapping_request.rb +215 -0
- data/lib/authentik/api/models/patched_saml_source_request.rb +540 -0
- data/lib/authentik/api/models/patched_schedule_request.rb +196 -0
- data/lib/authentik/api/models/patched_scim_mapping_request.rb +215 -0
- data/lib/authentik/api/models/patched_scim_provider_request.rb +421 -0
- data/lib/authentik/api/models/patched_scim_source_group_request.rb +218 -0
- data/lib/authentik/api/models/patched_scim_source_property_mapping_request.rb +215 -0
- data/lib/authentik/api/models/patched_scim_source_request.rb +261 -0
- data/lib/authentik/api/models/patched_scim_source_user_request.rb +218 -0
- data/lib/authentik/api/models/patched_scope_mapping_request.rb +254 -0
- data/lib/authentik/api/models/patched_settings_request.rb +489 -0
- data/lib/authentik/api/models/patched_settings_request_flags.rb +184 -0
- data/lib/authentik/api/models/patched_sms_device_request.rb +171 -0
- data/lib/authentik/api/models/patched_source_stage_request.rb +199 -0
- data/lib/authentik/api/models/patched_ssf_provider_request.rb +210 -0
- data/lib/authentik/api/models/patched_static_device_request.rb +171 -0
- data/lib/authentik/api/models/patched_telegram_source_property_mapping_request.rb +215 -0
- data/lib/authentik/api/models/patched_telegram_source_request.rb +421 -0
- data/lib/authentik/api/models/patched_tenant_request.rb +207 -0
- data/lib/authentik/api/models/patched_token_request.rb +275 -0
- data/lib/authentik/api/models/patched_totp_device_request.rb +171 -0
- data/lib/authentik/api/models/patched_unique_password_policy_request.rb +238 -0
- data/lib/authentik/api/models/patched_user_delete_stage_request.rb +161 -0
- data/lib/authentik/api/models/patched_user_kerberos_source_connection_request.rb +179 -0
- data/lib/authentik/api/models/patched_user_ldap_source_connection_request.rb +179 -0
- data/lib/authentik/api/models/patched_user_login_stage_request.rb +300 -0
- data/lib/authentik/api/models/patched_user_logout_stage_request.rb +161 -0
- data/lib/authentik/api/models/patched_user_o_auth_source_connection_request.rb +198 -0
- data/lib/authentik/api/models/patched_user_plex_source_connection_request.rb +207 -0
- data/lib/authentik/api/models/patched_user_request.rb +320 -0
- data/lib/authentik/api/models/patched_user_saml_source_connection_request.rb +179 -0
- data/lib/authentik/api/models/patched_user_source_connection_request.rb +179 -0
- data/lib/authentik/api/models/patched_user_telegram_source_connection_request.rb +179 -0
- data/lib/authentik/api/models/patched_user_write_stage_request.rb +231 -0
- data/lib/authentik/api/models/patched_web_authn_device_request.rb +170 -0
- data/lib/authentik/api/models/permission.rb +335 -0
- data/lib/authentik/api/models/permission_assign_request.rb +220 -0
- data/lib/authentik/api/models/permission_assign_result.rb +159 -0
- data/lib/authentik/api/models/pkce_method_enum.rb +35 -0
- data/lib/authentik/api/models/plex_authentication_challenge.rb +216 -0
- data/lib/authentik/api/models/plex_authentication_challenge_response_request.rb +163 -0
- data/lib/authentik/api/models/plex_source.rb +574 -0
- data/lib/authentik/api/models/plex_source_property_mapping.rb +330 -0
- data/lib/authentik/api/models/plex_source_property_mapping_request.rb +229 -0
- data/lib/authentik/api/models/plex_source_request.rb +454 -0
- data/lib/authentik/api/models/plex_token_redeem_request.rb +168 -0
- data/lib/authentik/api/models/policy.rb +330 -0
- data/lib/authentik/api/models/policy_binding.rb +404 -0
- data/lib/authentik/api/models/policy_binding_request.rb +300 -0
- data/lib/authentik/api/models/policy_engine_mode.rb +34 -0
- data/lib/authentik/api/models/policy_test_request.rb +170 -0
- data/lib/authentik/api/models/policy_test_result.rb +215 -0
- data/lib/authentik/api/models/process.rb +193 -0
- data/lib/authentik/api/models/process_request.rb +221 -0
- data/lib/authentik/api/models/prompt.rb +407 -0
- data/lib/authentik/api/models/prompt_challenge.rb +192 -0
- data/lib/authentik/api/models/prompt_challenge_response_request.rb +163 -0
- data/lib/authentik/api/models/prompt_choice.rb +185 -0
- data/lib/authentik/api/models/prompt_request.rb +380 -0
- data/lib/authentik/api/models/prompt_stage.rb +360 -0
- data/lib/authentik/api/models/prompt_stage_request.rb +207 -0
- data/lib/authentik/api/models/prompt_type_enum.rb +50 -0
- data/lib/authentik/api/models/property_mapping.rb +330 -0
- data/lib/authentik/api/models/property_mapping_preview.rb +161 -0
- data/lib/authentik/api/models/property_mapping_test_request.rb +164 -0
- data/lib/authentik/api/models/property_mapping_test_result.rb +185 -0
- data/lib/authentik/api/models/protocol_enum.rb +35 -0
- data/lib/authentik/api/models/provider.rb +421 -0
- data/lib/authentik/api/models/provider_enum.rb +34 -0
- data/lib/authentik/api/models/provider_model_enum.rb +42 -0
- data/lib/authentik/api/models/provider_type_enum.rb +49 -0
- data/lib/authentik/api/models/proxy_mode.rb +35 -0
- data/lib/authentik/api/models/proxy_outpost_config.rb +518 -0
- data/lib/authentik/api/models/proxy_provider.rb +691 -0
- data/lib/authentik/api/models/proxy_provider_request.rb +479 -0
- data/lib/authentik/api/models/rac_property_mapping.rb +341 -0
- data/lib/authentik/api/models/rac_property_mapping_request.rb +231 -0
- data/lib/authentik/api/models/rac_provider.rb +453 -0
- data/lib/authentik/api/models/rac_provider_request.rb +267 -0
- data/lib/authentik/api/models/radius_check_access.rb +168 -0
- data/lib/authentik/api/models/radius_outpost_config.rb +277 -0
- data/lib/authentik/api/models/radius_provider.rb +489 -0
- data/lib/authentik/api/models/radius_provider_property_mapping.rb +330 -0
- data/lib/authentik/api/models/radius_provider_property_mapping_request.rb +229 -0
- data/lib/authentik/api/models/radius_provider_request.rb +322 -0
- data/lib/authentik/api/models/redirect_challenge.rb +190 -0
- data/lib/authentik/api/models/redirect_challenge_response_request.rb +198 -0
- data/lib/authentik/api/models/redirect_stage.rb +397 -0
- data/lib/authentik/api/models/redirect_stage_mode_enum.rb +34 -0
- data/lib/authentik/api/models/redirect_stage_request.rb +244 -0
- data/lib/authentik/api/models/redirect_uri.rb +207 -0
- data/lib/authentik/api/models/redirect_uri_request.rb +216 -0
- data/lib/authentik/api/models/related_group.rb +232 -0
- data/lib/authentik/api/models/reputation.rb +279 -0
- data/lib/authentik/api/models/reputation_policy.rb +385 -0
- data/lib/authentik/api/models/reputation_policy_request.rb +233 -0
- data/lib/authentik/api/models/resident_key_requirement_enum.rb +35 -0
- data/lib/authentik/api/models/role.rb +194 -0
- data/lib/authentik/api/models/role_assigned_object_permission.rb +241 -0
- data/lib/authentik/api/models/role_model_permission.rb +263 -0
- data/lib/authentik/api/models/role_object_permission.rb +289 -0
- data/lib/authentik/api/models/role_request.rb +177 -0
- data/lib/authentik/api/models/saml_bindings_enum.rb +34 -0
- data/lib/authentik/api/models/saml_metadata.rb +185 -0
- data/lib/authentik/api/models/saml_name_id_policy_enum.rb +38 -0
- data/lib/authentik/api/models/saml_property_mapping.rb +366 -0
- data/lib/authentik/api/models/saml_property_mapping_request.rb +274 -0
- data/lib/authentik/api/models/saml_provider.rb +840 -0
- data/lib/authentik/api/models/saml_provider_logout_method_enum.rb +35 -0
- data/lib/authentik/api/models/saml_provider_request.rb +586 -0
- data/lib/authentik/api/models/saml_source.rb +698 -0
- data/lib/authentik/api/models/saml_source_property_mapping.rb +330 -0
- data/lib/authentik/api/models/saml_source_property_mapping_request.rb +229 -0
- data/lib/authentik/api/models/saml_source_request.rb +578 -0
- data/lib/authentik/api/models/schedule.rb +395 -0
- data/lib/authentik/api/models/schedule_request.rb +203 -0
- data/lib/authentik/api/models/scim_authentication_mode_enum.rb +34 -0
- data/lib/authentik/api/models/scim_mapping.rb +330 -0
- data/lib/authentik/api/models/scim_mapping_request.rb +229 -0
- data/lib/authentik/api/models/scim_provider.rb +539 -0
- data/lib/authentik/api/models/scim_provider_group.rb +291 -0
- data/lib/authentik/api/models/scim_provider_group_request.rb +220 -0
- data/lib/authentik/api/models/scim_provider_request.rb +435 -0
- data/lib/authentik/api/models/scim_provider_user.rb +291 -0
- data/lib/authentik/api/models/scim_provider_user_request.rb +220 -0
- data/lib/authentik/api/models/scim_source.rb +438 -0
- data/lib/authentik/api/models/scim_source_group.rb +257 -0
- data/lib/authentik/api/models/scim_source_group_request.rb +259 -0
- data/lib/authentik/api/models/scim_source_property_mapping.rb +330 -0
- data/lib/authentik/api/models/scim_source_property_mapping_request.rb +229 -0
- data/lib/authentik/api/models/scim_source_request.rb +275 -0
- data/lib/authentik/api/models/scim_source_user.rb +257 -0
- data/lib/authentik/api/models/scim_source_user_request.rb +259 -0
- data/lib/authentik/api/models/scope_mapping.rb +367 -0
- data/lib/authentik/api/models/scope_mapping_request.rb +275 -0
- data/lib/authentik/api/models/selectable_stage.rb +237 -0
- data/lib/authentik/api/models/service_connection.rb +303 -0
- data/lib/authentik/api/models/service_connection_state.rb +185 -0
- data/lib/authentik/api/models/session_end_challenge.rb +269 -0
- data/lib/authentik/api/models/session_user.rb +168 -0
- data/lib/authentik/api/models/settings.rb +449 -0
- data/lib/authentik/api/models/settings_request.rb +506 -0
- data/lib/authentik/api/models/severity_enum.rb +35 -0
- data/lib/authentik/api/models/shell_challenge.rb +190 -0
- data/lib/authentik/api/models/signature_algorithm_enum.rb +41 -0
- data/lib/authentik/api/models/sms_device.rb +247 -0
- data/lib/authentik/api/models/sms_device_request.rb +178 -0
- data/lib/authentik/api/models/software.rb +202 -0
- data/lib/authentik/api/models/software_request.rb +239 -0
- data/lib/authentik/api/models/source.rb +492 -0
- data/lib/authentik/api/models/source_stage.rb +357 -0
- data/lib/authentik/api/models/source_stage_request.rb +223 -0
- data/lib/authentik/api/models/source_type.rb +283 -0
- data/lib/authentik/api/models/ssf_provider.rb +378 -0
- data/lib/authentik/api/models/ssf_provider_request.rb +234 -0
- data/lib/authentik/api/models/ssf_stream.rb +343 -0
- data/lib/authentik/api/models/stage.rb +321 -0
- data/lib/authentik/api/models/stage_mode_enum.rb +34 -0
- data/lib/authentik/api/models/stage_prompt.rb +377 -0
- data/lib/authentik/api/models/state_enum.rb +39 -0
- data/lib/authentik/api/models/static_device.rb +249 -0
- data/lib/authentik/api/models/static_device_request.rb +178 -0
- data/lib/authentik/api/models/static_device_token.rb +168 -0
- data/lib/authentik/api/models/sub_mode_enum.rb +38 -0
- data/lib/authentik/api/models/sync_object_model_enum.rb +34 -0
- data/lib/authentik/api/models/sync_object_request.rb +227 -0
- data/lib/authentik/api/models/sync_object_result.rb +161 -0
- data/lib/authentik/api/models/sync_outgoing_trigger_mode_enum.rb +35 -0
- data/lib/authentik/api/models/sync_status.rb +199 -0
- data/lib/authentik/api/models/system_info.rb +350 -0
- data/lib/authentik/api/models/system_info_runtime.rb +327 -0
- data/lib/authentik/api/models/task.rb +451 -0
- data/lib/authentik/api/models/task_aggregated_status_enum.rb +42 -0
- data/lib/authentik/api/models/telegram_auth_request.rb +367 -0
- data/lib/authentik/api/models/telegram_challenge_response_request.rb +398 -0
- data/lib/authentik/api/models/telegram_login_challenge.rb +217 -0
- data/lib/authentik/api/models/telegram_source.rb +555 -0
- data/lib/authentik/api/models/telegram_source_property_mapping.rb +330 -0
- data/lib/authentik/api/models/telegram_source_property_mapping_request.rb +229 -0
- data/lib/authentik/api/models/telegram_source_request.rb +466 -0
- data/lib/authentik/api/models/tenant.rb +229 -0
- data/lib/authentik/api/models/tenant_admin_group_request_request.rb +168 -0
- data/lib/authentik/api/models/tenant_recovery_key_request_request.rb +194 -0
- data/lib/authentik/api/models/tenant_recovery_key_response.rb +185 -0
- data/lib/authentik/api/models/tenant_request.rb +221 -0
- data/lib/authentik/api/models/themed_urls.rb +153 -0
- data/lib/authentik/api/models/token.rb +310 -0
- data/lib/authentik/api/models/token_model.rb +312 -0
- data/lib/authentik/api/models/token_request.rb +282 -0
- data/lib/authentik/api/models/token_set_key_request.rb +168 -0
- data/lib/authentik/api/models/token_view.rb +159 -0
- data/lib/authentik/api/models/totp_device.rb +221 -0
- data/lib/authentik/api/models/totp_device_request.rb +178 -0
- data/lib/authentik/api/models/transaction_application_request.rb +244 -0
- data/lib/authentik/api/models/transaction_application_response.rb +187 -0
- data/lib/authentik/api/models/transaction_policy_binding_request.rb +274 -0
- data/lib/authentik/api/models/type_create.rb +268 -0
- data/lib/authentik/api/models/ui_theme_enum.rb +35 -0
- data/lib/authentik/api/models/unique_password_policy.rb +378 -0
- data/lib/authentik/api/models/unique_password_policy_request.rb +245 -0
- data/lib/authentik/api/models/used_by.rb +285 -0
- data/lib/authentik/api/models/used_by_action_enum.rb +37 -0
- data/lib/authentik/api/models/user.rb +553 -0
- data/lib/authentik/api/models/user_account_request.rb +159 -0
- data/lib/authentik/api/models/user_account_serializer_for_role_request.rb +159 -0
- data/lib/authentik/api/models/user_attribute_enum.rb +34 -0
- data/lib/authentik/api/models/user_consent.rb +241 -0
- data/lib/authentik/api/models/user_creation_mode_enum.rb +35 -0
- data/lib/authentik/api/models/user_delete_stage.rb +321 -0
- data/lib/authentik/api/models/user_delete_stage_request.rb +168 -0
- data/lib/authentik/api/models/user_fields_enum.rb +35 -0
- data/lib/authentik/api/models/user_kerberos_source_connection.rb +315 -0
- data/lib/authentik/api/models/user_kerberos_source_connection_request.rb +220 -0
- data/lib/authentik/api/models/user_ldap_source_connection.rb +315 -0
- data/lib/authentik/api/models/user_ldap_source_connection_request.rb +220 -0
- data/lib/authentik/api/models/user_login_challenge.rb +216 -0
- data/lib/authentik/api/models/user_login_challenge_response_request.rb +189 -0
- data/lib/authentik/api/models/user_login_stage.rb +403 -0
- data/lib/authentik/api/models/user_login_stage_request.rb +307 -0
- data/lib/authentik/api/models/user_logout_stage.rb +321 -0
- data/lib/authentik/api/models/user_logout_stage_request.rb +168 -0
- data/lib/authentik/api/models/user_matching_mode_enum.rb +37 -0
- data/lib/authentik/api/models/user_o_auth_source_connection.rb +324 -0
- data/lib/authentik/api/models/user_o_auth_source_connection_request.rb +239 -0
- data/lib/authentik/api/models/user_password_set_request.rb +168 -0
- data/lib/authentik/api/models/user_path.rb +160 -0
- data/lib/authentik/api/models/user_plex_source_connection.rb +315 -0
- data/lib/authentik/api/models/user_plex_source_connection_request.rb +255 -0
- data/lib/authentik/api/models/user_request.rb +344 -0
- data/lib/authentik/api/models/user_saml_source_connection.rb +315 -0
- data/lib/authentik/api/models/user_saml_source_connection_request.rb +220 -0
- data/lib/authentik/api/models/user_self.rb +512 -0
- data/lib/authentik/api/models/user_self_groups.rb +184 -0
- data/lib/authentik/api/models/user_self_roles.rb +184 -0
- data/lib/authentik/api/models/user_service_account_request.rb +200 -0
- data/lib/authentik/api/models/user_service_account_response.rb +245 -0
- data/lib/authentik/api/models/user_setting.rb +229 -0
- data/lib/authentik/api/models/user_source_connection.rb +315 -0
- data/lib/authentik/api/models/user_source_connection_request.rb +220 -0
- data/lib/authentik/api/models/user_telegram_source_connection.rb +315 -0
- data/lib/authentik/api/models/user_telegram_source_connection_request.rb +220 -0
- data/lib/authentik/api/models/user_type_enum.rb +36 -0
- data/lib/authentik/api/models/user_verification_enum.rb +35 -0
- data/lib/authentik/api/models/user_write_stage.rb +391 -0
- data/lib/authentik/api/models/user_write_stage_request.rb +238 -0
- data/lib/authentik/api/models/validation_error.rb +153 -0
- data/lib/authentik/api/models/version.rb +295 -0
- data/lib/authentik/api/models/version_history.rb +237 -0
- data/lib/authentik/api/models/web_authn_device.rb +284 -0
- data/lib/authentik/api/models/web_authn_device_request.rb +177 -0
- data/lib/authentik/api/models/web_authn_device_type.rb +185 -0
- data/lib/authentik/api/models/worker.rb +210 -0
- data/lib/authentik/api/version.rb +11 -0
- data/lib/authentik/api.rb +33 -0
- data/spec/api/admin_api_spec.rb +184 -0
- data/spec/api/authenticators_api_spec.rb +1023 -0
- data/spec/api/core_api_spec.rb +890 -0
- data/spec/api/crypto_api_spec.rb +151 -0
- data/spec/api/endpoints_api_spec.rb +606 -0
- data/spec/api/enterprise_api_spec.rb +143 -0
- data/spec/api/events_api_spec.rb +443 -0
- data/spec/api/flows_api_spec.rb +309 -0
- data/spec/api/managed_api_spec.rb +134 -0
- data/spec/api/oauth2_api_spec.rb +176 -0
- data/spec/api/outposts_api_spec.rb +459 -0
- data/spec/api/policies_api_spec.rb +990 -0
- data/spec/api/propertymappings_api_spec.rb +1379 -0
- data/spec/api/providers_api_spec.rb +1490 -0
- data/spec/api/rac_api_spec.rb +188 -0
- data/spec/api/rbac_api_spec.rb +309 -0
- data/spec/api/reports_api_spec.rb +62 -0
- data/spec/api/root_api_spec.rb +39 -0
- data/spec/api/schema_api_spec.rb +41 -0
- data/spec/api/sources_api_spec.rb +2192 -0
- data/spec/api/ssf_api_spec.rb +57 -0
- data/spec/api/stages_api_spec.rb +2538 -0
- data/spec/api/tasks_api_spec.rb +153 -0
- data/spec/api/tenants_api_spec.rb +195 -0
- data/spec/models/access_denied_challenge_spec.rb +60 -0
- data/spec/models/agent_authentication_response_spec.rb +30 -0
- data/spec/models/agent_config_spec.rb +84 -0
- data/spec/models/agent_connector_request_spec.rb +108 -0
- data/spec/models/agent_connector_spec.rb +132 -0
- data/spec/models/agent_psso_device_registration_request_spec.rb +48 -0
- data/spec/models/agent_psso_device_registration_response_spec.rb +60 -0
- data/spec/models/agent_psso_user_registration_request_spec.rb +42 -0
- data/spec/models/agent_token_response_spec.rb +36 -0
- data/spec/models/alg_enum_spec.rb +24 -0
- data/spec/models/app_enum_spec.rb +24 -0
- data/spec/models/app_spec.rb +36 -0
- data/spec/models/apple_challenge_response_request_spec.rb +30 -0
- data/spec/models/apple_login_challenge_spec.rb +66 -0
- data/spec/models/application_entitlement_request_spec.rb +42 -0
- data/spec/models/application_entitlement_spec.rb +48 -0
- data/spec/models/application_request_spec.rb +90 -0
- data/spec/models/application_spec.rb +126 -0
- data/spec/models/auth_type_enum_spec.rb +24 -0
- data/spec/models/authenticated_session_asn_spec.rb +42 -0
- data/spec/models/authenticated_session_geo_ip_spec.rb +54 -0
- data/spec/models/authenticated_session_spec.rb +84 -0
- data/spec/models/authenticated_session_user_agent_device_spec.rb +42 -0
- data/spec/models/authenticated_session_user_agent_os_spec.rb +54 -0
- data/spec/models/authenticated_session_user_agent_spec.rb +48 -0
- data/spec/models/authenticated_session_user_agent_user_agent_spec.rb +48 -0
- data/spec/models/authentication_enum_spec.rb +24 -0
- data/spec/models/authenticator_attachment_enum_spec.rb +24 -0
- data/spec/models/authenticator_duo_challenge_response_request_spec.rb +30 -0
- data/spec/models/authenticator_duo_challenge_spec.rb +72 -0
- data/spec/models/authenticator_duo_stage_device_import_response_spec.rb +36 -0
- data/spec/models/authenticator_duo_stage_manual_device_import_request_spec.rb +36 -0
- data/spec/models/authenticator_duo_stage_request_spec.rb +72 -0
- data/spec/models/authenticator_duo_stage_spec.rb +96 -0
- data/spec/models/authenticator_email_challenge_response_request_spec.rb +42 -0
- data/spec/models/authenticator_email_challenge_spec.rb +66 -0
- data/spec/models/authenticator_email_stage_request_spec.rb +114 -0
- data/spec/models/authenticator_email_stage_spec.rb +150 -0
- data/spec/models/authenticator_endpoint_gdtc_stage_request_spec.rb +48 -0
- data/spec/models/authenticator_endpoint_gdtc_stage_spec.rb +84 -0
- data/spec/models/authenticator_sms_challenge_response_request_spec.rb +42 -0
- data/spec/models/authenticator_sms_challenge_spec.rb +60 -0
- data/spec/models/authenticator_sms_stage_request_spec.rb +90 -0
- data/spec/models/authenticator_sms_stage_spec.rb +126 -0
- data/spec/models/authenticator_static_challenge_response_request_spec.rb +30 -0
- data/spec/models/authenticator_static_challenge_spec.rb +60 -0
- data/spec/models/authenticator_static_stage_request_spec.rb +54 -0
- data/spec/models/authenticator_static_stage_spec.rb +90 -0
- data/spec/models/authenticator_totp_challenge_response_request_spec.rb +36 -0
- data/spec/models/authenticator_totp_challenge_spec.rb +60 -0
- data/spec/models/authenticator_totp_stage_request_spec.rb +48 -0
- data/spec/models/authenticator_totp_stage_spec.rb +84 -0
- data/spec/models/authenticator_validate_stage_request_spec.rb +66 -0
- data/spec/models/authenticator_validate_stage_spec.rb +108 -0
- data/spec/models/authenticator_validation_challenge_response_request_spec.rb +60 -0
- data/spec/models/authenticator_validation_challenge_spec.rb +66 -0
- data/spec/models/authenticator_web_authn_challenge_response_request_spec.rb +36 -0
- data/spec/models/authenticator_web_authn_challenge_spec.rb +60 -0
- data/spec/models/authenticator_web_authn_stage_request_spec.rb +72 -0
- data/spec/models/authenticator_web_authn_stage_spec.rb +114 -0
- data/spec/models/authorization_code_auth_method_enum_spec.rb +24 -0
- data/spec/models/auto_submit_challenge_response_request_spec.rb +30 -0
- data/spec/models/autosubmit_challenge_spec.rb +60 -0
- data/spec/models/backends_enum_spec.rb +24 -0
- data/spec/models/binding_type_enum_spec.rb +24 -0
- data/spec/models/blueprint_file_spec.rb +48 -0
- data/spec/models/blueprint_instance_request_spec.rb +54 -0
- data/spec/models/blueprint_instance_spec.rb +90 -0
- data/spec/models/blueprint_instance_status_enum_spec.rb +24 -0
- data/spec/models/brand_request_spec.rb +126 -0
- data/spec/models/brand_spec.rb +132 -0
- data/spec/models/cache_spec.rb +30 -0
- data/spec/models/capabilities_enum_spec.rb +24 -0
- data/spec/models/captcha_challenge_response_request_spec.rb +36 -0
- data/spec/models/captcha_challenge_spec.rb +72 -0
- data/spec/models/captcha_stage_request_spec.rb +78 -0
- data/spec/models/captcha_stage_spec.rb +108 -0
- data/spec/models/cert_attribute_enum_spec.rb +24 -0
- data/spec/models/certificate_data_spec.rb +30 -0
- data/spec/models/certificate_generation_request_spec.rb +48 -0
- data/spec/models/certificate_key_pair_request_spec.rb +42 -0
- data/spec/models/certificate_key_pair_spec.rb +90 -0
- data/spec/models/challenge_types_spec.rb +38 -0
- data/spec/models/client_type_enum_spec.rb +24 -0
- data/spec/models/compatibility_mode_enum_spec.rb +24 -0
- data/spec/models/config_spec.rb +54 -0
- data/spec/models/connection_token_request_spec.rb +42 -0
- data/spec/models/connection_token_spec.rb +60 -0
- data/spec/models/connector_spec.rb +66 -0
- data/spec/models/consent_challenge_response_request_spec.rb +36 -0
- data/spec/models/consent_challenge_spec.rb +78 -0
- data/spec/models/consent_permission_spec.rb +36 -0
- data/spec/models/consent_stage_mode_enum_spec.rb +24 -0
- data/spec/models/consent_stage_request_spec.rb +42 -0
- data/spec/models/consent_stage_spec.rb +78 -0
- data/spec/models/content_type_spec.rb +48 -0
- data/spec/models/contextual_flow_info_layout_enum_spec.rb +24 -0
- data/spec/models/contextual_flow_info_spec.rb +54 -0
- data/spec/models/country_code_enum_spec.rb +24 -0
- data/spec/models/current_brand_flags_spec.rb +36 -0
- data/spec/models/current_brand_spec.rb +126 -0
- data/spec/models/data_export_spec.rb +66 -0
- data/spec/models/delivery_method_enum_spec.rb +24 -0
- data/spec/models/denied_action_enum_spec.rb +24 -0
- data/spec/models/deny_stage_request_spec.rb +36 -0
- data/spec/models/deny_stage_spec.rb +72 -0
- data/spec/models/detailed_country_field_spec.rb +36 -0
- data/spec/models/detailed_country_spec.rb +36 -0
- data/spec/models/device_access_group_request_spec.rb +30 -0
- data/spec/models/device_access_group_spec.rb +36 -0
- data/spec/models/device_challenge_request_spec.rb +48 -0
- data/spec/models/device_challenge_spec.rb +48 -0
- data/spec/models/device_classes_enum_spec.rb +24 -0
- data/spec/models/device_connection_spec.rb +48 -0
- data/spec/models/device_fact_snapshot_spec.rb +48 -0
- data/spec/models/device_facts_os_family_spec.rb +24 -0
- data/spec/models/device_facts_request_spec.rb +78 -0
- data/spec/models/device_facts_spec.rb +78 -0
- data/spec/models/device_group_request_spec.rb +36 -0
- data/spec/models/device_group_spec.rb +36 -0
- data/spec/models/device_spec.rb +96 -0
- data/spec/models/device_summary_spec.rb +42 -0
- data/spec/models/device_user_binding_request_spec.rb +84 -0
- data/spec/models/device_user_binding_spec.rb +120 -0
- data/spec/models/device_user_request_spec.rb +48 -0
- data/spec/models/device_user_spec.rb +48 -0
- data/spec/models/digest_algorithm_enum_spec.rb +24 -0
- data/spec/models/digits_enum_spec.rb +24 -0
- data/spec/models/disk_request_spec.rb +60 -0
- data/spec/models/disk_spec.rb +60 -0
- data/spec/models/docker_service_connection_request_spec.rb +54 -0
- data/spec/models/docker_service_connection_spec.rb +84 -0
- data/spec/models/domain_request_spec.rb +42 -0
- data/spec/models/domain_spec.rb +48 -0
- data/spec/models/dummy_challenge_response_request_spec.rb +30 -0
- data/spec/models/dummy_challenge_spec.rb +48 -0
- data/spec/models/dummy_policy_request_spec.rb +54 -0
- data/spec/models/dummy_policy_spec.rb +90 -0
- data/spec/models/dummy_stage_request_spec.rb +36 -0
- data/spec/models/dummy_stage_spec.rb +72 -0
- data/spec/models/duo_device_enrollment_status_spec.rb +30 -0
- data/spec/models/duo_device_request_spec.rb +30 -0
- data/spec/models/duo_device_spec.rb +42 -0
- data/spec/models/duo_response_enum_spec.rb +24 -0
- data/spec/models/email_challenge_response_request_spec.rb +30 -0
- data/spec/models/email_challenge_spec.rb +42 -0
- data/spec/models/email_device_request_spec.rb +30 -0
- data/spec/models/email_device_spec.rb +48 -0
- data/spec/models/email_stage_request_spec.rb +120 -0
- data/spec/models/email_stage_spec.rb +150 -0
- data/spec/models/endpoint_agent_challenge_response_request_spec.rb +36 -0
- data/spec/models/endpoint_agent_challenge_spec.rb +54 -0
- data/spec/models/endpoint_auth_mode_enum_spec.rb +24 -0
- data/spec/models/endpoint_device_details_spec.rb +96 -0
- data/spec/models/endpoint_device_request_spec.rb +66 -0
- data/spec/models/endpoint_device_spec.rb +78 -0
- data/spec/models/endpoint_request_spec.rb +72 -0
- data/spec/models/endpoint_spec.rb +90 -0
- data/spec/models/endpoint_stage_request_spec.rb +42 -0
- data/spec/models/endpoint_stage_spec.rb +84 -0
- data/spec/models/enroll_request_spec.rb +36 -0
- data/spec/models/enrollment_token_request_spec.rb +54 -0
- data/spec/models/enrollment_token_spec.rb +66 -0
- data/spec/models/error_detail_spec.rb +36 -0
- data/spec/models/error_reporting_config_spec.rb +54 -0
- data/spec/models/event_actions_spec.rb +24 -0
- data/spec/models/event_matcher_policy_request_spec.rb +60 -0
- data/spec/models/event_matcher_policy_spec.rb +96 -0
- data/spec/models/event_request_spec.rb +66 -0
- data/spec/models/event_spec.rb +78 -0
- data/spec/models/event_top_per_user_spec.rb +42 -0
- data/spec/models/event_volume_spec.rb +42 -0
- data/spec/models/events_requested_enum_spec.rb +24 -0
- data/spec/models/expiring_base_grant_model_spec.rb +60 -0
- data/spec/models/expression_policy_request_spec.rb +42 -0
- data/spec/models/expression_policy_spec.rb +78 -0
- data/spec/models/extra_role_object_permission_spec.rb +78 -0
- data/spec/models/file_list_spec.rb +48 -0
- data/spec/models/flow_challenge_response_request_spec.rb +38 -0
- data/spec/models/flow_designation_enum_spec.rb +24 -0
- data/spec/models/flow_diagram_spec.rb +30 -0
- data/spec/models/flow_error_challenge_spec.rb +60 -0
- data/spec/models/flow_import_result_spec.rb +36 -0
- data/spec/models/flow_inspection_spec.rb +42 -0
- data/spec/models/flow_inspector_plan_spec.rb +48 -0
- data/spec/models/flow_layout_enum_spec.rb +24 -0
- data/spec/models/flow_request_spec.rb +84 -0
- data/spec/models/flow_set_spec.rb +96 -0
- data/spec/models/flow_spec.rb +132 -0
- data/spec/models/flow_stage_binding_request_spec.rb +66 -0
- data/spec/models/flow_stage_binding_spec.rb +84 -0
- data/spec/models/footer_link_spec.rb +36 -0
- data/spec/models/frame_challenge_response_request_spec.rb +30 -0
- data/spec/models/frame_challenge_spec.rb +60 -0
- data/spec/models/generic_error_spec.rb +36 -0
- data/spec/models/geo_ip_policy_request_spec.rb +84 -0
- data/spec/models/geo_ip_policy_spec.rb +126 -0
- data/spec/models/geoip_binding_enum_spec.rb +24 -0
- data/spec/models/global_task_status_spec.rb +84 -0
- data/spec/models/google_endpoint_device_request_spec.rb +36 -0
- data/spec/models/google_endpoint_device_spec.rb +36 -0
- data/spec/models/google_workspace_provider_group_request_spec.rb +42 -0
- data/spec/models/google_workspace_provider_group_spec.rb +60 -0
- data/spec/models/google_workspace_provider_mapping_request_spec.rb +42 -0
- data/spec/models/google_workspace_provider_mapping_spec.rb +72 -0
- data/spec/models/google_workspace_provider_request_spec.rb +108 -0
- data/spec/models/google_workspace_provider_spec.rb +150 -0
- data/spec/models/google_workspace_provider_user_request_spec.rb +42 -0
- data/spec/models/google_workspace_provider_user_spec.rb +60 -0
- data/spec/models/group_kerberos_source_connection_request_spec.rb +42 -0
- data/spec/models/group_kerberos_source_connection_spec.rb +66 -0
- data/spec/models/group_ldap_source_connection_request_spec.rb +42 -0
- data/spec/models/group_ldap_source_connection_spec.rb +66 -0
- data/spec/models/group_matching_mode_enum_spec.rb +24 -0
- data/spec/models/group_o_auth_source_connection_request_spec.rb +42 -0
- data/spec/models/group_o_auth_source_connection_spec.rb +66 -0
- data/spec/models/group_plex_source_connection_request_spec.rb +42 -0
- data/spec/models/group_plex_source_connection_spec.rb +66 -0
- data/spec/models/group_request_spec.rb +60 -0
- data/spec/models/group_saml_source_connection_request_spec.rb +42 -0
- data/spec/models/group_saml_source_connection_spec.rb +66 -0
- data/spec/models/group_source_connection_request_spec.rb +42 -0
- data/spec/models/group_source_connection_spec.rb +66 -0
- data/spec/models/group_spec.rb +108 -0
- data/spec/models/group_telegram_source_connection_request_spec.rb +42 -0
- data/spec/models/group_telegram_source_connection_spec.rb +66 -0
- data/spec/models/hardware_request_spec.rb +60 -0
- data/spec/models/hardware_spec.rb +60 -0
- data/spec/models/identification_challenge_response_request_spec.rb +54 -0
- data/spec/models/identification_challenge_spec.rb +126 -0
- data/spec/models/identification_stage_request_spec.rb +108 -0
- data/spec/models/identification_stage_spec.rb +144 -0
- data/spec/models/iframe_logout_challenge_response_request_spec.rb +30 -0
- data/spec/models/iframe_logout_challenge_spec.rb +48 -0
- data/spec/models/impersonation_request_spec.rb +30 -0
- data/spec/models/initial_permissions_request_spec.rb +42 -0
- data/spec/models/initial_permissions_spec.rb +54 -0
- data/spec/models/install_id_spec.rb +30 -0
- data/spec/models/intent_enum_spec.rb +24 -0
- data/spec/models/invalid_response_action_enum_spec.rb +24 -0
- data/spec/models/invitation_request_spec.rb +54 -0
- data/spec/models/invitation_spec.rb +72 -0
- data/spec/models/invitation_stage_request_spec.rb +36 -0
- data/spec/models/invitation_stage_spec.rb +72 -0
- data/spec/models/issuer_mode_enum_spec.rb +24 -0
- data/spec/models/kadmin_type_enum_spec.rb +24 -0
- data/spec/models/kerberos_source_property_mapping_request_spec.rb +42 -0
- data/spec/models/kerberos_source_property_mapping_spec.rb +72 -0
- data/spec/models/kerberos_source_request_spec.rb +186 -0
- data/spec/models/kerberos_source_spec.rb +222 -0
- data/spec/models/key_type_enum_spec.rb +24 -0
- data/spec/models/kubernetes_service_connection_request_spec.rb +48 -0
- data/spec/models/kubernetes_service_connection_spec.rb +78 -0
- data/spec/models/last_task_status_enum_spec.rb +24 -0
- data/spec/models/ldap_check_access_spec.rb +36 -0
- data/spec/models/ldap_debug_spec.rb +42 -0
- data/spec/models/ldap_outpost_config_spec.rb +102 -0
- data/spec/models/ldap_provider_request_spec.rb +102 -0
- data/spec/models/ldap_provider_spec.rb +162 -0
- data/spec/models/ldap_source_property_mapping_request_spec.rb +42 -0
- data/spec/models/ldap_source_property_mapping_spec.rb +72 -0
- data/spec/models/ldap_source_request_spec.rb +234 -0
- data/spec/models/ldap_source_spec.rb +282 -0
- data/spec/models/ldapapi_access_mode_spec.rb +24 -0
- data/spec/models/license_flags_enum_spec.rb +24 -0
- data/spec/models/license_forecast_spec.rb +48 -0
- data/spec/models/license_request_spec.rb +30 -0
- data/spec/models/license_spec.rb +60 -0
- data/spec/models/license_status_enum_spec.rb +24 -0
- data/spec/models/license_summary_spec.rb +54 -0
- data/spec/models/license_summary_status_enum_spec.rb +24 -0
- data/spec/models/link_spec.rb +30 -0
- data/spec/models/log_event_spec.rb +54 -0
- data/spec/models/log_level_enum_spec.rb +24 -0
- data/spec/models/login_challenge_types_spec.rb +38 -0
- data/spec/models/login_source_spec.rb +48 -0
- data/spec/models/matching_mode_enum_spec.rb +24 -0
- data/spec/models/mdm_config_request_spec.rb +36 -0
- data/spec/models/mdm_config_response_spec.rb +42 -0
- data/spec/models/metadata_spec.rb +36 -0
- data/spec/models/microsoft_entra_provider_group_request_spec.rb +42 -0
- data/spec/models/microsoft_entra_provider_group_spec.rb +60 -0
- data/spec/models/microsoft_entra_provider_mapping_request_spec.rb +42 -0
- data/spec/models/microsoft_entra_provider_mapping_spec.rb +72 -0
- data/spec/models/microsoft_entra_provider_request_spec.rb +102 -0
- data/spec/models/microsoft_entra_provider_spec.rb +144 -0
- data/spec/models/microsoft_entra_provider_user_request_spec.rb +42 -0
- data/spec/models/microsoft_entra_provider_user_spec.rb +60 -0
- data/spec/models/model_enum_spec.rb +24 -0
- data/spec/models/model_request_spec.rb +38 -0
- data/spec/models/mutual_tls_stage_request_spec.rb +54 -0
- data/spec/models/mutual_tls_stage_spec.rb +90 -0
- data/spec/models/native_logout_challenge_response_request_spec.rb +30 -0
- data/spec/models/native_logout_challenge_spec.rb +84 -0
- data/spec/models/network_binding_enum_spec.rb +24 -0
- data/spec/models/network_interface_request_spec.rb +48 -0
- data/spec/models/network_interface_spec.rb +48 -0
- data/spec/models/network_request_spec.rb +48 -0
- data/spec/models/network_spec.rb +48 -0
- data/spec/models/not_configured_action_enum_spec.rb +24 -0
- data/spec/models/notification_request_spec.rb +48 -0
- data/spec/models/notification_rule_request_spec.rb +54 -0
- data/spec/models/notification_rule_spec.rb +66 -0
- data/spec/models/notification_spec.rb +72 -0
- data/spec/models/notification_transport_mode_enum_spec.rb +24 -0
- data/spec/models/notification_transport_request_spec.rb +72 -0
- data/spec/models/notification_transport_spec.rb +84 -0
- data/spec/models/notification_transport_test_spec.rb +30 -0
- data/spec/models/notification_webhook_mapping_request_spec.rb +36 -0
- data/spec/models/notification_webhook_mapping_spec.rb +42 -0
- data/spec/models/o_auth2_provider_logout_method_enum_spec.rb +24 -0
- data/spec/models/o_auth2_provider_request_spec.rb +156 -0
- data/spec/models/o_auth2_provider_setup_urls_spec.rb +66 -0
- data/spec/models/o_auth2_provider_spec.rb +210 -0
- data/spec/models/o_auth_device_code_challenge_response_request_spec.rb +36 -0
- data/spec/models/o_auth_device_code_challenge_spec.rb +42 -0
- data/spec/models/o_auth_device_code_finish_challenge_response_request_spec.rb +30 -0
- data/spec/models/o_auth_device_code_finish_challenge_spec.rb +42 -0
- data/spec/models/o_auth_source_property_mapping_request_spec.rb +42 -0
- data/spec/models/o_auth_source_property_mapping_spec.rb +72 -0
- data/spec/models/o_auth_source_request_spec.rb +180 -0
- data/spec/models/o_auth_source_spec.rb +234 -0
- data/spec/models/open_id_connect_configuration_spec.rb +90 -0
- data/spec/models/operating_system_request_spec.rb +48 -0
- data/spec/models/operating_system_spec.rb +48 -0
- data/spec/models/outgoing_sync_delete_action_spec.rb +24 -0
- data/spec/models/outpost_default_config_spec.rb +30 -0
- data/spec/models/outpost_health_spec.rb +96 -0
- data/spec/models/outpost_request_spec.rb +60 -0
- data/spec/models/outpost_spec.rb +90 -0
- data/spec/models/outpost_type_enum_spec.rb +24 -0
- data/spec/models/paginated_agent_connector_list_spec.rb +42 -0
- data/spec/models/paginated_application_entitlement_list_spec.rb +42 -0
- data/spec/models/paginated_application_list_spec.rb +42 -0
- data/spec/models/paginated_authenticated_session_list_spec.rb +42 -0
- data/spec/models/paginated_authenticator_duo_stage_list_spec.rb +42 -0
- data/spec/models/paginated_authenticator_email_stage_list_spec.rb +42 -0
- data/spec/models/paginated_authenticator_endpoint_gdtc_stage_list_spec.rb +42 -0
- data/spec/models/paginated_authenticator_sms_stage_list_spec.rb +42 -0
- data/spec/models/paginated_authenticator_static_stage_list_spec.rb +42 -0
- data/spec/models/paginated_authenticator_totp_stage_list_spec.rb +42 -0
- data/spec/models/paginated_authenticator_validate_stage_list_spec.rb +42 -0
- data/spec/models/paginated_authenticator_web_authn_stage_list_spec.rb +42 -0
- data/spec/models/paginated_blueprint_instance_list_spec.rb +42 -0
- data/spec/models/paginated_brand_list_spec.rb +42 -0
- data/spec/models/paginated_captcha_stage_list_spec.rb +42 -0
- data/spec/models/paginated_certificate_key_pair_list_spec.rb +42 -0
- data/spec/models/paginated_connection_token_list_spec.rb +42 -0
- data/spec/models/paginated_connector_list_spec.rb +42 -0
- data/spec/models/paginated_consent_stage_list_spec.rb +42 -0
- data/spec/models/paginated_data_export_list_spec.rb +42 -0
- data/spec/models/paginated_deny_stage_list_spec.rb +42 -0
- data/spec/models/paginated_device_access_group_list_spec.rb +42 -0
- data/spec/models/paginated_device_user_binding_list_spec.rb +42 -0
- data/spec/models/paginated_docker_service_connection_list_spec.rb +42 -0
- data/spec/models/paginated_domain_list_spec.rb +42 -0
- data/spec/models/paginated_dummy_policy_list_spec.rb +42 -0
- data/spec/models/paginated_dummy_stage_list_spec.rb +42 -0
- data/spec/models/paginated_duo_device_list_spec.rb +42 -0
- data/spec/models/paginated_email_device_list_spec.rb +42 -0
- data/spec/models/paginated_email_stage_list_spec.rb +42 -0
- data/spec/models/paginated_endpoint_device_list_spec.rb +42 -0
- data/spec/models/paginated_endpoint_list_spec.rb +42 -0
- data/spec/models/paginated_endpoint_stage_list_spec.rb +42 -0
- data/spec/models/paginated_enrollment_token_list_spec.rb +42 -0
- data/spec/models/paginated_event_list_spec.rb +42 -0
- data/spec/models/paginated_event_matcher_policy_list_spec.rb +42 -0
- data/spec/models/paginated_expiring_base_grant_model_list_spec.rb +42 -0
- data/spec/models/paginated_expression_policy_list_spec.rb +42 -0
- data/spec/models/paginated_extra_role_object_permission_list_spec.rb +36 -0
- data/spec/models/paginated_flow_list_spec.rb +42 -0
- data/spec/models/paginated_flow_stage_binding_list_spec.rb +42 -0
- data/spec/models/paginated_geo_ip_policy_list_spec.rb +42 -0
- data/spec/models/paginated_google_endpoint_device_list_spec.rb +42 -0
- data/spec/models/paginated_google_workspace_provider_group_list_spec.rb +42 -0
- data/spec/models/paginated_google_workspace_provider_list_spec.rb +42 -0
- data/spec/models/paginated_google_workspace_provider_mapping_list_spec.rb +42 -0
- data/spec/models/paginated_google_workspace_provider_user_list_spec.rb +42 -0
- data/spec/models/paginated_group_kerberos_source_connection_list_spec.rb +42 -0
- data/spec/models/paginated_group_ldap_source_connection_list_spec.rb +42 -0
- data/spec/models/paginated_group_list_spec.rb +42 -0
- data/spec/models/paginated_group_o_auth_source_connection_list_spec.rb +42 -0
- data/spec/models/paginated_group_plex_source_connection_list_spec.rb +42 -0
- data/spec/models/paginated_group_saml_source_connection_list_spec.rb +42 -0
- data/spec/models/paginated_group_source_connection_list_spec.rb +42 -0
- data/spec/models/paginated_group_telegram_source_connection_list_spec.rb +42 -0
- data/spec/models/paginated_identification_stage_list_spec.rb +42 -0
- data/spec/models/paginated_initial_permissions_list_spec.rb +42 -0
- data/spec/models/paginated_invitation_list_spec.rb +42 -0
- data/spec/models/paginated_invitation_stage_list_spec.rb +42 -0
- data/spec/models/paginated_kerberos_source_list_spec.rb +42 -0
- data/spec/models/paginated_kerberos_source_property_mapping_list_spec.rb +42 -0
- data/spec/models/paginated_kubernetes_service_connection_list_spec.rb +42 -0
- data/spec/models/paginated_ldap_outpost_config_list_spec.rb +42 -0
- data/spec/models/paginated_ldap_provider_list_spec.rb +42 -0
- data/spec/models/paginated_ldap_source_list_spec.rb +42 -0
- data/spec/models/paginated_ldap_source_property_mapping_list_spec.rb +42 -0
- data/spec/models/paginated_license_list_spec.rb +42 -0
- data/spec/models/paginated_microsoft_entra_provider_group_list_spec.rb +42 -0
- data/spec/models/paginated_microsoft_entra_provider_list_spec.rb +42 -0
- data/spec/models/paginated_microsoft_entra_provider_mapping_list_spec.rb +42 -0
- data/spec/models/paginated_microsoft_entra_provider_user_list_spec.rb +42 -0
- data/spec/models/paginated_mutual_tls_stage_list_spec.rb +42 -0
- data/spec/models/paginated_notification_list_spec.rb +42 -0
- data/spec/models/paginated_notification_rule_list_spec.rb +42 -0
- data/spec/models/paginated_notification_transport_list_spec.rb +42 -0
- data/spec/models/paginated_notification_webhook_mapping_list_spec.rb +42 -0
- data/spec/models/paginated_o_auth2_provider_list_spec.rb +42 -0
- data/spec/models/paginated_o_auth_source_list_spec.rb +42 -0
- data/spec/models/paginated_o_auth_source_property_mapping_list_spec.rb +42 -0
- data/spec/models/paginated_outpost_list_spec.rb +42 -0
- data/spec/models/paginated_password_expiry_policy_list_spec.rb +42 -0
- data/spec/models/paginated_password_policy_list_spec.rb +42 -0
- data/spec/models/paginated_password_stage_list_spec.rb +42 -0
- data/spec/models/paginated_permission_list_spec.rb +42 -0
- data/spec/models/paginated_plex_source_list_spec.rb +42 -0
- data/spec/models/paginated_plex_source_property_mapping_list_spec.rb +42 -0
- data/spec/models/paginated_policy_binding_list_spec.rb +42 -0
- data/spec/models/paginated_policy_list_spec.rb +42 -0
- data/spec/models/paginated_prompt_list_spec.rb +42 -0
- data/spec/models/paginated_prompt_stage_list_spec.rb +42 -0
- data/spec/models/paginated_property_mapping_list_spec.rb +42 -0
- data/spec/models/paginated_provider_list_spec.rb +42 -0
- data/spec/models/paginated_proxy_outpost_config_list_spec.rb +42 -0
- data/spec/models/paginated_proxy_provider_list_spec.rb +42 -0
- data/spec/models/paginated_rac_property_mapping_list_spec.rb +42 -0
- data/spec/models/paginated_rac_provider_list_spec.rb +42 -0
- data/spec/models/paginated_radius_outpost_config_list_spec.rb +42 -0
- data/spec/models/paginated_radius_provider_list_spec.rb +42 -0
- data/spec/models/paginated_radius_provider_property_mapping_list_spec.rb +42 -0
- data/spec/models/paginated_redirect_stage_list_spec.rb +42 -0
- data/spec/models/paginated_reputation_list_spec.rb +42 -0
- data/spec/models/paginated_reputation_policy_list_spec.rb +42 -0
- data/spec/models/paginated_role_assigned_object_permission_list_spec.rb +42 -0
- data/spec/models/paginated_role_list_spec.rb +42 -0
- data/spec/models/paginated_saml_property_mapping_list_spec.rb +42 -0
- data/spec/models/paginated_saml_provider_list_spec.rb +42 -0
- data/spec/models/paginated_saml_source_list_spec.rb +42 -0
- data/spec/models/paginated_saml_source_property_mapping_list_spec.rb +42 -0
- data/spec/models/paginated_schedule_list_spec.rb +42 -0
- data/spec/models/paginated_scim_mapping_list_spec.rb +42 -0
- data/spec/models/paginated_scim_provider_group_list_spec.rb +42 -0
- data/spec/models/paginated_scim_provider_list_spec.rb +42 -0
- data/spec/models/paginated_scim_provider_user_list_spec.rb +42 -0
- data/spec/models/paginated_scim_source_group_list_spec.rb +42 -0
- data/spec/models/paginated_scim_source_list_spec.rb +42 -0
- data/spec/models/paginated_scim_source_property_mapping_list_spec.rb +42 -0
- data/spec/models/paginated_scim_source_user_list_spec.rb +42 -0
- data/spec/models/paginated_scope_mapping_list_spec.rb +42 -0
- data/spec/models/paginated_service_connection_list_spec.rb +42 -0
- data/spec/models/paginated_sms_device_list_spec.rb +42 -0
- data/spec/models/paginated_source_list_spec.rb +42 -0
- data/spec/models/paginated_source_stage_list_spec.rb +42 -0
- data/spec/models/paginated_ssf_provider_list_spec.rb +42 -0
- data/spec/models/paginated_ssf_stream_list_spec.rb +42 -0
- data/spec/models/paginated_stage_list_spec.rb +42 -0
- data/spec/models/paginated_static_device_list_spec.rb +42 -0
- data/spec/models/paginated_task_list_spec.rb +42 -0
- data/spec/models/paginated_telegram_source_list_spec.rb +42 -0
- data/spec/models/paginated_telegram_source_property_mapping_list_spec.rb +42 -0
- data/spec/models/paginated_tenant_list_spec.rb +42 -0
- data/spec/models/paginated_token_list_spec.rb +42 -0
- data/spec/models/paginated_token_model_list_spec.rb +42 -0
- data/spec/models/paginated_totp_device_list_spec.rb +42 -0
- data/spec/models/paginated_unique_password_policy_list_spec.rb +42 -0
- data/spec/models/paginated_user_consent_list_spec.rb +42 -0
- data/spec/models/paginated_user_delete_stage_list_spec.rb +42 -0
- data/spec/models/paginated_user_kerberos_source_connection_list_spec.rb +42 -0
- data/spec/models/paginated_user_ldap_source_connection_list_spec.rb +42 -0
- data/spec/models/paginated_user_list_spec.rb +42 -0
- data/spec/models/paginated_user_login_stage_list_spec.rb +42 -0
- data/spec/models/paginated_user_logout_stage_list_spec.rb +42 -0
- data/spec/models/paginated_user_o_auth_source_connection_list_spec.rb +42 -0
- data/spec/models/paginated_user_plex_source_connection_list_spec.rb +42 -0
- data/spec/models/paginated_user_saml_source_connection_list_spec.rb +42 -0
- data/spec/models/paginated_user_source_connection_list_spec.rb +42 -0
- data/spec/models/paginated_user_telegram_source_connection_list_spec.rb +42 -0
- data/spec/models/paginated_user_write_stage_list_spec.rb +42 -0
- data/spec/models/paginated_web_authn_device_list_spec.rb +42 -0
- data/spec/models/paginated_web_authn_device_type_list_spec.rb +42 -0
- data/spec/models/pagination_spec.rb +66 -0
- data/spec/models/partial_group_spec.rb +54 -0
- data/spec/models/partial_user_spec.rb +72 -0
- data/spec/models/password_challenge_response_request_spec.rb +36 -0
- data/spec/models/password_challenge_spec.rb +66 -0
- data/spec/models/password_expiry_policy_request_spec.rb +48 -0
- data/spec/models/password_expiry_policy_spec.rb +84 -0
- data/spec/models/password_policy_request_spec.rb +114 -0
- data/spec/models/password_policy_spec.rb +150 -0
- data/spec/models/password_stage_request_spec.rb +54 -0
- data/spec/models/password_stage_spec.rb +90 -0
- data/spec/models/patched_agent_connector_request_spec.rb +108 -0
- data/spec/models/patched_application_entitlement_request_spec.rb +42 -0
- data/spec/models/patched_application_request_spec.rb +90 -0
- data/spec/models/patched_authenticator_duo_stage_request_spec.rb +72 -0
- data/spec/models/patched_authenticator_email_stage_request_spec.rb +114 -0
- data/spec/models/patched_authenticator_endpoint_gdtc_stage_request_spec.rb +48 -0
- data/spec/models/patched_authenticator_sms_stage_request_spec.rb +90 -0
- data/spec/models/patched_authenticator_static_stage_request_spec.rb +54 -0
- data/spec/models/patched_authenticator_totp_stage_request_spec.rb +48 -0
- data/spec/models/patched_authenticator_validate_stage_request_spec.rb +66 -0
- data/spec/models/patched_authenticator_web_authn_stage_request_spec.rb +72 -0
- data/spec/models/patched_blueprint_instance_request_spec.rb +54 -0
- data/spec/models/patched_brand_request_spec.rb +126 -0
- data/spec/models/patched_captcha_stage_request_spec.rb +78 -0
- data/spec/models/patched_certificate_key_pair_request_spec.rb +42 -0
- data/spec/models/patched_connection_token_request_spec.rb +42 -0
- data/spec/models/patched_consent_stage_request_spec.rb +42 -0
- data/spec/models/patched_deny_stage_request_spec.rb +36 -0
- data/spec/models/patched_device_access_group_request_spec.rb +30 -0
- data/spec/models/patched_device_user_binding_request_spec.rb +84 -0
- data/spec/models/patched_docker_service_connection_request_spec.rb +54 -0
- data/spec/models/patched_domain_request_spec.rb +42 -0
- data/spec/models/patched_dummy_policy_request_spec.rb +54 -0
- data/spec/models/patched_dummy_stage_request_spec.rb +36 -0
- data/spec/models/patched_duo_device_request_spec.rb +30 -0
- data/spec/models/patched_email_device_request_spec.rb +30 -0
- data/spec/models/patched_email_stage_request_spec.rb +120 -0
- data/spec/models/patched_endpoint_device_request_spec.rb +66 -0
- data/spec/models/patched_endpoint_request_spec.rb +72 -0
- data/spec/models/patched_endpoint_stage_request_spec.rb +42 -0
- data/spec/models/patched_enrollment_token_request_spec.rb +54 -0
- data/spec/models/patched_event_matcher_policy_request_spec.rb +60 -0
- data/spec/models/patched_event_request_spec.rb +66 -0
- data/spec/models/patched_expression_policy_request_spec.rb +42 -0
- data/spec/models/patched_flow_request_spec.rb +84 -0
- data/spec/models/patched_flow_stage_binding_request_spec.rb +66 -0
- data/spec/models/patched_geo_ip_policy_request_spec.rb +84 -0
- data/spec/models/patched_google_endpoint_device_request_spec.rb +36 -0
- data/spec/models/patched_google_workspace_provider_mapping_request_spec.rb +42 -0
- data/spec/models/patched_google_workspace_provider_request_spec.rb +108 -0
- data/spec/models/patched_group_kerberos_source_connection_request_spec.rb +42 -0
- data/spec/models/patched_group_ldap_source_connection_request_spec.rb +42 -0
- data/spec/models/patched_group_o_auth_source_connection_request_spec.rb +42 -0
- data/spec/models/patched_group_plex_source_connection_request_spec.rb +42 -0
- data/spec/models/patched_group_request_spec.rb +60 -0
- data/spec/models/patched_group_saml_source_connection_request_spec.rb +42 -0
- data/spec/models/patched_group_source_connection_request_spec.rb +42 -0
- data/spec/models/patched_group_telegram_source_connection_request_spec.rb +42 -0
- data/spec/models/patched_identification_stage_request_spec.rb +108 -0
- data/spec/models/patched_initial_permissions_request_spec.rb +42 -0
- data/spec/models/patched_invitation_request_spec.rb +54 -0
- data/spec/models/patched_invitation_stage_request_spec.rb +36 -0
- data/spec/models/patched_kerberos_source_property_mapping_request_spec.rb +42 -0
- data/spec/models/patched_kerberos_source_request_spec.rb +186 -0
- data/spec/models/patched_kubernetes_service_connection_request_spec.rb +48 -0
- data/spec/models/patched_ldap_provider_request_spec.rb +102 -0
- data/spec/models/patched_ldap_source_property_mapping_request_spec.rb +42 -0
- data/spec/models/patched_ldap_source_request_spec.rb +234 -0
- data/spec/models/patched_license_request_spec.rb +30 -0
- data/spec/models/patched_microsoft_entra_provider_mapping_request_spec.rb +42 -0
- data/spec/models/patched_microsoft_entra_provider_request_spec.rb +102 -0
- data/spec/models/patched_mutual_tls_stage_request_spec.rb +54 -0
- data/spec/models/patched_notification_request_spec.rb +48 -0
- data/spec/models/patched_notification_rule_request_spec.rb +54 -0
- data/spec/models/patched_notification_transport_request_spec.rb +72 -0
- data/spec/models/patched_notification_webhook_mapping_request_spec.rb +36 -0
- data/spec/models/patched_o_auth2_provider_request_spec.rb +156 -0
- data/spec/models/patched_o_auth_source_property_mapping_request_spec.rb +42 -0
- data/spec/models/patched_o_auth_source_request_spec.rb +180 -0
- data/spec/models/patched_outpost_request_spec.rb +60 -0
- data/spec/models/patched_password_expiry_policy_request_spec.rb +48 -0
- data/spec/models/patched_password_policy_request_spec.rb +114 -0
- data/spec/models/patched_password_stage_request_spec.rb +54 -0
- data/spec/models/patched_permission_assign_request_spec.rb +42 -0
- data/spec/models/patched_plex_source_property_mapping_request_spec.rb +42 -0
- data/spec/models/patched_plex_source_request_spec.rb +126 -0
- data/spec/models/patched_policy_binding_request_spec.rb +78 -0
- data/spec/models/patched_prompt_request_spec.rb +90 -0
- data/spec/models/patched_prompt_stage_request_spec.rb +42 -0
- data/spec/models/patched_proxy_provider_request_spec.rb +144 -0
- data/spec/models/patched_rac_property_mapping_request_spec.rb +48 -0
- data/spec/models/patched_rac_provider_request_spec.rb +66 -0
- data/spec/models/patched_radius_provider_property_mapping_request_spec.rb +42 -0
- data/spec/models/patched_radius_provider_request_spec.rb +78 -0
- data/spec/models/patched_redirect_stage_request_spec.rb +54 -0
- data/spec/models/patched_reputation_policy_request_spec.rb +54 -0
- data/spec/models/patched_role_request_spec.rb +30 -0
- data/spec/models/patched_saml_property_mapping_request_spec.rb +54 -0
- data/spec/models/patched_saml_provider_request_spec.rb +186 -0
- data/spec/models/patched_saml_source_property_mapping_request_spec.rb +42 -0
- data/spec/models/patched_saml_source_request_spec.rb +192 -0
- data/spec/models/patched_schedule_request_spec.rb +42 -0
- data/spec/models/patched_scim_mapping_request_spec.rb +42 -0
- data/spec/models/patched_scim_provider_request_spec.rb +120 -0
- data/spec/models/patched_scim_source_group_request_spec.rb +54 -0
- data/spec/models/patched_scim_source_property_mapping_request_spec.rb +42 -0
- data/spec/models/patched_scim_source_request_spec.rb +60 -0
- data/spec/models/patched_scim_source_user_request_spec.rb +54 -0
- data/spec/models/patched_scope_mapping_request_spec.rb +54 -0
- data/spec/models/patched_settings_request_flags_spec.rb +36 -0
- data/spec/models/patched_settings_request_spec.rb +120 -0
- data/spec/models/patched_sms_device_request_spec.rb +30 -0
- data/spec/models/patched_source_stage_request_spec.rb +42 -0
- data/spec/models/patched_ssf_provider_request_spec.rb +48 -0
- data/spec/models/patched_static_device_request_spec.rb +30 -0
- data/spec/models/patched_telegram_source_property_mapping_request_spec.rb +42 -0
- data/spec/models/patched_telegram_source_request_spec.rb +120 -0
- data/spec/models/patched_tenant_request_spec.rb +42 -0
- data/spec/models/patched_token_request_spec.rb +66 -0
- data/spec/models/patched_totp_device_request_spec.rb +30 -0
- data/spec/models/patched_unique_password_policy_request_spec.rb +48 -0
- data/spec/models/patched_user_delete_stage_request_spec.rb +30 -0
- data/spec/models/patched_user_kerberos_source_connection_request_spec.rb +42 -0
- data/spec/models/patched_user_ldap_source_connection_request_spec.rb +42 -0
- data/spec/models/patched_user_login_stage_request_spec.rb +66 -0
- data/spec/models/patched_user_logout_stage_request_spec.rb +30 -0
- data/spec/models/patched_user_o_auth_source_connection_request_spec.rb +54 -0
- data/spec/models/patched_user_plex_source_connection_request_spec.rb +48 -0
- data/spec/models/patched_user_request_spec.rb +84 -0
- data/spec/models/patched_user_saml_source_connection_request_spec.rb +42 -0
- data/spec/models/patched_user_source_connection_request_spec.rb +42 -0
- data/spec/models/patched_user_telegram_source_connection_request_spec.rb +42 -0
- data/spec/models/patched_user_write_stage_request_spec.rb +60 -0
- data/spec/models/patched_web_authn_device_request_spec.rb +30 -0
- data/spec/models/permission_assign_request_spec.rb +42 -0
- data/spec/models/permission_assign_result_spec.rb +30 -0
- data/spec/models/permission_spec.rb +66 -0
- data/spec/models/pkce_method_enum_spec.rb +24 -0
- data/spec/models/plex_authentication_challenge_response_request_spec.rb +30 -0
- data/spec/models/plex_authentication_challenge_spec.rb +54 -0
- data/spec/models/plex_source_property_mapping_request_spec.rb +42 -0
- data/spec/models/plex_source_property_mapping_spec.rb +72 -0
- data/spec/models/plex_source_request_spec.rb +126 -0
- data/spec/models/plex_source_spec.rb +174 -0
- data/spec/models/plex_token_redeem_request_spec.rb +30 -0
- data/spec/models/policy_binding_request_spec.rb +78 -0
- data/spec/models/policy_binding_spec.rb +102 -0
- data/spec/models/policy_engine_mode_spec.rb +24 -0
- data/spec/models/policy_spec.rb +72 -0
- data/spec/models/policy_test_request_spec.rb +36 -0
- data/spec/models/policy_test_result_spec.rb +42 -0
- data/spec/models/process_request_spec.rb +42 -0
- data/spec/models/process_spec.rb +42 -0
- data/spec/models/prompt_challenge_response_request_spec.rb +30 -0
- data/spec/models/prompt_challenge_spec.rb +48 -0
- data/spec/models/prompt_choice_spec.rb +36 -0
- data/spec/models/prompt_request_spec.rb +90 -0
- data/spec/models/prompt_spec.rb +102 -0
- data/spec/models/prompt_stage_request_spec.rb +42 -0
- data/spec/models/prompt_stage_spec.rb +78 -0
- data/spec/models/prompt_type_enum_spec.rb +24 -0
- data/spec/models/property_mapping_preview_spec.rb +30 -0
- data/spec/models/property_mapping_spec.rb +72 -0
- data/spec/models/property_mapping_test_request_spec.rb +42 -0
- data/spec/models/property_mapping_test_result_spec.rb +36 -0
- data/spec/models/protocol_enum_spec.rb +24 -0
- data/spec/models/provider_enum_spec.rb +24 -0
- data/spec/models/provider_model_enum_spec.rb +24 -0
- data/spec/models/provider_spec.rb +108 -0
- data/spec/models/provider_type_enum_spec.rb +24 -0
- data/spec/models/proxy_mode_spec.rb +24 -0
- data/spec/models/proxy_outpost_config_spec.rb +150 -0
- data/spec/models/proxy_provider_request_spec.rb +144 -0
- data/spec/models/proxy_provider_spec.rb +216 -0
- data/spec/models/rac_property_mapping_request_spec.rb +48 -0
- data/spec/models/rac_property_mapping_spec.rb +78 -0
- data/spec/models/rac_provider_request_spec.rb +66 -0
- data/spec/models/rac_provider_spec.rb +126 -0
- data/spec/models/radius_check_access_spec.rb +36 -0
- data/spec/models/radius_outpost_config_spec.rb +72 -0
- data/spec/models/radius_provider_property_mapping_request_spec.rb +42 -0
- data/spec/models/radius_provider_property_mapping_spec.rb +72 -0
- data/spec/models/radius_provider_request_spec.rb +78 -0
- data/spec/models/radius_provider_spec.rb +138 -0
- data/spec/models/redirect_challenge_response_request_spec.rb +36 -0
- data/spec/models/redirect_challenge_spec.rb +48 -0
- data/spec/models/redirect_stage_mode_enum_spec.rb +24 -0
- data/spec/models/redirect_stage_request_spec.rb +54 -0
- data/spec/models/redirect_stage_spec.rb +90 -0
- data/spec/models/redirect_uri_request_spec.rb +36 -0
- data/spec/models/redirect_uri_spec.rb +36 -0
- data/spec/models/related_group_spec.rb +54 -0
- data/spec/models/reputation_policy_request_spec.rb +54 -0
- data/spec/models/reputation_policy_spec.rb +90 -0
- data/spec/models/reputation_spec.rb +66 -0
- data/spec/models/resident_key_requirement_enum_spec.rb +24 -0
- data/spec/models/role_assigned_object_permission_spec.rb +48 -0
- data/spec/models/role_model_permission_spec.rb +54 -0
- data/spec/models/role_object_permission_spec.rb +60 -0
- data/spec/models/role_request_spec.rb +30 -0
- data/spec/models/role_spec.rb +36 -0
- data/spec/models/saml_bindings_enum_spec.rb +24 -0
- data/spec/models/saml_metadata_spec.rb +36 -0
- data/spec/models/saml_name_id_policy_enum_spec.rb +24 -0
- data/spec/models/saml_property_mapping_request_spec.rb +54 -0
- data/spec/models/saml_property_mapping_spec.rb +84 -0
- data/spec/models/saml_provider_logout_method_enum_spec.rb +24 -0
- data/spec/models/saml_provider_request_spec.rb +186 -0
- data/spec/models/saml_provider_spec.rb +276 -0
- data/spec/models/saml_source_property_mapping_request_spec.rb +42 -0
- data/spec/models/saml_source_property_mapping_spec.rb +72 -0
- data/spec/models/saml_source_request_spec.rb +192 -0
- data/spec/models/saml_source_spec.rb +240 -0
- data/spec/models/schedule_request_spec.rb +42 -0
- data/spec/models/schedule_spec.rb +96 -0
- data/spec/models/scim_authentication_mode_enum_spec.rb +24 -0
- data/spec/models/scim_mapping_request_spec.rb +42 -0
- data/spec/models/scim_mapping_spec.rb +72 -0
- data/spec/models/scim_provider_group_request_spec.rb +42 -0
- data/spec/models/scim_provider_group_spec.rb +60 -0
- data/spec/models/scim_provider_request_spec.rb +120 -0
- data/spec/models/scim_provider_spec.rb +162 -0
- data/spec/models/scim_provider_user_request_spec.rb +42 -0
- data/spec/models/scim_provider_user_spec.rb +60 -0
- data/spec/models/scim_source_group_request_spec.rb +54 -0
- data/spec/models/scim_source_group_spec.rb +60 -0
- data/spec/models/scim_source_property_mapping_request_spec.rb +42 -0
- data/spec/models/scim_source_property_mapping_spec.rb +72 -0
- data/spec/models/scim_source_request_spec.rb +60 -0
- data/spec/models/scim_source_spec.rb +108 -0
- data/spec/models/scim_source_user_request_spec.rb +54 -0
- data/spec/models/scim_source_user_spec.rb +60 -0
- data/spec/models/scope_mapping_request_spec.rb +54 -0
- data/spec/models/scope_mapping_spec.rb +84 -0
- data/spec/models/selectable_stage_spec.rb +48 -0
- data/spec/models/service_connection_spec.rb +66 -0
- data/spec/models/service_connection_state_spec.rb +36 -0
- data/spec/models/session_end_challenge_spec.rb +78 -0
- data/spec/models/session_user_spec.rb +36 -0
- data/spec/models/settings_request_spec.rb +120 -0
- data/spec/models/settings_spec.rb +120 -0
- data/spec/models/severity_enum_spec.rb +24 -0
- data/spec/models/shell_challenge_spec.rb +48 -0
- data/spec/models/signature_algorithm_enum_spec.rb +24 -0
- data/spec/models/sms_device_request_spec.rb +30 -0
- data/spec/models/sms_device_spec.rb +48 -0
- data/spec/models/software_request_spec.rb +48 -0
- data/spec/models/software_spec.rb +48 -0
- data/spec/models/source_spec.rb +144 -0
- data/spec/models/source_stage_request_spec.rb +42 -0
- data/spec/models/source_stage_spec.rb +78 -0
- data/spec/models/source_type_spec.rb +78 -0
- data/spec/models/ssf_provider_request_spec.rb +48 -0
- data/spec/models/ssf_provider_spec.rb +90 -0
- data/spec/models/ssf_stream_spec.rb +78 -0
- data/spec/models/stage_mode_enum_spec.rb +24 -0
- data/spec/models/stage_prompt_spec.rb +78 -0
- data/spec/models/stage_spec.rb +66 -0
- data/spec/models/state_enum_spec.rb +24 -0
- data/spec/models/static_device_request_spec.rb +30 -0
- data/spec/models/static_device_spec.rb +48 -0
- data/spec/models/static_device_token_spec.rb +30 -0
- data/spec/models/sub_mode_enum_spec.rb +24 -0
- data/spec/models/sync_object_model_enum_spec.rb +24 -0
- data/spec/models/sync_object_request_spec.rb +42 -0
- data/spec/models/sync_object_result_spec.rb +30 -0
- data/spec/models/sync_outgoing_trigger_mode_enum_spec.rb +24 -0
- data/spec/models/sync_status_spec.rb +42 -0
- data/spec/models/system_info_runtime_spec.rb +72 -0
- data/spec/models/system_info_spec.rb +72 -0
- data/spec/models/task_aggregated_status_enum_spec.rb +24 -0
- data/spec/models/task_spec.rb +114 -0
- data/spec/models/telegram_auth_request_spec.rb +66 -0
- data/spec/models/telegram_challenge_response_request_spec.rb +72 -0
- data/spec/models/telegram_login_challenge_spec.rb +54 -0
- data/spec/models/telegram_source_property_mapping_request_spec.rb +42 -0
- data/spec/models/telegram_source_property_mapping_spec.rb +72 -0
- data/spec/models/telegram_source_request_spec.rb +120 -0
- data/spec/models/telegram_source_spec.rb +162 -0
- data/spec/models/tenant_admin_group_request_request_spec.rb +30 -0
- data/spec/models/tenant_recovery_key_request_request_spec.rb +36 -0
- data/spec/models/tenant_recovery_key_response_spec.rb +36 -0
- data/spec/models/tenant_request_spec.rb +42 -0
- data/spec/models/tenant_spec.rb +48 -0
- data/spec/models/themed_urls_spec.rb +36 -0
- data/spec/models/token_model_spec.rb +72 -0
- data/spec/models/token_request_spec.rb +66 -0
- data/spec/models/token_set_key_request_spec.rb +30 -0
- data/spec/models/token_spec.rb +78 -0
- data/spec/models/token_view_spec.rb +30 -0
- data/spec/models/totp_device_request_spec.rb +30 -0
- data/spec/models/totp_device_spec.rb +42 -0
- data/spec/models/transaction_application_request_spec.rb +48 -0
- data/spec/models/transaction_application_response_spec.rb +36 -0
- data/spec/models/transaction_policy_binding_request_spec.rb +72 -0
- data/spec/models/type_create_spec.rb +66 -0
- data/spec/models/ui_theme_enum_spec.rb +24 -0
- data/spec/models/unique_password_policy_request_spec.rb +48 -0
- data/spec/models/unique_password_policy_spec.rb +84 -0
- data/spec/models/used_by_action_enum_spec.rb +24 -0
- data/spec/models/used_by_spec.rb +54 -0
- data/spec/models/user_account_request_spec.rb +30 -0
- data/spec/models/user_account_serializer_for_role_request_spec.rb +30 -0
- data/spec/models/user_attribute_enum_spec.rb +24 -0
- data/spec/models/user_consent_spec.rb +60 -0
- data/spec/models/user_creation_mode_enum_spec.rb +24 -0
- data/spec/models/user_delete_stage_request_spec.rb +30 -0
- data/spec/models/user_delete_stage_spec.rb +66 -0
- data/spec/models/user_fields_enum_spec.rb +24 -0
- data/spec/models/user_kerberos_source_connection_request_spec.rb +42 -0
- data/spec/models/user_kerberos_source_connection_spec.rb +66 -0
- data/spec/models/user_ldap_source_connection_request_spec.rb +42 -0
- data/spec/models/user_ldap_source_connection_spec.rb +66 -0
- data/spec/models/user_login_challenge_response_request_spec.rb +36 -0
- data/spec/models/user_login_challenge_spec.rb +54 -0
- data/spec/models/user_login_stage_request_spec.rb +66 -0
- data/spec/models/user_login_stage_spec.rb +102 -0
- data/spec/models/user_logout_stage_request_spec.rb +30 -0
- data/spec/models/user_logout_stage_spec.rb +66 -0
- data/spec/models/user_matching_mode_enum_spec.rb +24 -0
- data/spec/models/user_o_auth_source_connection_request_spec.rb +54 -0
- data/spec/models/user_o_auth_source_connection_spec.rb +72 -0
- data/spec/models/user_password_set_request_spec.rb +30 -0
- data/spec/models/user_path_spec.rb +30 -0
- data/spec/models/user_plex_source_connection_request_spec.rb +48 -0
- data/spec/models/user_plex_source_connection_spec.rb +66 -0
- data/spec/models/user_request_spec.rb +84 -0
- data/spec/models/user_saml_source_connection_request_spec.rb +42 -0
- data/spec/models/user_saml_source_connection_spec.rb +66 -0
- data/spec/models/user_self_groups_spec.rb +36 -0
- data/spec/models/user_self_roles_spec.rb +36 -0
- data/spec/models/user_self_spec.rb +102 -0
- data/spec/models/user_service_account_request_spec.rb +48 -0
- data/spec/models/user_service_account_response_spec.rb +54 -0
- data/spec/models/user_setting_spec.rb +54 -0
- data/spec/models/user_source_connection_request_spec.rb +42 -0
- data/spec/models/user_source_connection_spec.rb +66 -0
- data/spec/models/user_spec.rb +144 -0
- data/spec/models/user_telegram_source_connection_request_spec.rb +42 -0
- data/spec/models/user_telegram_source_connection_spec.rb +66 -0
- data/spec/models/user_type_enum_spec.rb +24 -0
- data/spec/models/user_verification_enum_spec.rb +24 -0
- data/spec/models/user_write_stage_request_spec.rb +60 -0
- data/spec/models/user_write_stage_spec.rb +96 -0
- data/spec/models/validation_error_spec.rb +36 -0
- data/spec/models/version_history_spec.rb +48 -0
- data/spec/models/version_spec.rb +60 -0
- data/spec/models/web_authn_device_request_spec.rb +30 -0
- data/spec/models/web_authn_device_spec.rb +60 -0
- data/spec/models/web_authn_device_type_spec.rb +36 -0
- data/spec/models/worker_spec.rb +42 -0
- data/spec/spec_helper.rb +105 -0
- metadata +2705 -0
|
@@ -0,0 +1,3196 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
This file is automatically generated by: https://openapi-generator.tech.
|
|
3
|
+
Any manual changes will be lost when the OpenAPI scheme changes.
|
|
4
|
+
|
|
5
|
+
=end
|
|
6
|
+
|
|
7
|
+
require 'cgi'
|
|
8
|
+
|
|
9
|
+
module Authentik::Api
|
|
10
|
+
class EndpointsApi
|
|
11
|
+
attr_accessor :api_client
|
|
12
|
+
|
|
13
|
+
def initialize(api_client = ApiClient.default)
|
|
14
|
+
@api_client = api_client
|
|
15
|
+
end
|
|
16
|
+
# Mixin to add a used_by endpoint to return a list of all objects using this object
|
|
17
|
+
# @param [Hash] opts the optional parameters
|
|
18
|
+
# @return [AgentConfig]
|
|
19
|
+
def endpoints_agents_connectors_agent_config_retrieve(opts = {})
|
|
20
|
+
data, _status_code, _headers = endpoints_agents_connectors_agent_config_retrieve_with_http_info(opts)
|
|
21
|
+
data
|
|
22
|
+
end
|
|
23
|
+
|
|
24
|
+
# Mixin to add a used_by endpoint to return a list of all objects using this object
|
|
25
|
+
# @param [Hash] opts the optional parameters
|
|
26
|
+
# @return [Array<(AgentConfig, Integer, Hash)>] AgentConfig data, response status code and response headers
|
|
27
|
+
def endpoints_agents_connectors_agent_config_retrieve_with_http_info(opts = {})
|
|
28
|
+
if @api_client.config.debugging
|
|
29
|
+
@api_client.config.logger.debug 'Calling API: EndpointsApi.endpoints_agents_connectors_agent_config_retrieve ...'
|
|
30
|
+
end
|
|
31
|
+
# resource path
|
|
32
|
+
local_var_path = '/endpoints/agents/connectors/agent_config/'
|
|
33
|
+
|
|
34
|
+
# query parameters
|
|
35
|
+
query_params = opts[:query_params] || {}
|
|
36
|
+
|
|
37
|
+
# header parameters
|
|
38
|
+
header_params = opts[:header_params] || {}
|
|
39
|
+
# HTTP header 'Accept' (if needed)
|
|
40
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
41
|
+
|
|
42
|
+
# form parameters
|
|
43
|
+
form_params = opts[:form_params] || {}
|
|
44
|
+
|
|
45
|
+
# http body (model)
|
|
46
|
+
post_body = opts[:debug_body]
|
|
47
|
+
|
|
48
|
+
# return_type
|
|
49
|
+
return_type = opts[:debug_return_type] || 'AgentConfig'
|
|
50
|
+
|
|
51
|
+
# auth_names
|
|
52
|
+
auth_names = opts[:debug_auth_names] || []
|
|
53
|
+
|
|
54
|
+
new_options = opts.merge(
|
|
55
|
+
:operation => :"EndpointsApi.endpoints_agents_connectors_agent_config_retrieve",
|
|
56
|
+
:header_params => header_params,
|
|
57
|
+
:query_params => query_params,
|
|
58
|
+
:form_params => form_params,
|
|
59
|
+
:body => post_body,
|
|
60
|
+
:auth_names => auth_names,
|
|
61
|
+
:return_type => return_type
|
|
62
|
+
)
|
|
63
|
+
|
|
64
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
65
|
+
if @api_client.config.debugging
|
|
66
|
+
@api_client.config.logger.debug "API called: EndpointsApi#endpoints_agents_connectors_agent_config_retrieve\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
67
|
+
end
|
|
68
|
+
return data, status_code, headers
|
|
69
|
+
end
|
|
70
|
+
|
|
71
|
+
# Mixin to add a used_by endpoint to return a list of all objects using this object
|
|
72
|
+
# @param device [String]
|
|
73
|
+
# @param [Hash] opts the optional parameters
|
|
74
|
+
# @return [AgentTokenResponse]
|
|
75
|
+
def endpoints_agents_connectors_auth_fed_create(device, opts = {})
|
|
76
|
+
data, _status_code, _headers = endpoints_agents_connectors_auth_fed_create_with_http_info(device, opts)
|
|
77
|
+
data
|
|
78
|
+
end
|
|
79
|
+
|
|
80
|
+
# Mixin to add a used_by endpoint to return a list of all objects using this object
|
|
81
|
+
# @param device [String]
|
|
82
|
+
# @param [Hash] opts the optional parameters
|
|
83
|
+
# @return [Array<(AgentTokenResponse, Integer, Hash)>] AgentTokenResponse data, response status code and response headers
|
|
84
|
+
def endpoints_agents_connectors_auth_fed_create_with_http_info(device, opts = {})
|
|
85
|
+
if @api_client.config.debugging
|
|
86
|
+
@api_client.config.logger.debug 'Calling API: EndpointsApi.endpoints_agents_connectors_auth_fed_create ...'
|
|
87
|
+
end
|
|
88
|
+
# verify the required parameter 'device' is set
|
|
89
|
+
if @api_client.config.client_side_validation && device.nil?
|
|
90
|
+
fail ArgumentError, "Missing the required parameter 'device' when calling EndpointsApi.endpoints_agents_connectors_auth_fed_create"
|
|
91
|
+
end
|
|
92
|
+
# resource path
|
|
93
|
+
local_var_path = '/endpoints/agents/connectors/auth_fed/'
|
|
94
|
+
|
|
95
|
+
# query parameters
|
|
96
|
+
query_params = opts[:query_params] || {}
|
|
97
|
+
query_params[:'device'] = device
|
|
98
|
+
|
|
99
|
+
# header parameters
|
|
100
|
+
header_params = opts[:header_params] || {}
|
|
101
|
+
# HTTP header 'Accept' (if needed)
|
|
102
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
103
|
+
|
|
104
|
+
# form parameters
|
|
105
|
+
form_params = opts[:form_params] || {}
|
|
106
|
+
|
|
107
|
+
# http body (model)
|
|
108
|
+
post_body = opts[:debug_body]
|
|
109
|
+
|
|
110
|
+
# return_type
|
|
111
|
+
return_type = opts[:debug_return_type] || 'AgentTokenResponse'
|
|
112
|
+
|
|
113
|
+
# auth_names
|
|
114
|
+
auth_names = opts[:debug_auth_names] || []
|
|
115
|
+
|
|
116
|
+
new_options = opts.merge(
|
|
117
|
+
:operation => :"EndpointsApi.endpoints_agents_connectors_auth_fed_create",
|
|
118
|
+
:header_params => header_params,
|
|
119
|
+
:query_params => query_params,
|
|
120
|
+
:form_params => form_params,
|
|
121
|
+
:body => post_body,
|
|
122
|
+
:auth_names => auth_names,
|
|
123
|
+
:return_type => return_type
|
|
124
|
+
)
|
|
125
|
+
|
|
126
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
127
|
+
if @api_client.config.debugging
|
|
128
|
+
@api_client.config.logger.debug "API called: EndpointsApi#endpoints_agents_connectors_auth_fed_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
129
|
+
end
|
|
130
|
+
return data, status_code, headers
|
|
131
|
+
end
|
|
132
|
+
|
|
133
|
+
# Mixin to add a used_by endpoint to return a list of all objects using this object
|
|
134
|
+
# @param [Hash] opts the optional parameters
|
|
135
|
+
# @return [AgentAuthenticationResponse]
|
|
136
|
+
def endpoints_agents_connectors_auth_ia_create(opts = {})
|
|
137
|
+
data, _status_code, _headers = endpoints_agents_connectors_auth_ia_create_with_http_info(opts)
|
|
138
|
+
data
|
|
139
|
+
end
|
|
140
|
+
|
|
141
|
+
# Mixin to add a used_by endpoint to return a list of all objects using this object
|
|
142
|
+
# @param [Hash] opts the optional parameters
|
|
143
|
+
# @return [Array<(AgentAuthenticationResponse, Integer, Hash)>] AgentAuthenticationResponse data, response status code and response headers
|
|
144
|
+
def endpoints_agents_connectors_auth_ia_create_with_http_info(opts = {})
|
|
145
|
+
if @api_client.config.debugging
|
|
146
|
+
@api_client.config.logger.debug 'Calling API: EndpointsApi.endpoints_agents_connectors_auth_ia_create ...'
|
|
147
|
+
end
|
|
148
|
+
# resource path
|
|
149
|
+
local_var_path = '/endpoints/agents/connectors/auth_ia/'
|
|
150
|
+
|
|
151
|
+
# query parameters
|
|
152
|
+
query_params = opts[:query_params] || {}
|
|
153
|
+
|
|
154
|
+
# header parameters
|
|
155
|
+
header_params = opts[:header_params] || {}
|
|
156
|
+
# HTTP header 'Accept' (if needed)
|
|
157
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
158
|
+
|
|
159
|
+
# form parameters
|
|
160
|
+
form_params = opts[:form_params] || {}
|
|
161
|
+
|
|
162
|
+
# http body (model)
|
|
163
|
+
post_body = opts[:debug_body]
|
|
164
|
+
|
|
165
|
+
# return_type
|
|
166
|
+
return_type = opts[:debug_return_type] || 'AgentAuthenticationResponse'
|
|
167
|
+
|
|
168
|
+
# auth_names
|
|
169
|
+
auth_names = opts[:debug_auth_names] || []
|
|
170
|
+
|
|
171
|
+
new_options = opts.merge(
|
|
172
|
+
:operation => :"EndpointsApi.endpoints_agents_connectors_auth_ia_create",
|
|
173
|
+
:header_params => header_params,
|
|
174
|
+
:query_params => query_params,
|
|
175
|
+
:form_params => form_params,
|
|
176
|
+
:body => post_body,
|
|
177
|
+
:auth_names => auth_names,
|
|
178
|
+
:return_type => return_type
|
|
179
|
+
)
|
|
180
|
+
|
|
181
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
182
|
+
if @api_client.config.debugging
|
|
183
|
+
@api_client.config.logger.debug "API called: EndpointsApi#endpoints_agents_connectors_auth_ia_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
184
|
+
end
|
|
185
|
+
return data, status_code, headers
|
|
186
|
+
end
|
|
187
|
+
|
|
188
|
+
# Mixin to add a used_by endpoint to return a list of all objects using this object
|
|
189
|
+
# @param [Hash] opts the optional parameters
|
|
190
|
+
# @option opts [DeviceFactsRequest] :device_facts_request
|
|
191
|
+
# @return [nil]
|
|
192
|
+
def endpoints_agents_connectors_check_in_create(opts = {})
|
|
193
|
+
endpoints_agents_connectors_check_in_create_with_http_info(opts)
|
|
194
|
+
nil
|
|
195
|
+
end
|
|
196
|
+
|
|
197
|
+
# Mixin to add a used_by endpoint to return a list of all objects using this object
|
|
198
|
+
# @param [Hash] opts the optional parameters
|
|
199
|
+
# @option opts [DeviceFactsRequest] :device_facts_request
|
|
200
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
201
|
+
def endpoints_agents_connectors_check_in_create_with_http_info(opts = {})
|
|
202
|
+
if @api_client.config.debugging
|
|
203
|
+
@api_client.config.logger.debug 'Calling API: EndpointsApi.endpoints_agents_connectors_check_in_create ...'
|
|
204
|
+
end
|
|
205
|
+
# resource path
|
|
206
|
+
local_var_path = '/endpoints/agents/connectors/check_in/'
|
|
207
|
+
|
|
208
|
+
# query parameters
|
|
209
|
+
query_params = opts[:query_params] || {}
|
|
210
|
+
|
|
211
|
+
# header parameters
|
|
212
|
+
header_params = opts[:header_params] || {}
|
|
213
|
+
# HTTP header 'Accept' (if needed)
|
|
214
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
215
|
+
# HTTP header 'Content-Type'
|
|
216
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
217
|
+
if !content_type.nil?
|
|
218
|
+
header_params['Content-Type'] = content_type
|
|
219
|
+
end
|
|
220
|
+
|
|
221
|
+
# form parameters
|
|
222
|
+
form_params = opts[:form_params] || {}
|
|
223
|
+
|
|
224
|
+
# http body (model)
|
|
225
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'device_facts_request'])
|
|
226
|
+
|
|
227
|
+
# return_type
|
|
228
|
+
return_type = opts[:debug_return_type]
|
|
229
|
+
|
|
230
|
+
# auth_names
|
|
231
|
+
auth_names = opts[:debug_auth_names] || []
|
|
232
|
+
|
|
233
|
+
new_options = opts.merge(
|
|
234
|
+
:operation => :"EndpointsApi.endpoints_agents_connectors_check_in_create",
|
|
235
|
+
:header_params => header_params,
|
|
236
|
+
:query_params => query_params,
|
|
237
|
+
:form_params => form_params,
|
|
238
|
+
:body => post_body,
|
|
239
|
+
:auth_names => auth_names,
|
|
240
|
+
:return_type => return_type
|
|
241
|
+
)
|
|
242
|
+
|
|
243
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
244
|
+
if @api_client.config.debugging
|
|
245
|
+
@api_client.config.logger.debug "API called: EndpointsApi#endpoints_agents_connectors_check_in_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
246
|
+
end
|
|
247
|
+
return data, status_code, headers
|
|
248
|
+
end
|
|
249
|
+
|
|
250
|
+
# Mixin to add a used_by endpoint to return a list of all objects using this object
|
|
251
|
+
# @param agent_connector_request [AgentConnectorRequest]
|
|
252
|
+
# @param [Hash] opts the optional parameters
|
|
253
|
+
# @return [AgentConnector]
|
|
254
|
+
def endpoints_agents_connectors_create(agent_connector_request, opts = {})
|
|
255
|
+
data, _status_code, _headers = endpoints_agents_connectors_create_with_http_info(agent_connector_request, opts)
|
|
256
|
+
data
|
|
257
|
+
end
|
|
258
|
+
|
|
259
|
+
# Mixin to add a used_by endpoint to return a list of all objects using this object
|
|
260
|
+
# @param agent_connector_request [AgentConnectorRequest]
|
|
261
|
+
# @param [Hash] opts the optional parameters
|
|
262
|
+
# @return [Array<(AgentConnector, Integer, Hash)>] AgentConnector data, response status code and response headers
|
|
263
|
+
def endpoints_agents_connectors_create_with_http_info(agent_connector_request, opts = {})
|
|
264
|
+
if @api_client.config.debugging
|
|
265
|
+
@api_client.config.logger.debug 'Calling API: EndpointsApi.endpoints_agents_connectors_create ...'
|
|
266
|
+
end
|
|
267
|
+
# verify the required parameter 'agent_connector_request' is set
|
|
268
|
+
if @api_client.config.client_side_validation && agent_connector_request.nil?
|
|
269
|
+
fail ArgumentError, "Missing the required parameter 'agent_connector_request' when calling EndpointsApi.endpoints_agents_connectors_create"
|
|
270
|
+
end
|
|
271
|
+
# resource path
|
|
272
|
+
local_var_path = '/endpoints/agents/connectors/'
|
|
273
|
+
|
|
274
|
+
# query parameters
|
|
275
|
+
query_params = opts[:query_params] || {}
|
|
276
|
+
|
|
277
|
+
# header parameters
|
|
278
|
+
header_params = opts[:header_params] || {}
|
|
279
|
+
# HTTP header 'Accept' (if needed)
|
|
280
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
281
|
+
# HTTP header 'Content-Type'
|
|
282
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
283
|
+
if !content_type.nil?
|
|
284
|
+
header_params['Content-Type'] = content_type
|
|
285
|
+
end
|
|
286
|
+
|
|
287
|
+
# form parameters
|
|
288
|
+
form_params = opts[:form_params] || {}
|
|
289
|
+
|
|
290
|
+
# http body (model)
|
|
291
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(agent_connector_request)
|
|
292
|
+
|
|
293
|
+
# return_type
|
|
294
|
+
return_type = opts[:debug_return_type] || 'AgentConnector'
|
|
295
|
+
|
|
296
|
+
# auth_names
|
|
297
|
+
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
298
|
+
|
|
299
|
+
new_options = opts.merge(
|
|
300
|
+
:operation => :"EndpointsApi.endpoints_agents_connectors_create",
|
|
301
|
+
:header_params => header_params,
|
|
302
|
+
:query_params => query_params,
|
|
303
|
+
:form_params => form_params,
|
|
304
|
+
:body => post_body,
|
|
305
|
+
:auth_names => auth_names,
|
|
306
|
+
:return_type => return_type
|
|
307
|
+
)
|
|
308
|
+
|
|
309
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
310
|
+
if @api_client.config.debugging
|
|
311
|
+
@api_client.config.logger.debug "API called: EndpointsApi#endpoints_agents_connectors_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
312
|
+
end
|
|
313
|
+
return data, status_code, headers
|
|
314
|
+
end
|
|
315
|
+
|
|
316
|
+
# Mixin to add a used_by endpoint to return a list of all objects using this object
|
|
317
|
+
# @param connector_uuid [String] A UUID string identifying this Agent Connector.
|
|
318
|
+
# @param [Hash] opts the optional parameters
|
|
319
|
+
# @return [nil]
|
|
320
|
+
def endpoints_agents_connectors_destroy(connector_uuid, opts = {})
|
|
321
|
+
endpoints_agents_connectors_destroy_with_http_info(connector_uuid, opts)
|
|
322
|
+
nil
|
|
323
|
+
end
|
|
324
|
+
|
|
325
|
+
# Mixin to add a used_by endpoint to return a list of all objects using this object
|
|
326
|
+
# @param connector_uuid [String] A UUID string identifying this Agent Connector.
|
|
327
|
+
# @param [Hash] opts the optional parameters
|
|
328
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
329
|
+
def endpoints_agents_connectors_destroy_with_http_info(connector_uuid, opts = {})
|
|
330
|
+
if @api_client.config.debugging
|
|
331
|
+
@api_client.config.logger.debug 'Calling API: EndpointsApi.endpoints_agents_connectors_destroy ...'
|
|
332
|
+
end
|
|
333
|
+
# verify the required parameter 'connector_uuid' is set
|
|
334
|
+
if @api_client.config.client_side_validation && connector_uuid.nil?
|
|
335
|
+
fail ArgumentError, "Missing the required parameter 'connector_uuid' when calling EndpointsApi.endpoints_agents_connectors_destroy"
|
|
336
|
+
end
|
|
337
|
+
# resource path
|
|
338
|
+
local_var_path = '/endpoints/agents/connectors/{connector_uuid}/'.sub('{' + 'connector_uuid' + '}', CGI.escape(connector_uuid.to_s))
|
|
339
|
+
|
|
340
|
+
# query parameters
|
|
341
|
+
query_params = opts[:query_params] || {}
|
|
342
|
+
|
|
343
|
+
# header parameters
|
|
344
|
+
header_params = opts[:header_params] || {}
|
|
345
|
+
# HTTP header 'Accept' (if needed)
|
|
346
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
347
|
+
|
|
348
|
+
# form parameters
|
|
349
|
+
form_params = opts[:form_params] || {}
|
|
350
|
+
|
|
351
|
+
# http body (model)
|
|
352
|
+
post_body = opts[:debug_body]
|
|
353
|
+
|
|
354
|
+
# return_type
|
|
355
|
+
return_type = opts[:debug_return_type]
|
|
356
|
+
|
|
357
|
+
# auth_names
|
|
358
|
+
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
359
|
+
|
|
360
|
+
new_options = opts.merge(
|
|
361
|
+
:operation => :"EndpointsApi.endpoints_agents_connectors_destroy",
|
|
362
|
+
:header_params => header_params,
|
|
363
|
+
:query_params => query_params,
|
|
364
|
+
:form_params => form_params,
|
|
365
|
+
:body => post_body,
|
|
366
|
+
:auth_names => auth_names,
|
|
367
|
+
:return_type => return_type
|
|
368
|
+
)
|
|
369
|
+
|
|
370
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
|
371
|
+
if @api_client.config.debugging
|
|
372
|
+
@api_client.config.logger.debug "API called: EndpointsApi#endpoints_agents_connectors_destroy\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
373
|
+
end
|
|
374
|
+
return data, status_code, headers
|
|
375
|
+
end
|
|
376
|
+
|
|
377
|
+
# Mixin to add a used_by endpoint to return a list of all objects using this object
|
|
378
|
+
# @param enroll_request [EnrollRequest]
|
|
379
|
+
# @param [Hash] opts the optional parameters
|
|
380
|
+
# @return [AgentTokenResponse]
|
|
381
|
+
def endpoints_agents_connectors_enroll_create(enroll_request, opts = {})
|
|
382
|
+
data, _status_code, _headers = endpoints_agents_connectors_enroll_create_with_http_info(enroll_request, opts)
|
|
383
|
+
data
|
|
384
|
+
end
|
|
385
|
+
|
|
386
|
+
# Mixin to add a used_by endpoint to return a list of all objects using this object
|
|
387
|
+
# @param enroll_request [EnrollRequest]
|
|
388
|
+
# @param [Hash] opts the optional parameters
|
|
389
|
+
# @return [Array<(AgentTokenResponse, Integer, Hash)>] AgentTokenResponse data, response status code and response headers
|
|
390
|
+
def endpoints_agents_connectors_enroll_create_with_http_info(enroll_request, opts = {})
|
|
391
|
+
if @api_client.config.debugging
|
|
392
|
+
@api_client.config.logger.debug 'Calling API: EndpointsApi.endpoints_agents_connectors_enroll_create ...'
|
|
393
|
+
end
|
|
394
|
+
# verify the required parameter 'enroll_request' is set
|
|
395
|
+
if @api_client.config.client_side_validation && enroll_request.nil?
|
|
396
|
+
fail ArgumentError, "Missing the required parameter 'enroll_request' when calling EndpointsApi.endpoints_agents_connectors_enroll_create"
|
|
397
|
+
end
|
|
398
|
+
# resource path
|
|
399
|
+
local_var_path = '/endpoints/agents/connectors/enroll/'
|
|
400
|
+
|
|
401
|
+
# query parameters
|
|
402
|
+
query_params = opts[:query_params] || {}
|
|
403
|
+
|
|
404
|
+
# header parameters
|
|
405
|
+
header_params = opts[:header_params] || {}
|
|
406
|
+
# HTTP header 'Accept' (if needed)
|
|
407
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
408
|
+
# HTTP header 'Content-Type'
|
|
409
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
410
|
+
if !content_type.nil?
|
|
411
|
+
header_params['Content-Type'] = content_type
|
|
412
|
+
end
|
|
413
|
+
|
|
414
|
+
# form parameters
|
|
415
|
+
form_params = opts[:form_params] || {}
|
|
416
|
+
|
|
417
|
+
# http body (model)
|
|
418
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(enroll_request)
|
|
419
|
+
|
|
420
|
+
# return_type
|
|
421
|
+
return_type = opts[:debug_return_type] || 'AgentTokenResponse'
|
|
422
|
+
|
|
423
|
+
# auth_names
|
|
424
|
+
auth_names = opts[:debug_auth_names] || []
|
|
425
|
+
|
|
426
|
+
new_options = opts.merge(
|
|
427
|
+
:operation => :"EndpointsApi.endpoints_agents_connectors_enroll_create",
|
|
428
|
+
:header_params => header_params,
|
|
429
|
+
:query_params => query_params,
|
|
430
|
+
:form_params => form_params,
|
|
431
|
+
:body => post_body,
|
|
432
|
+
:auth_names => auth_names,
|
|
433
|
+
:return_type => return_type
|
|
434
|
+
)
|
|
435
|
+
|
|
436
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
437
|
+
if @api_client.config.debugging
|
|
438
|
+
@api_client.config.logger.debug "API called: EndpointsApi#endpoints_agents_connectors_enroll_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
439
|
+
end
|
|
440
|
+
return data, status_code, headers
|
|
441
|
+
end
|
|
442
|
+
|
|
443
|
+
# Mixin to add a used_by endpoint to return a list of all objects using this object
|
|
444
|
+
# @param [Hash] opts the optional parameters
|
|
445
|
+
# @option opts [Boolean] :enabled
|
|
446
|
+
# @option opts [String] :name
|
|
447
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
448
|
+
# @option opts [Integer] :page A page number within the paginated result set.
|
|
449
|
+
# @option opts [Integer] :page_size Number of results to return per page.
|
|
450
|
+
# @option opts [String] :search A search term.
|
|
451
|
+
# @return [PaginatedAgentConnectorList]
|
|
452
|
+
def endpoints_agents_connectors_list(opts = {})
|
|
453
|
+
data, _status_code, _headers = endpoints_agents_connectors_list_with_http_info(opts)
|
|
454
|
+
data
|
|
455
|
+
end
|
|
456
|
+
|
|
457
|
+
# Mixin to add a used_by endpoint to return a list of all objects using this object
|
|
458
|
+
# @param [Hash] opts the optional parameters
|
|
459
|
+
# @option opts [Boolean] :enabled
|
|
460
|
+
# @option opts [String] :name
|
|
461
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
462
|
+
# @option opts [Integer] :page A page number within the paginated result set.
|
|
463
|
+
# @option opts [Integer] :page_size Number of results to return per page.
|
|
464
|
+
# @option opts [String] :search A search term.
|
|
465
|
+
# @return [Array<(PaginatedAgentConnectorList, Integer, Hash)>] PaginatedAgentConnectorList data, response status code and response headers
|
|
466
|
+
def endpoints_agents_connectors_list_with_http_info(opts = {})
|
|
467
|
+
if @api_client.config.debugging
|
|
468
|
+
@api_client.config.logger.debug 'Calling API: EndpointsApi.endpoints_agents_connectors_list ...'
|
|
469
|
+
end
|
|
470
|
+
# resource path
|
|
471
|
+
local_var_path = '/endpoints/agents/connectors/'
|
|
472
|
+
|
|
473
|
+
# query parameters
|
|
474
|
+
query_params = opts[:query_params] || {}
|
|
475
|
+
query_params[:'enabled'] = opts[:'enabled'] if !opts[:'enabled'].nil?
|
|
476
|
+
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
|
477
|
+
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
|
478
|
+
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
|
479
|
+
query_params[:'page_size'] = opts[:'page_size'] if !opts[:'page_size'].nil?
|
|
480
|
+
query_params[:'search'] = opts[:'search'] if !opts[:'search'].nil?
|
|
481
|
+
|
|
482
|
+
# header parameters
|
|
483
|
+
header_params = opts[:header_params] || {}
|
|
484
|
+
# HTTP header 'Accept' (if needed)
|
|
485
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
486
|
+
|
|
487
|
+
# form parameters
|
|
488
|
+
form_params = opts[:form_params] || {}
|
|
489
|
+
|
|
490
|
+
# http body (model)
|
|
491
|
+
post_body = opts[:debug_body]
|
|
492
|
+
|
|
493
|
+
# return_type
|
|
494
|
+
return_type = opts[:debug_return_type] || 'PaginatedAgentConnectorList'
|
|
495
|
+
|
|
496
|
+
# auth_names
|
|
497
|
+
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
498
|
+
|
|
499
|
+
new_options = opts.merge(
|
|
500
|
+
:operation => :"EndpointsApi.endpoints_agents_connectors_list",
|
|
501
|
+
:header_params => header_params,
|
|
502
|
+
:query_params => query_params,
|
|
503
|
+
:form_params => form_params,
|
|
504
|
+
:body => post_body,
|
|
505
|
+
:auth_names => auth_names,
|
|
506
|
+
:return_type => return_type
|
|
507
|
+
)
|
|
508
|
+
|
|
509
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
510
|
+
if @api_client.config.debugging
|
|
511
|
+
@api_client.config.logger.debug "API called: EndpointsApi#endpoints_agents_connectors_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
512
|
+
end
|
|
513
|
+
return data, status_code, headers
|
|
514
|
+
end
|
|
515
|
+
|
|
516
|
+
# Generate configuration for MDM systems to deploy authentik Agent
|
|
517
|
+
# @param connector_uuid [String] A UUID string identifying this Agent Connector.
|
|
518
|
+
# @param mdm_config_request [MDMConfigRequest]
|
|
519
|
+
# @param [Hash] opts the optional parameters
|
|
520
|
+
# @return [MDMConfigResponse]
|
|
521
|
+
def endpoints_agents_connectors_mdm_config_create(connector_uuid, mdm_config_request, opts = {})
|
|
522
|
+
data, _status_code, _headers = endpoints_agents_connectors_mdm_config_create_with_http_info(connector_uuid, mdm_config_request, opts)
|
|
523
|
+
data
|
|
524
|
+
end
|
|
525
|
+
|
|
526
|
+
# Generate configuration for MDM systems to deploy authentik Agent
|
|
527
|
+
# @param connector_uuid [String] A UUID string identifying this Agent Connector.
|
|
528
|
+
# @param mdm_config_request [MDMConfigRequest]
|
|
529
|
+
# @param [Hash] opts the optional parameters
|
|
530
|
+
# @return [Array<(MDMConfigResponse, Integer, Hash)>] MDMConfigResponse data, response status code and response headers
|
|
531
|
+
def endpoints_agents_connectors_mdm_config_create_with_http_info(connector_uuid, mdm_config_request, opts = {})
|
|
532
|
+
if @api_client.config.debugging
|
|
533
|
+
@api_client.config.logger.debug 'Calling API: EndpointsApi.endpoints_agents_connectors_mdm_config_create ...'
|
|
534
|
+
end
|
|
535
|
+
# verify the required parameter 'connector_uuid' is set
|
|
536
|
+
if @api_client.config.client_side_validation && connector_uuid.nil?
|
|
537
|
+
fail ArgumentError, "Missing the required parameter 'connector_uuid' when calling EndpointsApi.endpoints_agents_connectors_mdm_config_create"
|
|
538
|
+
end
|
|
539
|
+
# verify the required parameter 'mdm_config_request' is set
|
|
540
|
+
if @api_client.config.client_side_validation && mdm_config_request.nil?
|
|
541
|
+
fail ArgumentError, "Missing the required parameter 'mdm_config_request' when calling EndpointsApi.endpoints_agents_connectors_mdm_config_create"
|
|
542
|
+
end
|
|
543
|
+
# resource path
|
|
544
|
+
local_var_path = '/endpoints/agents/connectors/{connector_uuid}/mdm_config/'.sub('{' + 'connector_uuid' + '}', CGI.escape(connector_uuid.to_s))
|
|
545
|
+
|
|
546
|
+
# query parameters
|
|
547
|
+
query_params = opts[:query_params] || {}
|
|
548
|
+
|
|
549
|
+
# header parameters
|
|
550
|
+
header_params = opts[:header_params] || {}
|
|
551
|
+
# HTTP header 'Accept' (if needed)
|
|
552
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
553
|
+
# HTTP header 'Content-Type'
|
|
554
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
555
|
+
if !content_type.nil?
|
|
556
|
+
header_params['Content-Type'] = content_type
|
|
557
|
+
end
|
|
558
|
+
|
|
559
|
+
# form parameters
|
|
560
|
+
form_params = opts[:form_params] || {}
|
|
561
|
+
|
|
562
|
+
# http body (model)
|
|
563
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(mdm_config_request)
|
|
564
|
+
|
|
565
|
+
# return_type
|
|
566
|
+
return_type = opts[:debug_return_type] || 'MDMConfigResponse'
|
|
567
|
+
|
|
568
|
+
# auth_names
|
|
569
|
+
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
570
|
+
|
|
571
|
+
new_options = opts.merge(
|
|
572
|
+
:operation => :"EndpointsApi.endpoints_agents_connectors_mdm_config_create",
|
|
573
|
+
:header_params => header_params,
|
|
574
|
+
:query_params => query_params,
|
|
575
|
+
:form_params => form_params,
|
|
576
|
+
:body => post_body,
|
|
577
|
+
:auth_names => auth_names,
|
|
578
|
+
:return_type => return_type
|
|
579
|
+
)
|
|
580
|
+
|
|
581
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
582
|
+
if @api_client.config.debugging
|
|
583
|
+
@api_client.config.logger.debug "API called: EndpointsApi#endpoints_agents_connectors_mdm_config_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
584
|
+
end
|
|
585
|
+
return data, status_code, headers
|
|
586
|
+
end
|
|
587
|
+
|
|
588
|
+
# Mixin to add a used_by endpoint to return a list of all objects using this object
|
|
589
|
+
# @param connector_uuid [String] A UUID string identifying this Agent Connector.
|
|
590
|
+
# @param [Hash] opts the optional parameters
|
|
591
|
+
# @option opts [PatchedAgentConnectorRequest] :patched_agent_connector_request
|
|
592
|
+
# @return [AgentConnector]
|
|
593
|
+
def endpoints_agents_connectors_partial_update(connector_uuid, opts = {})
|
|
594
|
+
data, _status_code, _headers = endpoints_agents_connectors_partial_update_with_http_info(connector_uuid, opts)
|
|
595
|
+
data
|
|
596
|
+
end
|
|
597
|
+
|
|
598
|
+
# Mixin to add a used_by endpoint to return a list of all objects using this object
|
|
599
|
+
# @param connector_uuid [String] A UUID string identifying this Agent Connector.
|
|
600
|
+
# @param [Hash] opts the optional parameters
|
|
601
|
+
# @option opts [PatchedAgentConnectorRequest] :patched_agent_connector_request
|
|
602
|
+
# @return [Array<(AgentConnector, Integer, Hash)>] AgentConnector data, response status code and response headers
|
|
603
|
+
def endpoints_agents_connectors_partial_update_with_http_info(connector_uuid, opts = {})
|
|
604
|
+
if @api_client.config.debugging
|
|
605
|
+
@api_client.config.logger.debug 'Calling API: EndpointsApi.endpoints_agents_connectors_partial_update ...'
|
|
606
|
+
end
|
|
607
|
+
# verify the required parameter 'connector_uuid' is set
|
|
608
|
+
if @api_client.config.client_side_validation && connector_uuid.nil?
|
|
609
|
+
fail ArgumentError, "Missing the required parameter 'connector_uuid' when calling EndpointsApi.endpoints_agents_connectors_partial_update"
|
|
610
|
+
end
|
|
611
|
+
# resource path
|
|
612
|
+
local_var_path = '/endpoints/agents/connectors/{connector_uuid}/'.sub('{' + 'connector_uuid' + '}', CGI.escape(connector_uuid.to_s))
|
|
613
|
+
|
|
614
|
+
# query parameters
|
|
615
|
+
query_params = opts[:query_params] || {}
|
|
616
|
+
|
|
617
|
+
# header parameters
|
|
618
|
+
header_params = opts[:header_params] || {}
|
|
619
|
+
# HTTP header 'Accept' (if needed)
|
|
620
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
621
|
+
# HTTP header 'Content-Type'
|
|
622
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
623
|
+
if !content_type.nil?
|
|
624
|
+
header_params['Content-Type'] = content_type
|
|
625
|
+
end
|
|
626
|
+
|
|
627
|
+
# form parameters
|
|
628
|
+
form_params = opts[:form_params] || {}
|
|
629
|
+
|
|
630
|
+
# http body (model)
|
|
631
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'patched_agent_connector_request'])
|
|
632
|
+
|
|
633
|
+
# return_type
|
|
634
|
+
return_type = opts[:debug_return_type] || 'AgentConnector'
|
|
635
|
+
|
|
636
|
+
# auth_names
|
|
637
|
+
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
638
|
+
|
|
639
|
+
new_options = opts.merge(
|
|
640
|
+
:operation => :"EndpointsApi.endpoints_agents_connectors_partial_update",
|
|
641
|
+
:header_params => header_params,
|
|
642
|
+
:query_params => query_params,
|
|
643
|
+
:form_params => form_params,
|
|
644
|
+
:body => post_body,
|
|
645
|
+
:auth_names => auth_names,
|
|
646
|
+
:return_type => return_type
|
|
647
|
+
)
|
|
648
|
+
|
|
649
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
|
|
650
|
+
if @api_client.config.debugging
|
|
651
|
+
@api_client.config.logger.debug "API called: EndpointsApi#endpoints_agents_connectors_partial_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
652
|
+
end
|
|
653
|
+
return data, status_code, headers
|
|
654
|
+
end
|
|
655
|
+
|
|
656
|
+
# Mixin to add a used_by endpoint to return a list of all objects using this object
|
|
657
|
+
# @param connector_uuid [String] A UUID string identifying this Agent Connector.
|
|
658
|
+
# @param [Hash] opts the optional parameters
|
|
659
|
+
# @return [AgentConnector]
|
|
660
|
+
def endpoints_agents_connectors_retrieve(connector_uuid, opts = {})
|
|
661
|
+
data, _status_code, _headers = endpoints_agents_connectors_retrieve_with_http_info(connector_uuid, opts)
|
|
662
|
+
data
|
|
663
|
+
end
|
|
664
|
+
|
|
665
|
+
# Mixin to add a used_by endpoint to return a list of all objects using this object
|
|
666
|
+
# @param connector_uuid [String] A UUID string identifying this Agent Connector.
|
|
667
|
+
# @param [Hash] opts the optional parameters
|
|
668
|
+
# @return [Array<(AgentConnector, Integer, Hash)>] AgentConnector data, response status code and response headers
|
|
669
|
+
def endpoints_agents_connectors_retrieve_with_http_info(connector_uuid, opts = {})
|
|
670
|
+
if @api_client.config.debugging
|
|
671
|
+
@api_client.config.logger.debug 'Calling API: EndpointsApi.endpoints_agents_connectors_retrieve ...'
|
|
672
|
+
end
|
|
673
|
+
# verify the required parameter 'connector_uuid' is set
|
|
674
|
+
if @api_client.config.client_side_validation && connector_uuid.nil?
|
|
675
|
+
fail ArgumentError, "Missing the required parameter 'connector_uuid' when calling EndpointsApi.endpoints_agents_connectors_retrieve"
|
|
676
|
+
end
|
|
677
|
+
# resource path
|
|
678
|
+
local_var_path = '/endpoints/agents/connectors/{connector_uuid}/'.sub('{' + 'connector_uuid' + '}', CGI.escape(connector_uuid.to_s))
|
|
679
|
+
|
|
680
|
+
# query parameters
|
|
681
|
+
query_params = opts[:query_params] || {}
|
|
682
|
+
|
|
683
|
+
# header parameters
|
|
684
|
+
header_params = opts[:header_params] || {}
|
|
685
|
+
# HTTP header 'Accept' (if needed)
|
|
686
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
687
|
+
|
|
688
|
+
# form parameters
|
|
689
|
+
form_params = opts[:form_params] || {}
|
|
690
|
+
|
|
691
|
+
# http body (model)
|
|
692
|
+
post_body = opts[:debug_body]
|
|
693
|
+
|
|
694
|
+
# return_type
|
|
695
|
+
return_type = opts[:debug_return_type] || 'AgentConnector'
|
|
696
|
+
|
|
697
|
+
# auth_names
|
|
698
|
+
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
699
|
+
|
|
700
|
+
new_options = opts.merge(
|
|
701
|
+
:operation => :"EndpointsApi.endpoints_agents_connectors_retrieve",
|
|
702
|
+
:header_params => header_params,
|
|
703
|
+
:query_params => query_params,
|
|
704
|
+
:form_params => form_params,
|
|
705
|
+
:body => post_body,
|
|
706
|
+
:auth_names => auth_names,
|
|
707
|
+
:return_type => return_type
|
|
708
|
+
)
|
|
709
|
+
|
|
710
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
711
|
+
if @api_client.config.debugging
|
|
712
|
+
@api_client.config.logger.debug "API called: EndpointsApi#endpoints_agents_connectors_retrieve\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
713
|
+
end
|
|
714
|
+
return data, status_code, headers
|
|
715
|
+
end
|
|
716
|
+
|
|
717
|
+
# Mixin to add a used_by endpoint to return a list of all objects using this object
|
|
718
|
+
# @param connector_uuid [String] A UUID string identifying this Agent Connector.
|
|
719
|
+
# @param agent_connector_request [AgentConnectorRequest]
|
|
720
|
+
# @param [Hash] opts the optional parameters
|
|
721
|
+
# @return [AgentConnector]
|
|
722
|
+
def endpoints_agents_connectors_update(connector_uuid, agent_connector_request, opts = {})
|
|
723
|
+
data, _status_code, _headers = endpoints_agents_connectors_update_with_http_info(connector_uuid, agent_connector_request, opts)
|
|
724
|
+
data
|
|
725
|
+
end
|
|
726
|
+
|
|
727
|
+
# Mixin to add a used_by endpoint to return a list of all objects using this object
|
|
728
|
+
# @param connector_uuid [String] A UUID string identifying this Agent Connector.
|
|
729
|
+
# @param agent_connector_request [AgentConnectorRequest]
|
|
730
|
+
# @param [Hash] opts the optional parameters
|
|
731
|
+
# @return [Array<(AgentConnector, Integer, Hash)>] AgentConnector data, response status code and response headers
|
|
732
|
+
def endpoints_agents_connectors_update_with_http_info(connector_uuid, agent_connector_request, opts = {})
|
|
733
|
+
if @api_client.config.debugging
|
|
734
|
+
@api_client.config.logger.debug 'Calling API: EndpointsApi.endpoints_agents_connectors_update ...'
|
|
735
|
+
end
|
|
736
|
+
# verify the required parameter 'connector_uuid' is set
|
|
737
|
+
if @api_client.config.client_side_validation && connector_uuid.nil?
|
|
738
|
+
fail ArgumentError, "Missing the required parameter 'connector_uuid' when calling EndpointsApi.endpoints_agents_connectors_update"
|
|
739
|
+
end
|
|
740
|
+
# verify the required parameter 'agent_connector_request' is set
|
|
741
|
+
if @api_client.config.client_side_validation && agent_connector_request.nil?
|
|
742
|
+
fail ArgumentError, "Missing the required parameter 'agent_connector_request' when calling EndpointsApi.endpoints_agents_connectors_update"
|
|
743
|
+
end
|
|
744
|
+
# resource path
|
|
745
|
+
local_var_path = '/endpoints/agents/connectors/{connector_uuid}/'.sub('{' + 'connector_uuid' + '}', CGI.escape(connector_uuid.to_s))
|
|
746
|
+
|
|
747
|
+
# query parameters
|
|
748
|
+
query_params = opts[:query_params] || {}
|
|
749
|
+
|
|
750
|
+
# header parameters
|
|
751
|
+
header_params = opts[:header_params] || {}
|
|
752
|
+
# HTTP header 'Accept' (if needed)
|
|
753
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
754
|
+
# HTTP header 'Content-Type'
|
|
755
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
756
|
+
if !content_type.nil?
|
|
757
|
+
header_params['Content-Type'] = content_type
|
|
758
|
+
end
|
|
759
|
+
|
|
760
|
+
# form parameters
|
|
761
|
+
form_params = opts[:form_params] || {}
|
|
762
|
+
|
|
763
|
+
# http body (model)
|
|
764
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(agent_connector_request)
|
|
765
|
+
|
|
766
|
+
# return_type
|
|
767
|
+
return_type = opts[:debug_return_type] || 'AgentConnector'
|
|
768
|
+
|
|
769
|
+
# auth_names
|
|
770
|
+
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
771
|
+
|
|
772
|
+
new_options = opts.merge(
|
|
773
|
+
:operation => :"EndpointsApi.endpoints_agents_connectors_update",
|
|
774
|
+
:header_params => header_params,
|
|
775
|
+
:query_params => query_params,
|
|
776
|
+
:form_params => form_params,
|
|
777
|
+
:body => post_body,
|
|
778
|
+
:auth_names => auth_names,
|
|
779
|
+
:return_type => return_type
|
|
780
|
+
)
|
|
781
|
+
|
|
782
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
783
|
+
if @api_client.config.debugging
|
|
784
|
+
@api_client.config.logger.debug "API called: EndpointsApi#endpoints_agents_connectors_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
785
|
+
end
|
|
786
|
+
return data, status_code, headers
|
|
787
|
+
end
|
|
788
|
+
|
|
789
|
+
# Get a list of all objects that use this object
|
|
790
|
+
# @param connector_uuid [String] A UUID string identifying this Agent Connector.
|
|
791
|
+
# @param [Hash] opts the optional parameters
|
|
792
|
+
# @return [Array<UsedBy>]
|
|
793
|
+
def endpoints_agents_connectors_used_by_list(connector_uuid, opts = {})
|
|
794
|
+
data, _status_code, _headers = endpoints_agents_connectors_used_by_list_with_http_info(connector_uuid, opts)
|
|
795
|
+
data
|
|
796
|
+
end
|
|
797
|
+
|
|
798
|
+
# Get a list of all objects that use this object
|
|
799
|
+
# @param connector_uuid [String] A UUID string identifying this Agent Connector.
|
|
800
|
+
# @param [Hash] opts the optional parameters
|
|
801
|
+
# @return [Array<(Array<UsedBy>, Integer, Hash)>] Array<UsedBy> data, response status code and response headers
|
|
802
|
+
def endpoints_agents_connectors_used_by_list_with_http_info(connector_uuid, opts = {})
|
|
803
|
+
if @api_client.config.debugging
|
|
804
|
+
@api_client.config.logger.debug 'Calling API: EndpointsApi.endpoints_agents_connectors_used_by_list ...'
|
|
805
|
+
end
|
|
806
|
+
# verify the required parameter 'connector_uuid' is set
|
|
807
|
+
if @api_client.config.client_side_validation && connector_uuid.nil?
|
|
808
|
+
fail ArgumentError, "Missing the required parameter 'connector_uuid' when calling EndpointsApi.endpoints_agents_connectors_used_by_list"
|
|
809
|
+
end
|
|
810
|
+
# resource path
|
|
811
|
+
local_var_path = '/endpoints/agents/connectors/{connector_uuid}/used_by/'.sub('{' + 'connector_uuid' + '}', CGI.escape(connector_uuid.to_s))
|
|
812
|
+
|
|
813
|
+
# query parameters
|
|
814
|
+
query_params = opts[:query_params] || {}
|
|
815
|
+
|
|
816
|
+
# header parameters
|
|
817
|
+
header_params = opts[:header_params] || {}
|
|
818
|
+
# HTTP header 'Accept' (if needed)
|
|
819
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
820
|
+
|
|
821
|
+
# form parameters
|
|
822
|
+
form_params = opts[:form_params] || {}
|
|
823
|
+
|
|
824
|
+
# http body (model)
|
|
825
|
+
post_body = opts[:debug_body]
|
|
826
|
+
|
|
827
|
+
# return_type
|
|
828
|
+
return_type = opts[:debug_return_type] || 'Array<UsedBy>'
|
|
829
|
+
|
|
830
|
+
# auth_names
|
|
831
|
+
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
832
|
+
|
|
833
|
+
new_options = opts.merge(
|
|
834
|
+
:operation => :"EndpointsApi.endpoints_agents_connectors_used_by_list",
|
|
835
|
+
:header_params => header_params,
|
|
836
|
+
:query_params => query_params,
|
|
837
|
+
:form_params => form_params,
|
|
838
|
+
:body => post_body,
|
|
839
|
+
:auth_names => auth_names,
|
|
840
|
+
:return_type => return_type
|
|
841
|
+
)
|
|
842
|
+
|
|
843
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
844
|
+
if @api_client.config.debugging
|
|
845
|
+
@api_client.config.logger.debug "API called: EndpointsApi#endpoints_agents_connectors_used_by_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
846
|
+
end
|
|
847
|
+
return data, status_code, headers
|
|
848
|
+
end
|
|
849
|
+
|
|
850
|
+
# Mixin to add a used_by endpoint to return a list of all objects using this object
|
|
851
|
+
# @param enrollment_token_request [EnrollmentTokenRequest]
|
|
852
|
+
# @param [Hash] opts the optional parameters
|
|
853
|
+
# @return [EnrollmentToken]
|
|
854
|
+
def endpoints_agents_enrollment_tokens_create(enrollment_token_request, opts = {})
|
|
855
|
+
data, _status_code, _headers = endpoints_agents_enrollment_tokens_create_with_http_info(enrollment_token_request, opts)
|
|
856
|
+
data
|
|
857
|
+
end
|
|
858
|
+
|
|
859
|
+
# Mixin to add a used_by endpoint to return a list of all objects using this object
|
|
860
|
+
# @param enrollment_token_request [EnrollmentTokenRequest]
|
|
861
|
+
# @param [Hash] opts the optional parameters
|
|
862
|
+
# @return [Array<(EnrollmentToken, Integer, Hash)>] EnrollmentToken data, response status code and response headers
|
|
863
|
+
def endpoints_agents_enrollment_tokens_create_with_http_info(enrollment_token_request, opts = {})
|
|
864
|
+
if @api_client.config.debugging
|
|
865
|
+
@api_client.config.logger.debug 'Calling API: EndpointsApi.endpoints_agents_enrollment_tokens_create ...'
|
|
866
|
+
end
|
|
867
|
+
# verify the required parameter 'enrollment_token_request' is set
|
|
868
|
+
if @api_client.config.client_side_validation && enrollment_token_request.nil?
|
|
869
|
+
fail ArgumentError, "Missing the required parameter 'enrollment_token_request' when calling EndpointsApi.endpoints_agents_enrollment_tokens_create"
|
|
870
|
+
end
|
|
871
|
+
# resource path
|
|
872
|
+
local_var_path = '/endpoints/agents/enrollment_tokens/'
|
|
873
|
+
|
|
874
|
+
# query parameters
|
|
875
|
+
query_params = opts[:query_params] || {}
|
|
876
|
+
|
|
877
|
+
# header parameters
|
|
878
|
+
header_params = opts[:header_params] || {}
|
|
879
|
+
# HTTP header 'Accept' (if needed)
|
|
880
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
881
|
+
# HTTP header 'Content-Type'
|
|
882
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
883
|
+
if !content_type.nil?
|
|
884
|
+
header_params['Content-Type'] = content_type
|
|
885
|
+
end
|
|
886
|
+
|
|
887
|
+
# form parameters
|
|
888
|
+
form_params = opts[:form_params] || {}
|
|
889
|
+
|
|
890
|
+
# http body (model)
|
|
891
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(enrollment_token_request)
|
|
892
|
+
|
|
893
|
+
# return_type
|
|
894
|
+
return_type = opts[:debug_return_type] || 'EnrollmentToken'
|
|
895
|
+
|
|
896
|
+
# auth_names
|
|
897
|
+
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
898
|
+
|
|
899
|
+
new_options = opts.merge(
|
|
900
|
+
:operation => :"EndpointsApi.endpoints_agents_enrollment_tokens_create",
|
|
901
|
+
:header_params => header_params,
|
|
902
|
+
:query_params => query_params,
|
|
903
|
+
:form_params => form_params,
|
|
904
|
+
:body => post_body,
|
|
905
|
+
:auth_names => auth_names,
|
|
906
|
+
:return_type => return_type
|
|
907
|
+
)
|
|
908
|
+
|
|
909
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
910
|
+
if @api_client.config.debugging
|
|
911
|
+
@api_client.config.logger.debug "API called: EndpointsApi#endpoints_agents_enrollment_tokens_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
912
|
+
end
|
|
913
|
+
return data, status_code, headers
|
|
914
|
+
end
|
|
915
|
+
|
|
916
|
+
# Mixin to add a used_by endpoint to return a list of all objects using this object
|
|
917
|
+
# @param token_uuid [String] A UUID string identifying this Enrollment Token.
|
|
918
|
+
# @param [Hash] opts the optional parameters
|
|
919
|
+
# @return [nil]
|
|
920
|
+
def endpoints_agents_enrollment_tokens_destroy(token_uuid, opts = {})
|
|
921
|
+
endpoints_agents_enrollment_tokens_destroy_with_http_info(token_uuid, opts)
|
|
922
|
+
nil
|
|
923
|
+
end
|
|
924
|
+
|
|
925
|
+
# Mixin to add a used_by endpoint to return a list of all objects using this object
|
|
926
|
+
# @param token_uuid [String] A UUID string identifying this Enrollment Token.
|
|
927
|
+
# @param [Hash] opts the optional parameters
|
|
928
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
929
|
+
def endpoints_agents_enrollment_tokens_destroy_with_http_info(token_uuid, opts = {})
|
|
930
|
+
if @api_client.config.debugging
|
|
931
|
+
@api_client.config.logger.debug 'Calling API: EndpointsApi.endpoints_agents_enrollment_tokens_destroy ...'
|
|
932
|
+
end
|
|
933
|
+
# verify the required parameter 'token_uuid' is set
|
|
934
|
+
if @api_client.config.client_side_validation && token_uuid.nil?
|
|
935
|
+
fail ArgumentError, "Missing the required parameter 'token_uuid' when calling EndpointsApi.endpoints_agents_enrollment_tokens_destroy"
|
|
936
|
+
end
|
|
937
|
+
# resource path
|
|
938
|
+
local_var_path = '/endpoints/agents/enrollment_tokens/{token_uuid}/'.sub('{' + 'token_uuid' + '}', CGI.escape(token_uuid.to_s))
|
|
939
|
+
|
|
940
|
+
# query parameters
|
|
941
|
+
query_params = opts[:query_params] || {}
|
|
942
|
+
|
|
943
|
+
# header parameters
|
|
944
|
+
header_params = opts[:header_params] || {}
|
|
945
|
+
# HTTP header 'Accept' (if needed)
|
|
946
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
947
|
+
|
|
948
|
+
# form parameters
|
|
949
|
+
form_params = opts[:form_params] || {}
|
|
950
|
+
|
|
951
|
+
# http body (model)
|
|
952
|
+
post_body = opts[:debug_body]
|
|
953
|
+
|
|
954
|
+
# return_type
|
|
955
|
+
return_type = opts[:debug_return_type]
|
|
956
|
+
|
|
957
|
+
# auth_names
|
|
958
|
+
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
959
|
+
|
|
960
|
+
new_options = opts.merge(
|
|
961
|
+
:operation => :"EndpointsApi.endpoints_agents_enrollment_tokens_destroy",
|
|
962
|
+
:header_params => header_params,
|
|
963
|
+
:query_params => query_params,
|
|
964
|
+
:form_params => form_params,
|
|
965
|
+
:body => post_body,
|
|
966
|
+
:auth_names => auth_names,
|
|
967
|
+
:return_type => return_type
|
|
968
|
+
)
|
|
969
|
+
|
|
970
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
|
971
|
+
if @api_client.config.debugging
|
|
972
|
+
@api_client.config.logger.debug "API called: EndpointsApi#endpoints_agents_enrollment_tokens_destroy\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
973
|
+
end
|
|
974
|
+
return data, status_code, headers
|
|
975
|
+
end
|
|
976
|
+
|
|
977
|
+
# Mixin to add a used_by endpoint to return a list of all objects using this object
|
|
978
|
+
# @param [Hash] opts the optional parameters
|
|
979
|
+
# @option opts [String] :connector
|
|
980
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
981
|
+
# @option opts [Integer] :page A page number within the paginated result set.
|
|
982
|
+
# @option opts [Integer] :page_size Number of results to return per page.
|
|
983
|
+
# @option opts [String] :search A search term.
|
|
984
|
+
# @option opts [String] :token_uuid
|
|
985
|
+
# @return [PaginatedEnrollmentTokenList]
|
|
986
|
+
def endpoints_agents_enrollment_tokens_list(opts = {})
|
|
987
|
+
data, _status_code, _headers = endpoints_agents_enrollment_tokens_list_with_http_info(opts)
|
|
988
|
+
data
|
|
989
|
+
end
|
|
990
|
+
|
|
991
|
+
# Mixin to add a used_by endpoint to return a list of all objects using this object
|
|
992
|
+
# @param [Hash] opts the optional parameters
|
|
993
|
+
# @option opts [String] :connector
|
|
994
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
995
|
+
# @option opts [Integer] :page A page number within the paginated result set.
|
|
996
|
+
# @option opts [Integer] :page_size Number of results to return per page.
|
|
997
|
+
# @option opts [String] :search A search term.
|
|
998
|
+
# @option opts [String] :token_uuid
|
|
999
|
+
# @return [Array<(PaginatedEnrollmentTokenList, Integer, Hash)>] PaginatedEnrollmentTokenList data, response status code and response headers
|
|
1000
|
+
def endpoints_agents_enrollment_tokens_list_with_http_info(opts = {})
|
|
1001
|
+
if @api_client.config.debugging
|
|
1002
|
+
@api_client.config.logger.debug 'Calling API: EndpointsApi.endpoints_agents_enrollment_tokens_list ...'
|
|
1003
|
+
end
|
|
1004
|
+
# resource path
|
|
1005
|
+
local_var_path = '/endpoints/agents/enrollment_tokens/'
|
|
1006
|
+
|
|
1007
|
+
# query parameters
|
|
1008
|
+
query_params = opts[:query_params] || {}
|
|
1009
|
+
query_params[:'connector'] = opts[:'connector'] if !opts[:'connector'].nil?
|
|
1010
|
+
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
|
1011
|
+
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
|
1012
|
+
query_params[:'page_size'] = opts[:'page_size'] if !opts[:'page_size'].nil?
|
|
1013
|
+
query_params[:'search'] = opts[:'search'] if !opts[:'search'].nil?
|
|
1014
|
+
query_params[:'token_uuid'] = opts[:'token_uuid'] if !opts[:'token_uuid'].nil?
|
|
1015
|
+
|
|
1016
|
+
# header parameters
|
|
1017
|
+
header_params = opts[:header_params] || {}
|
|
1018
|
+
# HTTP header 'Accept' (if needed)
|
|
1019
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1020
|
+
|
|
1021
|
+
# form parameters
|
|
1022
|
+
form_params = opts[:form_params] || {}
|
|
1023
|
+
|
|
1024
|
+
# http body (model)
|
|
1025
|
+
post_body = opts[:debug_body]
|
|
1026
|
+
|
|
1027
|
+
# return_type
|
|
1028
|
+
return_type = opts[:debug_return_type] || 'PaginatedEnrollmentTokenList'
|
|
1029
|
+
|
|
1030
|
+
# auth_names
|
|
1031
|
+
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
1032
|
+
|
|
1033
|
+
new_options = opts.merge(
|
|
1034
|
+
:operation => :"EndpointsApi.endpoints_agents_enrollment_tokens_list",
|
|
1035
|
+
:header_params => header_params,
|
|
1036
|
+
:query_params => query_params,
|
|
1037
|
+
:form_params => form_params,
|
|
1038
|
+
:body => post_body,
|
|
1039
|
+
:auth_names => auth_names,
|
|
1040
|
+
:return_type => return_type
|
|
1041
|
+
)
|
|
1042
|
+
|
|
1043
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
1044
|
+
if @api_client.config.debugging
|
|
1045
|
+
@api_client.config.logger.debug "API called: EndpointsApi#endpoints_agents_enrollment_tokens_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1046
|
+
end
|
|
1047
|
+
return data, status_code, headers
|
|
1048
|
+
end
|
|
1049
|
+
|
|
1050
|
+
# Mixin to add a used_by endpoint to return a list of all objects using this object
|
|
1051
|
+
# @param token_uuid [String] A UUID string identifying this Enrollment Token.
|
|
1052
|
+
# @param [Hash] opts the optional parameters
|
|
1053
|
+
# @option opts [PatchedEnrollmentTokenRequest] :patched_enrollment_token_request
|
|
1054
|
+
# @return [EnrollmentToken]
|
|
1055
|
+
def endpoints_agents_enrollment_tokens_partial_update(token_uuid, opts = {})
|
|
1056
|
+
data, _status_code, _headers = endpoints_agents_enrollment_tokens_partial_update_with_http_info(token_uuid, opts)
|
|
1057
|
+
data
|
|
1058
|
+
end
|
|
1059
|
+
|
|
1060
|
+
# Mixin to add a used_by endpoint to return a list of all objects using this object
|
|
1061
|
+
# @param token_uuid [String] A UUID string identifying this Enrollment Token.
|
|
1062
|
+
# @param [Hash] opts the optional parameters
|
|
1063
|
+
# @option opts [PatchedEnrollmentTokenRequest] :patched_enrollment_token_request
|
|
1064
|
+
# @return [Array<(EnrollmentToken, Integer, Hash)>] EnrollmentToken data, response status code and response headers
|
|
1065
|
+
def endpoints_agents_enrollment_tokens_partial_update_with_http_info(token_uuid, opts = {})
|
|
1066
|
+
if @api_client.config.debugging
|
|
1067
|
+
@api_client.config.logger.debug 'Calling API: EndpointsApi.endpoints_agents_enrollment_tokens_partial_update ...'
|
|
1068
|
+
end
|
|
1069
|
+
# verify the required parameter 'token_uuid' is set
|
|
1070
|
+
if @api_client.config.client_side_validation && token_uuid.nil?
|
|
1071
|
+
fail ArgumentError, "Missing the required parameter 'token_uuid' when calling EndpointsApi.endpoints_agents_enrollment_tokens_partial_update"
|
|
1072
|
+
end
|
|
1073
|
+
# resource path
|
|
1074
|
+
local_var_path = '/endpoints/agents/enrollment_tokens/{token_uuid}/'.sub('{' + 'token_uuid' + '}', CGI.escape(token_uuid.to_s))
|
|
1075
|
+
|
|
1076
|
+
# query parameters
|
|
1077
|
+
query_params = opts[:query_params] || {}
|
|
1078
|
+
|
|
1079
|
+
# header parameters
|
|
1080
|
+
header_params = opts[:header_params] || {}
|
|
1081
|
+
# HTTP header 'Accept' (if needed)
|
|
1082
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1083
|
+
# HTTP header 'Content-Type'
|
|
1084
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
1085
|
+
if !content_type.nil?
|
|
1086
|
+
header_params['Content-Type'] = content_type
|
|
1087
|
+
end
|
|
1088
|
+
|
|
1089
|
+
# form parameters
|
|
1090
|
+
form_params = opts[:form_params] || {}
|
|
1091
|
+
|
|
1092
|
+
# http body (model)
|
|
1093
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'patched_enrollment_token_request'])
|
|
1094
|
+
|
|
1095
|
+
# return_type
|
|
1096
|
+
return_type = opts[:debug_return_type] || 'EnrollmentToken'
|
|
1097
|
+
|
|
1098
|
+
# auth_names
|
|
1099
|
+
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
1100
|
+
|
|
1101
|
+
new_options = opts.merge(
|
|
1102
|
+
:operation => :"EndpointsApi.endpoints_agents_enrollment_tokens_partial_update",
|
|
1103
|
+
:header_params => header_params,
|
|
1104
|
+
:query_params => query_params,
|
|
1105
|
+
:form_params => form_params,
|
|
1106
|
+
:body => post_body,
|
|
1107
|
+
:auth_names => auth_names,
|
|
1108
|
+
:return_type => return_type
|
|
1109
|
+
)
|
|
1110
|
+
|
|
1111
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
|
|
1112
|
+
if @api_client.config.debugging
|
|
1113
|
+
@api_client.config.logger.debug "API called: EndpointsApi#endpoints_agents_enrollment_tokens_partial_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1114
|
+
end
|
|
1115
|
+
return data, status_code, headers
|
|
1116
|
+
end
|
|
1117
|
+
|
|
1118
|
+
# Mixin to add a used_by endpoint to return a list of all objects using this object
|
|
1119
|
+
# @param token_uuid [String] A UUID string identifying this Enrollment Token.
|
|
1120
|
+
# @param [Hash] opts the optional parameters
|
|
1121
|
+
# @return [EnrollmentToken]
|
|
1122
|
+
def endpoints_agents_enrollment_tokens_retrieve(token_uuid, opts = {})
|
|
1123
|
+
data, _status_code, _headers = endpoints_agents_enrollment_tokens_retrieve_with_http_info(token_uuid, opts)
|
|
1124
|
+
data
|
|
1125
|
+
end
|
|
1126
|
+
|
|
1127
|
+
# Mixin to add a used_by endpoint to return a list of all objects using this object
|
|
1128
|
+
# @param token_uuid [String] A UUID string identifying this Enrollment Token.
|
|
1129
|
+
# @param [Hash] opts the optional parameters
|
|
1130
|
+
# @return [Array<(EnrollmentToken, Integer, Hash)>] EnrollmentToken data, response status code and response headers
|
|
1131
|
+
def endpoints_agents_enrollment_tokens_retrieve_with_http_info(token_uuid, opts = {})
|
|
1132
|
+
if @api_client.config.debugging
|
|
1133
|
+
@api_client.config.logger.debug 'Calling API: EndpointsApi.endpoints_agents_enrollment_tokens_retrieve ...'
|
|
1134
|
+
end
|
|
1135
|
+
# verify the required parameter 'token_uuid' is set
|
|
1136
|
+
if @api_client.config.client_side_validation && token_uuid.nil?
|
|
1137
|
+
fail ArgumentError, "Missing the required parameter 'token_uuid' when calling EndpointsApi.endpoints_agents_enrollment_tokens_retrieve"
|
|
1138
|
+
end
|
|
1139
|
+
# resource path
|
|
1140
|
+
local_var_path = '/endpoints/agents/enrollment_tokens/{token_uuid}/'.sub('{' + 'token_uuid' + '}', CGI.escape(token_uuid.to_s))
|
|
1141
|
+
|
|
1142
|
+
# query parameters
|
|
1143
|
+
query_params = opts[:query_params] || {}
|
|
1144
|
+
|
|
1145
|
+
# header parameters
|
|
1146
|
+
header_params = opts[:header_params] || {}
|
|
1147
|
+
# HTTP header 'Accept' (if needed)
|
|
1148
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1149
|
+
|
|
1150
|
+
# form parameters
|
|
1151
|
+
form_params = opts[:form_params] || {}
|
|
1152
|
+
|
|
1153
|
+
# http body (model)
|
|
1154
|
+
post_body = opts[:debug_body]
|
|
1155
|
+
|
|
1156
|
+
# return_type
|
|
1157
|
+
return_type = opts[:debug_return_type] || 'EnrollmentToken'
|
|
1158
|
+
|
|
1159
|
+
# auth_names
|
|
1160
|
+
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
1161
|
+
|
|
1162
|
+
new_options = opts.merge(
|
|
1163
|
+
:operation => :"EndpointsApi.endpoints_agents_enrollment_tokens_retrieve",
|
|
1164
|
+
:header_params => header_params,
|
|
1165
|
+
:query_params => query_params,
|
|
1166
|
+
:form_params => form_params,
|
|
1167
|
+
:body => post_body,
|
|
1168
|
+
:auth_names => auth_names,
|
|
1169
|
+
:return_type => return_type
|
|
1170
|
+
)
|
|
1171
|
+
|
|
1172
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
1173
|
+
if @api_client.config.debugging
|
|
1174
|
+
@api_client.config.logger.debug "API called: EndpointsApi#endpoints_agents_enrollment_tokens_retrieve\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1175
|
+
end
|
|
1176
|
+
return data, status_code, headers
|
|
1177
|
+
end
|
|
1178
|
+
|
|
1179
|
+
# Mixin to add a used_by endpoint to return a list of all objects using this object
|
|
1180
|
+
# @param token_uuid [String] A UUID string identifying this Enrollment Token.
|
|
1181
|
+
# @param enrollment_token_request [EnrollmentTokenRequest]
|
|
1182
|
+
# @param [Hash] opts the optional parameters
|
|
1183
|
+
# @return [EnrollmentToken]
|
|
1184
|
+
def endpoints_agents_enrollment_tokens_update(token_uuid, enrollment_token_request, opts = {})
|
|
1185
|
+
data, _status_code, _headers = endpoints_agents_enrollment_tokens_update_with_http_info(token_uuid, enrollment_token_request, opts)
|
|
1186
|
+
data
|
|
1187
|
+
end
|
|
1188
|
+
|
|
1189
|
+
# Mixin to add a used_by endpoint to return a list of all objects using this object
|
|
1190
|
+
# @param token_uuid [String] A UUID string identifying this Enrollment Token.
|
|
1191
|
+
# @param enrollment_token_request [EnrollmentTokenRequest]
|
|
1192
|
+
# @param [Hash] opts the optional parameters
|
|
1193
|
+
# @return [Array<(EnrollmentToken, Integer, Hash)>] EnrollmentToken data, response status code and response headers
|
|
1194
|
+
def endpoints_agents_enrollment_tokens_update_with_http_info(token_uuid, enrollment_token_request, opts = {})
|
|
1195
|
+
if @api_client.config.debugging
|
|
1196
|
+
@api_client.config.logger.debug 'Calling API: EndpointsApi.endpoints_agents_enrollment_tokens_update ...'
|
|
1197
|
+
end
|
|
1198
|
+
# verify the required parameter 'token_uuid' is set
|
|
1199
|
+
if @api_client.config.client_side_validation && token_uuid.nil?
|
|
1200
|
+
fail ArgumentError, "Missing the required parameter 'token_uuid' when calling EndpointsApi.endpoints_agents_enrollment_tokens_update"
|
|
1201
|
+
end
|
|
1202
|
+
# verify the required parameter 'enrollment_token_request' is set
|
|
1203
|
+
if @api_client.config.client_side_validation && enrollment_token_request.nil?
|
|
1204
|
+
fail ArgumentError, "Missing the required parameter 'enrollment_token_request' when calling EndpointsApi.endpoints_agents_enrollment_tokens_update"
|
|
1205
|
+
end
|
|
1206
|
+
# resource path
|
|
1207
|
+
local_var_path = '/endpoints/agents/enrollment_tokens/{token_uuid}/'.sub('{' + 'token_uuid' + '}', CGI.escape(token_uuid.to_s))
|
|
1208
|
+
|
|
1209
|
+
# query parameters
|
|
1210
|
+
query_params = opts[:query_params] || {}
|
|
1211
|
+
|
|
1212
|
+
# header parameters
|
|
1213
|
+
header_params = opts[:header_params] || {}
|
|
1214
|
+
# HTTP header 'Accept' (if needed)
|
|
1215
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1216
|
+
# HTTP header 'Content-Type'
|
|
1217
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
1218
|
+
if !content_type.nil?
|
|
1219
|
+
header_params['Content-Type'] = content_type
|
|
1220
|
+
end
|
|
1221
|
+
|
|
1222
|
+
# form parameters
|
|
1223
|
+
form_params = opts[:form_params] || {}
|
|
1224
|
+
|
|
1225
|
+
# http body (model)
|
|
1226
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(enrollment_token_request)
|
|
1227
|
+
|
|
1228
|
+
# return_type
|
|
1229
|
+
return_type = opts[:debug_return_type] || 'EnrollmentToken'
|
|
1230
|
+
|
|
1231
|
+
# auth_names
|
|
1232
|
+
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
1233
|
+
|
|
1234
|
+
new_options = opts.merge(
|
|
1235
|
+
:operation => :"EndpointsApi.endpoints_agents_enrollment_tokens_update",
|
|
1236
|
+
:header_params => header_params,
|
|
1237
|
+
:query_params => query_params,
|
|
1238
|
+
:form_params => form_params,
|
|
1239
|
+
:body => post_body,
|
|
1240
|
+
:auth_names => auth_names,
|
|
1241
|
+
:return_type => return_type
|
|
1242
|
+
)
|
|
1243
|
+
|
|
1244
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
1245
|
+
if @api_client.config.debugging
|
|
1246
|
+
@api_client.config.logger.debug "API called: EndpointsApi#endpoints_agents_enrollment_tokens_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1247
|
+
end
|
|
1248
|
+
return data, status_code, headers
|
|
1249
|
+
end
|
|
1250
|
+
|
|
1251
|
+
# Get a list of all objects that use this object
|
|
1252
|
+
# @param token_uuid [String] A UUID string identifying this Enrollment Token.
|
|
1253
|
+
# @param [Hash] opts the optional parameters
|
|
1254
|
+
# @return [Array<UsedBy>]
|
|
1255
|
+
def endpoints_agents_enrollment_tokens_used_by_list(token_uuid, opts = {})
|
|
1256
|
+
data, _status_code, _headers = endpoints_agents_enrollment_tokens_used_by_list_with_http_info(token_uuid, opts)
|
|
1257
|
+
data
|
|
1258
|
+
end
|
|
1259
|
+
|
|
1260
|
+
# Get a list of all objects that use this object
|
|
1261
|
+
# @param token_uuid [String] A UUID string identifying this Enrollment Token.
|
|
1262
|
+
# @param [Hash] opts the optional parameters
|
|
1263
|
+
# @return [Array<(Array<UsedBy>, Integer, Hash)>] Array<UsedBy> data, response status code and response headers
|
|
1264
|
+
def endpoints_agents_enrollment_tokens_used_by_list_with_http_info(token_uuid, opts = {})
|
|
1265
|
+
if @api_client.config.debugging
|
|
1266
|
+
@api_client.config.logger.debug 'Calling API: EndpointsApi.endpoints_agents_enrollment_tokens_used_by_list ...'
|
|
1267
|
+
end
|
|
1268
|
+
# verify the required parameter 'token_uuid' is set
|
|
1269
|
+
if @api_client.config.client_side_validation && token_uuid.nil?
|
|
1270
|
+
fail ArgumentError, "Missing the required parameter 'token_uuid' when calling EndpointsApi.endpoints_agents_enrollment_tokens_used_by_list"
|
|
1271
|
+
end
|
|
1272
|
+
# resource path
|
|
1273
|
+
local_var_path = '/endpoints/agents/enrollment_tokens/{token_uuid}/used_by/'.sub('{' + 'token_uuid' + '}', CGI.escape(token_uuid.to_s))
|
|
1274
|
+
|
|
1275
|
+
# query parameters
|
|
1276
|
+
query_params = opts[:query_params] || {}
|
|
1277
|
+
|
|
1278
|
+
# header parameters
|
|
1279
|
+
header_params = opts[:header_params] || {}
|
|
1280
|
+
# HTTP header 'Accept' (if needed)
|
|
1281
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1282
|
+
|
|
1283
|
+
# form parameters
|
|
1284
|
+
form_params = opts[:form_params] || {}
|
|
1285
|
+
|
|
1286
|
+
# http body (model)
|
|
1287
|
+
post_body = opts[:debug_body]
|
|
1288
|
+
|
|
1289
|
+
# return_type
|
|
1290
|
+
return_type = opts[:debug_return_type] || 'Array<UsedBy>'
|
|
1291
|
+
|
|
1292
|
+
# auth_names
|
|
1293
|
+
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
1294
|
+
|
|
1295
|
+
new_options = opts.merge(
|
|
1296
|
+
:operation => :"EndpointsApi.endpoints_agents_enrollment_tokens_used_by_list",
|
|
1297
|
+
:header_params => header_params,
|
|
1298
|
+
:query_params => query_params,
|
|
1299
|
+
:form_params => form_params,
|
|
1300
|
+
:body => post_body,
|
|
1301
|
+
:auth_names => auth_names,
|
|
1302
|
+
:return_type => return_type
|
|
1303
|
+
)
|
|
1304
|
+
|
|
1305
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
1306
|
+
if @api_client.config.debugging
|
|
1307
|
+
@api_client.config.logger.debug "API called: EndpointsApi#endpoints_agents_enrollment_tokens_used_by_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1308
|
+
end
|
|
1309
|
+
return data, status_code, headers
|
|
1310
|
+
end
|
|
1311
|
+
|
|
1312
|
+
# Return token key and log access
|
|
1313
|
+
# @param token_uuid [String] A UUID string identifying this Enrollment Token.
|
|
1314
|
+
# @param [Hash] opts the optional parameters
|
|
1315
|
+
# @return [TokenView]
|
|
1316
|
+
def endpoints_agents_enrollment_tokens_view_key_retrieve(token_uuid, opts = {})
|
|
1317
|
+
data, _status_code, _headers = endpoints_agents_enrollment_tokens_view_key_retrieve_with_http_info(token_uuid, opts)
|
|
1318
|
+
data
|
|
1319
|
+
end
|
|
1320
|
+
|
|
1321
|
+
# Return token key and log access
|
|
1322
|
+
# @param token_uuid [String] A UUID string identifying this Enrollment Token.
|
|
1323
|
+
# @param [Hash] opts the optional parameters
|
|
1324
|
+
# @return [Array<(TokenView, Integer, Hash)>] TokenView data, response status code and response headers
|
|
1325
|
+
def endpoints_agents_enrollment_tokens_view_key_retrieve_with_http_info(token_uuid, opts = {})
|
|
1326
|
+
if @api_client.config.debugging
|
|
1327
|
+
@api_client.config.logger.debug 'Calling API: EndpointsApi.endpoints_agents_enrollment_tokens_view_key_retrieve ...'
|
|
1328
|
+
end
|
|
1329
|
+
# verify the required parameter 'token_uuid' is set
|
|
1330
|
+
if @api_client.config.client_side_validation && token_uuid.nil?
|
|
1331
|
+
fail ArgumentError, "Missing the required parameter 'token_uuid' when calling EndpointsApi.endpoints_agents_enrollment_tokens_view_key_retrieve"
|
|
1332
|
+
end
|
|
1333
|
+
# resource path
|
|
1334
|
+
local_var_path = '/endpoints/agents/enrollment_tokens/{token_uuid}/view_key/'.sub('{' + 'token_uuid' + '}', CGI.escape(token_uuid.to_s))
|
|
1335
|
+
|
|
1336
|
+
# query parameters
|
|
1337
|
+
query_params = opts[:query_params] || {}
|
|
1338
|
+
|
|
1339
|
+
# header parameters
|
|
1340
|
+
header_params = opts[:header_params] || {}
|
|
1341
|
+
# HTTP header 'Accept' (if needed)
|
|
1342
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1343
|
+
|
|
1344
|
+
# form parameters
|
|
1345
|
+
form_params = opts[:form_params] || {}
|
|
1346
|
+
|
|
1347
|
+
# http body (model)
|
|
1348
|
+
post_body = opts[:debug_body]
|
|
1349
|
+
|
|
1350
|
+
# return_type
|
|
1351
|
+
return_type = opts[:debug_return_type] || 'TokenView'
|
|
1352
|
+
|
|
1353
|
+
# auth_names
|
|
1354
|
+
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
1355
|
+
|
|
1356
|
+
new_options = opts.merge(
|
|
1357
|
+
:operation => :"EndpointsApi.endpoints_agents_enrollment_tokens_view_key_retrieve",
|
|
1358
|
+
:header_params => header_params,
|
|
1359
|
+
:query_params => query_params,
|
|
1360
|
+
:form_params => form_params,
|
|
1361
|
+
:body => post_body,
|
|
1362
|
+
:auth_names => auth_names,
|
|
1363
|
+
:return_type => return_type
|
|
1364
|
+
)
|
|
1365
|
+
|
|
1366
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
1367
|
+
if @api_client.config.debugging
|
|
1368
|
+
@api_client.config.logger.debug "API called: EndpointsApi#endpoints_agents_enrollment_tokens_view_key_retrieve\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1369
|
+
end
|
|
1370
|
+
return data, status_code, headers
|
|
1371
|
+
end
|
|
1372
|
+
|
|
1373
|
+
# @param agent_psso_device_registration_request [AgentPSSODeviceRegistrationRequest]
|
|
1374
|
+
# @param [Hash] opts the optional parameters
|
|
1375
|
+
# @return [AgentPSSODeviceRegistrationResponse]
|
|
1376
|
+
def endpoints_agents_psso_register_device_create(agent_psso_device_registration_request, opts = {})
|
|
1377
|
+
data, _status_code, _headers = endpoints_agents_psso_register_device_create_with_http_info(agent_psso_device_registration_request, opts)
|
|
1378
|
+
data
|
|
1379
|
+
end
|
|
1380
|
+
|
|
1381
|
+
# @param agent_psso_device_registration_request [AgentPSSODeviceRegistrationRequest]
|
|
1382
|
+
# @param [Hash] opts the optional parameters
|
|
1383
|
+
# @return [Array<(AgentPSSODeviceRegistrationResponse, Integer, Hash)>] AgentPSSODeviceRegistrationResponse data, response status code and response headers
|
|
1384
|
+
def endpoints_agents_psso_register_device_create_with_http_info(agent_psso_device_registration_request, opts = {})
|
|
1385
|
+
if @api_client.config.debugging
|
|
1386
|
+
@api_client.config.logger.debug 'Calling API: EndpointsApi.endpoints_agents_psso_register_device_create ...'
|
|
1387
|
+
end
|
|
1388
|
+
# verify the required parameter 'agent_psso_device_registration_request' is set
|
|
1389
|
+
if @api_client.config.client_side_validation && agent_psso_device_registration_request.nil?
|
|
1390
|
+
fail ArgumentError, "Missing the required parameter 'agent_psso_device_registration_request' when calling EndpointsApi.endpoints_agents_psso_register_device_create"
|
|
1391
|
+
end
|
|
1392
|
+
# resource path
|
|
1393
|
+
local_var_path = '/endpoints/agents/psso/register/device/'
|
|
1394
|
+
|
|
1395
|
+
# query parameters
|
|
1396
|
+
query_params = opts[:query_params] || {}
|
|
1397
|
+
|
|
1398
|
+
# header parameters
|
|
1399
|
+
header_params = opts[:header_params] || {}
|
|
1400
|
+
# HTTP header 'Accept' (if needed)
|
|
1401
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1402
|
+
# HTTP header 'Content-Type'
|
|
1403
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
1404
|
+
if !content_type.nil?
|
|
1405
|
+
header_params['Content-Type'] = content_type
|
|
1406
|
+
end
|
|
1407
|
+
|
|
1408
|
+
# form parameters
|
|
1409
|
+
form_params = opts[:form_params] || {}
|
|
1410
|
+
|
|
1411
|
+
# http body (model)
|
|
1412
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(agent_psso_device_registration_request)
|
|
1413
|
+
|
|
1414
|
+
# return_type
|
|
1415
|
+
return_type = opts[:debug_return_type] || 'AgentPSSODeviceRegistrationResponse'
|
|
1416
|
+
|
|
1417
|
+
# auth_names
|
|
1418
|
+
auth_names = opts[:debug_auth_names] || []
|
|
1419
|
+
|
|
1420
|
+
new_options = opts.merge(
|
|
1421
|
+
:operation => :"EndpointsApi.endpoints_agents_psso_register_device_create",
|
|
1422
|
+
:header_params => header_params,
|
|
1423
|
+
:query_params => query_params,
|
|
1424
|
+
:form_params => form_params,
|
|
1425
|
+
:body => post_body,
|
|
1426
|
+
:auth_names => auth_names,
|
|
1427
|
+
:return_type => return_type
|
|
1428
|
+
)
|
|
1429
|
+
|
|
1430
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
1431
|
+
if @api_client.config.debugging
|
|
1432
|
+
@api_client.config.logger.debug "API called: EndpointsApi#endpoints_agents_psso_register_device_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1433
|
+
end
|
|
1434
|
+
return data, status_code, headers
|
|
1435
|
+
end
|
|
1436
|
+
|
|
1437
|
+
# @param agent_psso_user_registration_request [AgentPSSOUserRegistrationRequest]
|
|
1438
|
+
# @param [Hash] opts the optional parameters
|
|
1439
|
+
# @return [UserSelf]
|
|
1440
|
+
def endpoints_agents_psso_register_user_create(agent_psso_user_registration_request, opts = {})
|
|
1441
|
+
data, _status_code, _headers = endpoints_agents_psso_register_user_create_with_http_info(agent_psso_user_registration_request, opts)
|
|
1442
|
+
data
|
|
1443
|
+
end
|
|
1444
|
+
|
|
1445
|
+
# @param agent_psso_user_registration_request [AgentPSSOUserRegistrationRequest]
|
|
1446
|
+
# @param [Hash] opts the optional parameters
|
|
1447
|
+
# @return [Array<(UserSelf, Integer, Hash)>] UserSelf data, response status code and response headers
|
|
1448
|
+
def endpoints_agents_psso_register_user_create_with_http_info(agent_psso_user_registration_request, opts = {})
|
|
1449
|
+
if @api_client.config.debugging
|
|
1450
|
+
@api_client.config.logger.debug 'Calling API: EndpointsApi.endpoints_agents_psso_register_user_create ...'
|
|
1451
|
+
end
|
|
1452
|
+
# verify the required parameter 'agent_psso_user_registration_request' is set
|
|
1453
|
+
if @api_client.config.client_side_validation && agent_psso_user_registration_request.nil?
|
|
1454
|
+
fail ArgumentError, "Missing the required parameter 'agent_psso_user_registration_request' when calling EndpointsApi.endpoints_agents_psso_register_user_create"
|
|
1455
|
+
end
|
|
1456
|
+
# resource path
|
|
1457
|
+
local_var_path = '/endpoints/agents/psso/register/user/'
|
|
1458
|
+
|
|
1459
|
+
# query parameters
|
|
1460
|
+
query_params = opts[:query_params] || {}
|
|
1461
|
+
|
|
1462
|
+
# header parameters
|
|
1463
|
+
header_params = opts[:header_params] || {}
|
|
1464
|
+
# HTTP header 'Accept' (if needed)
|
|
1465
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1466
|
+
# HTTP header 'Content-Type'
|
|
1467
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
1468
|
+
if !content_type.nil?
|
|
1469
|
+
header_params['Content-Type'] = content_type
|
|
1470
|
+
end
|
|
1471
|
+
|
|
1472
|
+
# form parameters
|
|
1473
|
+
form_params = opts[:form_params] || {}
|
|
1474
|
+
|
|
1475
|
+
# http body (model)
|
|
1476
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(agent_psso_user_registration_request)
|
|
1477
|
+
|
|
1478
|
+
# return_type
|
|
1479
|
+
return_type = opts[:debug_return_type] || 'UserSelf'
|
|
1480
|
+
|
|
1481
|
+
# auth_names
|
|
1482
|
+
auth_names = opts[:debug_auth_names] || []
|
|
1483
|
+
|
|
1484
|
+
new_options = opts.merge(
|
|
1485
|
+
:operation => :"EndpointsApi.endpoints_agents_psso_register_user_create",
|
|
1486
|
+
:header_params => header_params,
|
|
1487
|
+
:query_params => query_params,
|
|
1488
|
+
:form_params => form_params,
|
|
1489
|
+
:body => post_body,
|
|
1490
|
+
:auth_names => auth_names,
|
|
1491
|
+
:return_type => return_type
|
|
1492
|
+
)
|
|
1493
|
+
|
|
1494
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
1495
|
+
if @api_client.config.debugging
|
|
1496
|
+
@api_client.config.logger.debug "API called: EndpointsApi#endpoints_agents_psso_register_user_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1497
|
+
end
|
|
1498
|
+
return data, status_code, headers
|
|
1499
|
+
end
|
|
1500
|
+
|
|
1501
|
+
# Connector Viewset
|
|
1502
|
+
# @param connector_uuid [String] A UUID string identifying this connector.
|
|
1503
|
+
# @param [Hash] opts the optional parameters
|
|
1504
|
+
# @return [nil]
|
|
1505
|
+
def endpoints_connectors_destroy(connector_uuid, opts = {})
|
|
1506
|
+
endpoints_connectors_destroy_with_http_info(connector_uuid, opts)
|
|
1507
|
+
nil
|
|
1508
|
+
end
|
|
1509
|
+
|
|
1510
|
+
# Connector Viewset
|
|
1511
|
+
# @param connector_uuid [String] A UUID string identifying this connector.
|
|
1512
|
+
# @param [Hash] opts the optional parameters
|
|
1513
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
1514
|
+
def endpoints_connectors_destroy_with_http_info(connector_uuid, opts = {})
|
|
1515
|
+
if @api_client.config.debugging
|
|
1516
|
+
@api_client.config.logger.debug 'Calling API: EndpointsApi.endpoints_connectors_destroy ...'
|
|
1517
|
+
end
|
|
1518
|
+
# verify the required parameter 'connector_uuid' is set
|
|
1519
|
+
if @api_client.config.client_side_validation && connector_uuid.nil?
|
|
1520
|
+
fail ArgumentError, "Missing the required parameter 'connector_uuid' when calling EndpointsApi.endpoints_connectors_destroy"
|
|
1521
|
+
end
|
|
1522
|
+
# resource path
|
|
1523
|
+
local_var_path = '/endpoints/connectors/{connector_uuid}/'.sub('{' + 'connector_uuid' + '}', CGI.escape(connector_uuid.to_s))
|
|
1524
|
+
|
|
1525
|
+
# query parameters
|
|
1526
|
+
query_params = opts[:query_params] || {}
|
|
1527
|
+
|
|
1528
|
+
# header parameters
|
|
1529
|
+
header_params = opts[:header_params] || {}
|
|
1530
|
+
# HTTP header 'Accept' (if needed)
|
|
1531
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1532
|
+
|
|
1533
|
+
# form parameters
|
|
1534
|
+
form_params = opts[:form_params] || {}
|
|
1535
|
+
|
|
1536
|
+
# http body (model)
|
|
1537
|
+
post_body = opts[:debug_body]
|
|
1538
|
+
|
|
1539
|
+
# return_type
|
|
1540
|
+
return_type = opts[:debug_return_type]
|
|
1541
|
+
|
|
1542
|
+
# auth_names
|
|
1543
|
+
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
1544
|
+
|
|
1545
|
+
new_options = opts.merge(
|
|
1546
|
+
:operation => :"EndpointsApi.endpoints_connectors_destroy",
|
|
1547
|
+
:header_params => header_params,
|
|
1548
|
+
:query_params => query_params,
|
|
1549
|
+
:form_params => form_params,
|
|
1550
|
+
:body => post_body,
|
|
1551
|
+
:auth_names => auth_names,
|
|
1552
|
+
:return_type => return_type
|
|
1553
|
+
)
|
|
1554
|
+
|
|
1555
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
|
1556
|
+
if @api_client.config.debugging
|
|
1557
|
+
@api_client.config.logger.debug "API called: EndpointsApi#endpoints_connectors_destroy\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1558
|
+
end
|
|
1559
|
+
return data, status_code, headers
|
|
1560
|
+
end
|
|
1561
|
+
|
|
1562
|
+
# Connector Viewset
|
|
1563
|
+
# @param [Hash] opts the optional parameters
|
|
1564
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
1565
|
+
# @option opts [Integer] :page A page number within the paginated result set.
|
|
1566
|
+
# @option opts [Integer] :page_size Number of results to return per page.
|
|
1567
|
+
# @option opts [String] :search A search term.
|
|
1568
|
+
# @return [PaginatedConnectorList]
|
|
1569
|
+
def endpoints_connectors_list(opts = {})
|
|
1570
|
+
data, _status_code, _headers = endpoints_connectors_list_with_http_info(opts)
|
|
1571
|
+
data
|
|
1572
|
+
end
|
|
1573
|
+
|
|
1574
|
+
# Connector Viewset
|
|
1575
|
+
# @param [Hash] opts the optional parameters
|
|
1576
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
1577
|
+
# @option opts [Integer] :page A page number within the paginated result set.
|
|
1578
|
+
# @option opts [Integer] :page_size Number of results to return per page.
|
|
1579
|
+
# @option opts [String] :search A search term.
|
|
1580
|
+
# @return [Array<(PaginatedConnectorList, Integer, Hash)>] PaginatedConnectorList data, response status code and response headers
|
|
1581
|
+
def endpoints_connectors_list_with_http_info(opts = {})
|
|
1582
|
+
if @api_client.config.debugging
|
|
1583
|
+
@api_client.config.logger.debug 'Calling API: EndpointsApi.endpoints_connectors_list ...'
|
|
1584
|
+
end
|
|
1585
|
+
# resource path
|
|
1586
|
+
local_var_path = '/endpoints/connectors/'
|
|
1587
|
+
|
|
1588
|
+
# query parameters
|
|
1589
|
+
query_params = opts[:query_params] || {}
|
|
1590
|
+
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
|
1591
|
+
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
|
1592
|
+
query_params[:'page_size'] = opts[:'page_size'] if !opts[:'page_size'].nil?
|
|
1593
|
+
query_params[:'search'] = opts[:'search'] if !opts[:'search'].nil?
|
|
1594
|
+
|
|
1595
|
+
# header parameters
|
|
1596
|
+
header_params = opts[:header_params] || {}
|
|
1597
|
+
# HTTP header 'Accept' (if needed)
|
|
1598
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1599
|
+
|
|
1600
|
+
# form parameters
|
|
1601
|
+
form_params = opts[:form_params] || {}
|
|
1602
|
+
|
|
1603
|
+
# http body (model)
|
|
1604
|
+
post_body = opts[:debug_body]
|
|
1605
|
+
|
|
1606
|
+
# return_type
|
|
1607
|
+
return_type = opts[:debug_return_type] || 'PaginatedConnectorList'
|
|
1608
|
+
|
|
1609
|
+
# auth_names
|
|
1610
|
+
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
1611
|
+
|
|
1612
|
+
new_options = opts.merge(
|
|
1613
|
+
:operation => :"EndpointsApi.endpoints_connectors_list",
|
|
1614
|
+
:header_params => header_params,
|
|
1615
|
+
:query_params => query_params,
|
|
1616
|
+
:form_params => form_params,
|
|
1617
|
+
:body => post_body,
|
|
1618
|
+
:auth_names => auth_names,
|
|
1619
|
+
:return_type => return_type
|
|
1620
|
+
)
|
|
1621
|
+
|
|
1622
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
1623
|
+
if @api_client.config.debugging
|
|
1624
|
+
@api_client.config.logger.debug "API called: EndpointsApi#endpoints_connectors_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1625
|
+
end
|
|
1626
|
+
return data, status_code, headers
|
|
1627
|
+
end
|
|
1628
|
+
|
|
1629
|
+
# Connector Viewset
|
|
1630
|
+
# @param connector_uuid [String] A UUID string identifying this connector.
|
|
1631
|
+
# @param [Hash] opts the optional parameters
|
|
1632
|
+
# @return [Connector]
|
|
1633
|
+
def endpoints_connectors_retrieve(connector_uuid, opts = {})
|
|
1634
|
+
data, _status_code, _headers = endpoints_connectors_retrieve_with_http_info(connector_uuid, opts)
|
|
1635
|
+
data
|
|
1636
|
+
end
|
|
1637
|
+
|
|
1638
|
+
# Connector Viewset
|
|
1639
|
+
# @param connector_uuid [String] A UUID string identifying this connector.
|
|
1640
|
+
# @param [Hash] opts the optional parameters
|
|
1641
|
+
# @return [Array<(Connector, Integer, Hash)>] Connector data, response status code and response headers
|
|
1642
|
+
def endpoints_connectors_retrieve_with_http_info(connector_uuid, opts = {})
|
|
1643
|
+
if @api_client.config.debugging
|
|
1644
|
+
@api_client.config.logger.debug 'Calling API: EndpointsApi.endpoints_connectors_retrieve ...'
|
|
1645
|
+
end
|
|
1646
|
+
# verify the required parameter 'connector_uuid' is set
|
|
1647
|
+
if @api_client.config.client_side_validation && connector_uuid.nil?
|
|
1648
|
+
fail ArgumentError, "Missing the required parameter 'connector_uuid' when calling EndpointsApi.endpoints_connectors_retrieve"
|
|
1649
|
+
end
|
|
1650
|
+
# resource path
|
|
1651
|
+
local_var_path = '/endpoints/connectors/{connector_uuid}/'.sub('{' + 'connector_uuid' + '}', CGI.escape(connector_uuid.to_s))
|
|
1652
|
+
|
|
1653
|
+
# query parameters
|
|
1654
|
+
query_params = opts[:query_params] || {}
|
|
1655
|
+
|
|
1656
|
+
# header parameters
|
|
1657
|
+
header_params = opts[:header_params] || {}
|
|
1658
|
+
# HTTP header 'Accept' (if needed)
|
|
1659
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1660
|
+
|
|
1661
|
+
# form parameters
|
|
1662
|
+
form_params = opts[:form_params] || {}
|
|
1663
|
+
|
|
1664
|
+
# http body (model)
|
|
1665
|
+
post_body = opts[:debug_body]
|
|
1666
|
+
|
|
1667
|
+
# return_type
|
|
1668
|
+
return_type = opts[:debug_return_type] || 'Connector'
|
|
1669
|
+
|
|
1670
|
+
# auth_names
|
|
1671
|
+
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
1672
|
+
|
|
1673
|
+
new_options = opts.merge(
|
|
1674
|
+
:operation => :"EndpointsApi.endpoints_connectors_retrieve",
|
|
1675
|
+
:header_params => header_params,
|
|
1676
|
+
:query_params => query_params,
|
|
1677
|
+
:form_params => form_params,
|
|
1678
|
+
:body => post_body,
|
|
1679
|
+
:auth_names => auth_names,
|
|
1680
|
+
:return_type => return_type
|
|
1681
|
+
)
|
|
1682
|
+
|
|
1683
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
1684
|
+
if @api_client.config.debugging
|
|
1685
|
+
@api_client.config.logger.debug "API called: EndpointsApi#endpoints_connectors_retrieve\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1686
|
+
end
|
|
1687
|
+
return data, status_code, headers
|
|
1688
|
+
end
|
|
1689
|
+
|
|
1690
|
+
# Get all creatable types
|
|
1691
|
+
# @param [Hash] opts the optional parameters
|
|
1692
|
+
# @return [Array<TypeCreate>]
|
|
1693
|
+
def endpoints_connectors_types_list(opts = {})
|
|
1694
|
+
data, _status_code, _headers = endpoints_connectors_types_list_with_http_info(opts)
|
|
1695
|
+
data
|
|
1696
|
+
end
|
|
1697
|
+
|
|
1698
|
+
# Get all creatable types
|
|
1699
|
+
# @param [Hash] opts the optional parameters
|
|
1700
|
+
# @return [Array<(Array<TypeCreate>, Integer, Hash)>] Array<TypeCreate> data, response status code and response headers
|
|
1701
|
+
def endpoints_connectors_types_list_with_http_info(opts = {})
|
|
1702
|
+
if @api_client.config.debugging
|
|
1703
|
+
@api_client.config.logger.debug 'Calling API: EndpointsApi.endpoints_connectors_types_list ...'
|
|
1704
|
+
end
|
|
1705
|
+
# resource path
|
|
1706
|
+
local_var_path = '/endpoints/connectors/types/'
|
|
1707
|
+
|
|
1708
|
+
# query parameters
|
|
1709
|
+
query_params = opts[:query_params] || {}
|
|
1710
|
+
|
|
1711
|
+
# header parameters
|
|
1712
|
+
header_params = opts[:header_params] || {}
|
|
1713
|
+
# HTTP header 'Accept' (if needed)
|
|
1714
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1715
|
+
|
|
1716
|
+
# form parameters
|
|
1717
|
+
form_params = opts[:form_params] || {}
|
|
1718
|
+
|
|
1719
|
+
# http body (model)
|
|
1720
|
+
post_body = opts[:debug_body]
|
|
1721
|
+
|
|
1722
|
+
# return_type
|
|
1723
|
+
return_type = opts[:debug_return_type] || 'Array<TypeCreate>'
|
|
1724
|
+
|
|
1725
|
+
# auth_names
|
|
1726
|
+
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
1727
|
+
|
|
1728
|
+
new_options = opts.merge(
|
|
1729
|
+
:operation => :"EndpointsApi.endpoints_connectors_types_list",
|
|
1730
|
+
:header_params => header_params,
|
|
1731
|
+
:query_params => query_params,
|
|
1732
|
+
:form_params => form_params,
|
|
1733
|
+
:body => post_body,
|
|
1734
|
+
:auth_names => auth_names,
|
|
1735
|
+
:return_type => return_type
|
|
1736
|
+
)
|
|
1737
|
+
|
|
1738
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
1739
|
+
if @api_client.config.debugging
|
|
1740
|
+
@api_client.config.logger.debug "API called: EndpointsApi#endpoints_connectors_types_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1741
|
+
end
|
|
1742
|
+
return data, status_code, headers
|
|
1743
|
+
end
|
|
1744
|
+
|
|
1745
|
+
# Get a list of all objects that use this object
|
|
1746
|
+
# @param connector_uuid [String] A UUID string identifying this connector.
|
|
1747
|
+
# @param [Hash] opts the optional parameters
|
|
1748
|
+
# @return [Array<UsedBy>]
|
|
1749
|
+
def endpoints_connectors_used_by_list(connector_uuid, opts = {})
|
|
1750
|
+
data, _status_code, _headers = endpoints_connectors_used_by_list_with_http_info(connector_uuid, opts)
|
|
1751
|
+
data
|
|
1752
|
+
end
|
|
1753
|
+
|
|
1754
|
+
# Get a list of all objects that use this object
|
|
1755
|
+
# @param connector_uuid [String] A UUID string identifying this connector.
|
|
1756
|
+
# @param [Hash] opts the optional parameters
|
|
1757
|
+
# @return [Array<(Array<UsedBy>, Integer, Hash)>] Array<UsedBy> data, response status code and response headers
|
|
1758
|
+
def endpoints_connectors_used_by_list_with_http_info(connector_uuid, opts = {})
|
|
1759
|
+
if @api_client.config.debugging
|
|
1760
|
+
@api_client.config.logger.debug 'Calling API: EndpointsApi.endpoints_connectors_used_by_list ...'
|
|
1761
|
+
end
|
|
1762
|
+
# verify the required parameter 'connector_uuid' is set
|
|
1763
|
+
if @api_client.config.client_side_validation && connector_uuid.nil?
|
|
1764
|
+
fail ArgumentError, "Missing the required parameter 'connector_uuid' when calling EndpointsApi.endpoints_connectors_used_by_list"
|
|
1765
|
+
end
|
|
1766
|
+
# resource path
|
|
1767
|
+
local_var_path = '/endpoints/connectors/{connector_uuid}/used_by/'.sub('{' + 'connector_uuid' + '}', CGI.escape(connector_uuid.to_s))
|
|
1768
|
+
|
|
1769
|
+
# query parameters
|
|
1770
|
+
query_params = opts[:query_params] || {}
|
|
1771
|
+
|
|
1772
|
+
# header parameters
|
|
1773
|
+
header_params = opts[:header_params] || {}
|
|
1774
|
+
# HTTP header 'Accept' (if needed)
|
|
1775
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1776
|
+
|
|
1777
|
+
# form parameters
|
|
1778
|
+
form_params = opts[:form_params] || {}
|
|
1779
|
+
|
|
1780
|
+
# http body (model)
|
|
1781
|
+
post_body = opts[:debug_body]
|
|
1782
|
+
|
|
1783
|
+
# return_type
|
|
1784
|
+
return_type = opts[:debug_return_type] || 'Array<UsedBy>'
|
|
1785
|
+
|
|
1786
|
+
# auth_names
|
|
1787
|
+
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
1788
|
+
|
|
1789
|
+
new_options = opts.merge(
|
|
1790
|
+
:operation => :"EndpointsApi.endpoints_connectors_used_by_list",
|
|
1791
|
+
:header_params => header_params,
|
|
1792
|
+
:query_params => query_params,
|
|
1793
|
+
:form_params => form_params,
|
|
1794
|
+
:body => post_body,
|
|
1795
|
+
:auth_names => auth_names,
|
|
1796
|
+
:return_type => return_type
|
|
1797
|
+
)
|
|
1798
|
+
|
|
1799
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
1800
|
+
if @api_client.config.debugging
|
|
1801
|
+
@api_client.config.logger.debug "API called: EndpointsApi#endpoints_connectors_used_by_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1802
|
+
end
|
|
1803
|
+
return data, status_code, headers
|
|
1804
|
+
end
|
|
1805
|
+
|
|
1806
|
+
# DeviceAccessGroup Viewset
|
|
1807
|
+
# @param device_access_group_request [DeviceAccessGroupRequest]
|
|
1808
|
+
# @param [Hash] opts the optional parameters
|
|
1809
|
+
# @return [DeviceAccessGroup]
|
|
1810
|
+
def endpoints_device_access_groups_create(device_access_group_request, opts = {})
|
|
1811
|
+
data, _status_code, _headers = endpoints_device_access_groups_create_with_http_info(device_access_group_request, opts)
|
|
1812
|
+
data
|
|
1813
|
+
end
|
|
1814
|
+
|
|
1815
|
+
# DeviceAccessGroup Viewset
|
|
1816
|
+
# @param device_access_group_request [DeviceAccessGroupRequest]
|
|
1817
|
+
# @param [Hash] opts the optional parameters
|
|
1818
|
+
# @return [Array<(DeviceAccessGroup, Integer, Hash)>] DeviceAccessGroup data, response status code and response headers
|
|
1819
|
+
def endpoints_device_access_groups_create_with_http_info(device_access_group_request, opts = {})
|
|
1820
|
+
if @api_client.config.debugging
|
|
1821
|
+
@api_client.config.logger.debug 'Calling API: EndpointsApi.endpoints_device_access_groups_create ...'
|
|
1822
|
+
end
|
|
1823
|
+
# verify the required parameter 'device_access_group_request' is set
|
|
1824
|
+
if @api_client.config.client_side_validation && device_access_group_request.nil?
|
|
1825
|
+
fail ArgumentError, "Missing the required parameter 'device_access_group_request' when calling EndpointsApi.endpoints_device_access_groups_create"
|
|
1826
|
+
end
|
|
1827
|
+
# resource path
|
|
1828
|
+
local_var_path = '/endpoints/device_access_groups/'
|
|
1829
|
+
|
|
1830
|
+
# query parameters
|
|
1831
|
+
query_params = opts[:query_params] || {}
|
|
1832
|
+
|
|
1833
|
+
# header parameters
|
|
1834
|
+
header_params = opts[:header_params] || {}
|
|
1835
|
+
# HTTP header 'Accept' (if needed)
|
|
1836
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1837
|
+
# HTTP header 'Content-Type'
|
|
1838
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
1839
|
+
if !content_type.nil?
|
|
1840
|
+
header_params['Content-Type'] = content_type
|
|
1841
|
+
end
|
|
1842
|
+
|
|
1843
|
+
# form parameters
|
|
1844
|
+
form_params = opts[:form_params] || {}
|
|
1845
|
+
|
|
1846
|
+
# http body (model)
|
|
1847
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(device_access_group_request)
|
|
1848
|
+
|
|
1849
|
+
# return_type
|
|
1850
|
+
return_type = opts[:debug_return_type] || 'DeviceAccessGroup'
|
|
1851
|
+
|
|
1852
|
+
# auth_names
|
|
1853
|
+
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
1854
|
+
|
|
1855
|
+
new_options = opts.merge(
|
|
1856
|
+
:operation => :"EndpointsApi.endpoints_device_access_groups_create",
|
|
1857
|
+
:header_params => header_params,
|
|
1858
|
+
:query_params => query_params,
|
|
1859
|
+
:form_params => form_params,
|
|
1860
|
+
:body => post_body,
|
|
1861
|
+
:auth_names => auth_names,
|
|
1862
|
+
:return_type => return_type
|
|
1863
|
+
)
|
|
1864
|
+
|
|
1865
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
1866
|
+
if @api_client.config.debugging
|
|
1867
|
+
@api_client.config.logger.debug "API called: EndpointsApi#endpoints_device_access_groups_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1868
|
+
end
|
|
1869
|
+
return data, status_code, headers
|
|
1870
|
+
end
|
|
1871
|
+
|
|
1872
|
+
# DeviceAccessGroup Viewset
|
|
1873
|
+
# @param pbm_uuid [String] A UUID string identifying this Device access group.
|
|
1874
|
+
# @param [Hash] opts the optional parameters
|
|
1875
|
+
# @return [nil]
|
|
1876
|
+
def endpoints_device_access_groups_destroy(pbm_uuid, opts = {})
|
|
1877
|
+
endpoints_device_access_groups_destroy_with_http_info(pbm_uuid, opts)
|
|
1878
|
+
nil
|
|
1879
|
+
end
|
|
1880
|
+
|
|
1881
|
+
# DeviceAccessGroup Viewset
|
|
1882
|
+
# @param pbm_uuid [String] A UUID string identifying this Device access group.
|
|
1883
|
+
# @param [Hash] opts the optional parameters
|
|
1884
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
1885
|
+
def endpoints_device_access_groups_destroy_with_http_info(pbm_uuid, opts = {})
|
|
1886
|
+
if @api_client.config.debugging
|
|
1887
|
+
@api_client.config.logger.debug 'Calling API: EndpointsApi.endpoints_device_access_groups_destroy ...'
|
|
1888
|
+
end
|
|
1889
|
+
# verify the required parameter 'pbm_uuid' is set
|
|
1890
|
+
if @api_client.config.client_side_validation && pbm_uuid.nil?
|
|
1891
|
+
fail ArgumentError, "Missing the required parameter 'pbm_uuid' when calling EndpointsApi.endpoints_device_access_groups_destroy"
|
|
1892
|
+
end
|
|
1893
|
+
# resource path
|
|
1894
|
+
local_var_path = '/endpoints/device_access_groups/{pbm_uuid}/'.sub('{' + 'pbm_uuid' + '}', CGI.escape(pbm_uuid.to_s))
|
|
1895
|
+
|
|
1896
|
+
# query parameters
|
|
1897
|
+
query_params = opts[:query_params] || {}
|
|
1898
|
+
|
|
1899
|
+
# header parameters
|
|
1900
|
+
header_params = opts[:header_params] || {}
|
|
1901
|
+
# HTTP header 'Accept' (if needed)
|
|
1902
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1903
|
+
|
|
1904
|
+
# form parameters
|
|
1905
|
+
form_params = opts[:form_params] || {}
|
|
1906
|
+
|
|
1907
|
+
# http body (model)
|
|
1908
|
+
post_body = opts[:debug_body]
|
|
1909
|
+
|
|
1910
|
+
# return_type
|
|
1911
|
+
return_type = opts[:debug_return_type]
|
|
1912
|
+
|
|
1913
|
+
# auth_names
|
|
1914
|
+
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
1915
|
+
|
|
1916
|
+
new_options = opts.merge(
|
|
1917
|
+
:operation => :"EndpointsApi.endpoints_device_access_groups_destroy",
|
|
1918
|
+
:header_params => header_params,
|
|
1919
|
+
:query_params => query_params,
|
|
1920
|
+
:form_params => form_params,
|
|
1921
|
+
:body => post_body,
|
|
1922
|
+
:auth_names => auth_names,
|
|
1923
|
+
:return_type => return_type
|
|
1924
|
+
)
|
|
1925
|
+
|
|
1926
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
|
1927
|
+
if @api_client.config.debugging
|
|
1928
|
+
@api_client.config.logger.debug "API called: EndpointsApi#endpoints_device_access_groups_destroy\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1929
|
+
end
|
|
1930
|
+
return data, status_code, headers
|
|
1931
|
+
end
|
|
1932
|
+
|
|
1933
|
+
# DeviceAccessGroup Viewset
|
|
1934
|
+
# @param [Hash] opts the optional parameters
|
|
1935
|
+
# @option opts [String] :name
|
|
1936
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
1937
|
+
# @option opts [Integer] :page A page number within the paginated result set.
|
|
1938
|
+
# @option opts [Integer] :page_size Number of results to return per page.
|
|
1939
|
+
# @option opts [String] :pbm_uuid
|
|
1940
|
+
# @option opts [String] :search A search term.
|
|
1941
|
+
# @return [PaginatedDeviceAccessGroupList]
|
|
1942
|
+
def endpoints_device_access_groups_list(opts = {})
|
|
1943
|
+
data, _status_code, _headers = endpoints_device_access_groups_list_with_http_info(opts)
|
|
1944
|
+
data
|
|
1945
|
+
end
|
|
1946
|
+
|
|
1947
|
+
# DeviceAccessGroup Viewset
|
|
1948
|
+
# @param [Hash] opts the optional parameters
|
|
1949
|
+
# @option opts [String] :name
|
|
1950
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
1951
|
+
# @option opts [Integer] :page A page number within the paginated result set.
|
|
1952
|
+
# @option opts [Integer] :page_size Number of results to return per page.
|
|
1953
|
+
# @option opts [String] :pbm_uuid
|
|
1954
|
+
# @option opts [String] :search A search term.
|
|
1955
|
+
# @return [Array<(PaginatedDeviceAccessGroupList, Integer, Hash)>] PaginatedDeviceAccessGroupList data, response status code and response headers
|
|
1956
|
+
def endpoints_device_access_groups_list_with_http_info(opts = {})
|
|
1957
|
+
if @api_client.config.debugging
|
|
1958
|
+
@api_client.config.logger.debug 'Calling API: EndpointsApi.endpoints_device_access_groups_list ...'
|
|
1959
|
+
end
|
|
1960
|
+
# resource path
|
|
1961
|
+
local_var_path = '/endpoints/device_access_groups/'
|
|
1962
|
+
|
|
1963
|
+
# query parameters
|
|
1964
|
+
query_params = opts[:query_params] || {}
|
|
1965
|
+
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
|
1966
|
+
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
|
1967
|
+
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
|
1968
|
+
query_params[:'page_size'] = opts[:'page_size'] if !opts[:'page_size'].nil?
|
|
1969
|
+
query_params[:'pbm_uuid'] = opts[:'pbm_uuid'] if !opts[:'pbm_uuid'].nil?
|
|
1970
|
+
query_params[:'search'] = opts[:'search'] if !opts[:'search'].nil?
|
|
1971
|
+
|
|
1972
|
+
# header parameters
|
|
1973
|
+
header_params = opts[:header_params] || {}
|
|
1974
|
+
# HTTP header 'Accept' (if needed)
|
|
1975
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1976
|
+
|
|
1977
|
+
# form parameters
|
|
1978
|
+
form_params = opts[:form_params] || {}
|
|
1979
|
+
|
|
1980
|
+
# http body (model)
|
|
1981
|
+
post_body = opts[:debug_body]
|
|
1982
|
+
|
|
1983
|
+
# return_type
|
|
1984
|
+
return_type = opts[:debug_return_type] || 'PaginatedDeviceAccessGroupList'
|
|
1985
|
+
|
|
1986
|
+
# auth_names
|
|
1987
|
+
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
1988
|
+
|
|
1989
|
+
new_options = opts.merge(
|
|
1990
|
+
:operation => :"EndpointsApi.endpoints_device_access_groups_list",
|
|
1991
|
+
:header_params => header_params,
|
|
1992
|
+
:query_params => query_params,
|
|
1993
|
+
:form_params => form_params,
|
|
1994
|
+
:body => post_body,
|
|
1995
|
+
:auth_names => auth_names,
|
|
1996
|
+
:return_type => return_type
|
|
1997
|
+
)
|
|
1998
|
+
|
|
1999
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
2000
|
+
if @api_client.config.debugging
|
|
2001
|
+
@api_client.config.logger.debug "API called: EndpointsApi#endpoints_device_access_groups_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2002
|
+
end
|
|
2003
|
+
return data, status_code, headers
|
|
2004
|
+
end
|
|
2005
|
+
|
|
2006
|
+
# DeviceAccessGroup Viewset
|
|
2007
|
+
# @param pbm_uuid [String] A UUID string identifying this Device access group.
|
|
2008
|
+
# @param [Hash] opts the optional parameters
|
|
2009
|
+
# @option opts [PatchedDeviceAccessGroupRequest] :patched_device_access_group_request
|
|
2010
|
+
# @return [DeviceAccessGroup]
|
|
2011
|
+
def endpoints_device_access_groups_partial_update(pbm_uuid, opts = {})
|
|
2012
|
+
data, _status_code, _headers = endpoints_device_access_groups_partial_update_with_http_info(pbm_uuid, opts)
|
|
2013
|
+
data
|
|
2014
|
+
end
|
|
2015
|
+
|
|
2016
|
+
# DeviceAccessGroup Viewset
|
|
2017
|
+
# @param pbm_uuid [String] A UUID string identifying this Device access group.
|
|
2018
|
+
# @param [Hash] opts the optional parameters
|
|
2019
|
+
# @option opts [PatchedDeviceAccessGroupRequest] :patched_device_access_group_request
|
|
2020
|
+
# @return [Array<(DeviceAccessGroup, Integer, Hash)>] DeviceAccessGroup data, response status code and response headers
|
|
2021
|
+
def endpoints_device_access_groups_partial_update_with_http_info(pbm_uuid, opts = {})
|
|
2022
|
+
if @api_client.config.debugging
|
|
2023
|
+
@api_client.config.logger.debug 'Calling API: EndpointsApi.endpoints_device_access_groups_partial_update ...'
|
|
2024
|
+
end
|
|
2025
|
+
# verify the required parameter 'pbm_uuid' is set
|
|
2026
|
+
if @api_client.config.client_side_validation && pbm_uuid.nil?
|
|
2027
|
+
fail ArgumentError, "Missing the required parameter 'pbm_uuid' when calling EndpointsApi.endpoints_device_access_groups_partial_update"
|
|
2028
|
+
end
|
|
2029
|
+
# resource path
|
|
2030
|
+
local_var_path = '/endpoints/device_access_groups/{pbm_uuid}/'.sub('{' + 'pbm_uuid' + '}', CGI.escape(pbm_uuid.to_s))
|
|
2031
|
+
|
|
2032
|
+
# query parameters
|
|
2033
|
+
query_params = opts[:query_params] || {}
|
|
2034
|
+
|
|
2035
|
+
# header parameters
|
|
2036
|
+
header_params = opts[:header_params] || {}
|
|
2037
|
+
# HTTP header 'Accept' (if needed)
|
|
2038
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
2039
|
+
# HTTP header 'Content-Type'
|
|
2040
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
2041
|
+
if !content_type.nil?
|
|
2042
|
+
header_params['Content-Type'] = content_type
|
|
2043
|
+
end
|
|
2044
|
+
|
|
2045
|
+
# form parameters
|
|
2046
|
+
form_params = opts[:form_params] || {}
|
|
2047
|
+
|
|
2048
|
+
# http body (model)
|
|
2049
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'patched_device_access_group_request'])
|
|
2050
|
+
|
|
2051
|
+
# return_type
|
|
2052
|
+
return_type = opts[:debug_return_type] || 'DeviceAccessGroup'
|
|
2053
|
+
|
|
2054
|
+
# auth_names
|
|
2055
|
+
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
2056
|
+
|
|
2057
|
+
new_options = opts.merge(
|
|
2058
|
+
:operation => :"EndpointsApi.endpoints_device_access_groups_partial_update",
|
|
2059
|
+
:header_params => header_params,
|
|
2060
|
+
:query_params => query_params,
|
|
2061
|
+
:form_params => form_params,
|
|
2062
|
+
:body => post_body,
|
|
2063
|
+
:auth_names => auth_names,
|
|
2064
|
+
:return_type => return_type
|
|
2065
|
+
)
|
|
2066
|
+
|
|
2067
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
|
|
2068
|
+
if @api_client.config.debugging
|
|
2069
|
+
@api_client.config.logger.debug "API called: EndpointsApi#endpoints_device_access_groups_partial_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2070
|
+
end
|
|
2071
|
+
return data, status_code, headers
|
|
2072
|
+
end
|
|
2073
|
+
|
|
2074
|
+
# DeviceAccessGroup Viewset
|
|
2075
|
+
# @param pbm_uuid [String] A UUID string identifying this Device access group.
|
|
2076
|
+
# @param [Hash] opts the optional parameters
|
|
2077
|
+
# @return [DeviceAccessGroup]
|
|
2078
|
+
def endpoints_device_access_groups_retrieve(pbm_uuid, opts = {})
|
|
2079
|
+
data, _status_code, _headers = endpoints_device_access_groups_retrieve_with_http_info(pbm_uuid, opts)
|
|
2080
|
+
data
|
|
2081
|
+
end
|
|
2082
|
+
|
|
2083
|
+
# DeviceAccessGroup Viewset
|
|
2084
|
+
# @param pbm_uuid [String] A UUID string identifying this Device access group.
|
|
2085
|
+
# @param [Hash] opts the optional parameters
|
|
2086
|
+
# @return [Array<(DeviceAccessGroup, Integer, Hash)>] DeviceAccessGroup data, response status code and response headers
|
|
2087
|
+
def endpoints_device_access_groups_retrieve_with_http_info(pbm_uuid, opts = {})
|
|
2088
|
+
if @api_client.config.debugging
|
|
2089
|
+
@api_client.config.logger.debug 'Calling API: EndpointsApi.endpoints_device_access_groups_retrieve ...'
|
|
2090
|
+
end
|
|
2091
|
+
# verify the required parameter 'pbm_uuid' is set
|
|
2092
|
+
if @api_client.config.client_side_validation && pbm_uuid.nil?
|
|
2093
|
+
fail ArgumentError, "Missing the required parameter 'pbm_uuid' when calling EndpointsApi.endpoints_device_access_groups_retrieve"
|
|
2094
|
+
end
|
|
2095
|
+
# resource path
|
|
2096
|
+
local_var_path = '/endpoints/device_access_groups/{pbm_uuid}/'.sub('{' + 'pbm_uuid' + '}', CGI.escape(pbm_uuid.to_s))
|
|
2097
|
+
|
|
2098
|
+
# query parameters
|
|
2099
|
+
query_params = opts[:query_params] || {}
|
|
2100
|
+
|
|
2101
|
+
# header parameters
|
|
2102
|
+
header_params = opts[:header_params] || {}
|
|
2103
|
+
# HTTP header 'Accept' (if needed)
|
|
2104
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
2105
|
+
|
|
2106
|
+
# form parameters
|
|
2107
|
+
form_params = opts[:form_params] || {}
|
|
2108
|
+
|
|
2109
|
+
# http body (model)
|
|
2110
|
+
post_body = opts[:debug_body]
|
|
2111
|
+
|
|
2112
|
+
# return_type
|
|
2113
|
+
return_type = opts[:debug_return_type] || 'DeviceAccessGroup'
|
|
2114
|
+
|
|
2115
|
+
# auth_names
|
|
2116
|
+
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
2117
|
+
|
|
2118
|
+
new_options = opts.merge(
|
|
2119
|
+
:operation => :"EndpointsApi.endpoints_device_access_groups_retrieve",
|
|
2120
|
+
:header_params => header_params,
|
|
2121
|
+
:query_params => query_params,
|
|
2122
|
+
:form_params => form_params,
|
|
2123
|
+
:body => post_body,
|
|
2124
|
+
:auth_names => auth_names,
|
|
2125
|
+
:return_type => return_type
|
|
2126
|
+
)
|
|
2127
|
+
|
|
2128
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
2129
|
+
if @api_client.config.debugging
|
|
2130
|
+
@api_client.config.logger.debug "API called: EndpointsApi#endpoints_device_access_groups_retrieve\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2131
|
+
end
|
|
2132
|
+
return data, status_code, headers
|
|
2133
|
+
end
|
|
2134
|
+
|
|
2135
|
+
# DeviceAccessGroup Viewset
|
|
2136
|
+
# @param pbm_uuid [String] A UUID string identifying this Device access group.
|
|
2137
|
+
# @param device_access_group_request [DeviceAccessGroupRequest]
|
|
2138
|
+
# @param [Hash] opts the optional parameters
|
|
2139
|
+
# @return [DeviceAccessGroup]
|
|
2140
|
+
def endpoints_device_access_groups_update(pbm_uuid, device_access_group_request, opts = {})
|
|
2141
|
+
data, _status_code, _headers = endpoints_device_access_groups_update_with_http_info(pbm_uuid, device_access_group_request, opts)
|
|
2142
|
+
data
|
|
2143
|
+
end
|
|
2144
|
+
|
|
2145
|
+
# DeviceAccessGroup Viewset
|
|
2146
|
+
# @param pbm_uuid [String] A UUID string identifying this Device access group.
|
|
2147
|
+
# @param device_access_group_request [DeviceAccessGroupRequest]
|
|
2148
|
+
# @param [Hash] opts the optional parameters
|
|
2149
|
+
# @return [Array<(DeviceAccessGroup, Integer, Hash)>] DeviceAccessGroup data, response status code and response headers
|
|
2150
|
+
def endpoints_device_access_groups_update_with_http_info(pbm_uuid, device_access_group_request, opts = {})
|
|
2151
|
+
if @api_client.config.debugging
|
|
2152
|
+
@api_client.config.logger.debug 'Calling API: EndpointsApi.endpoints_device_access_groups_update ...'
|
|
2153
|
+
end
|
|
2154
|
+
# verify the required parameter 'pbm_uuid' is set
|
|
2155
|
+
if @api_client.config.client_side_validation && pbm_uuid.nil?
|
|
2156
|
+
fail ArgumentError, "Missing the required parameter 'pbm_uuid' when calling EndpointsApi.endpoints_device_access_groups_update"
|
|
2157
|
+
end
|
|
2158
|
+
# verify the required parameter 'device_access_group_request' is set
|
|
2159
|
+
if @api_client.config.client_side_validation && device_access_group_request.nil?
|
|
2160
|
+
fail ArgumentError, "Missing the required parameter 'device_access_group_request' when calling EndpointsApi.endpoints_device_access_groups_update"
|
|
2161
|
+
end
|
|
2162
|
+
# resource path
|
|
2163
|
+
local_var_path = '/endpoints/device_access_groups/{pbm_uuid}/'.sub('{' + 'pbm_uuid' + '}', CGI.escape(pbm_uuid.to_s))
|
|
2164
|
+
|
|
2165
|
+
# query parameters
|
|
2166
|
+
query_params = opts[:query_params] || {}
|
|
2167
|
+
|
|
2168
|
+
# header parameters
|
|
2169
|
+
header_params = opts[:header_params] || {}
|
|
2170
|
+
# HTTP header 'Accept' (if needed)
|
|
2171
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
2172
|
+
# HTTP header 'Content-Type'
|
|
2173
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
2174
|
+
if !content_type.nil?
|
|
2175
|
+
header_params['Content-Type'] = content_type
|
|
2176
|
+
end
|
|
2177
|
+
|
|
2178
|
+
# form parameters
|
|
2179
|
+
form_params = opts[:form_params] || {}
|
|
2180
|
+
|
|
2181
|
+
# http body (model)
|
|
2182
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(device_access_group_request)
|
|
2183
|
+
|
|
2184
|
+
# return_type
|
|
2185
|
+
return_type = opts[:debug_return_type] || 'DeviceAccessGroup'
|
|
2186
|
+
|
|
2187
|
+
# auth_names
|
|
2188
|
+
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
2189
|
+
|
|
2190
|
+
new_options = opts.merge(
|
|
2191
|
+
:operation => :"EndpointsApi.endpoints_device_access_groups_update",
|
|
2192
|
+
:header_params => header_params,
|
|
2193
|
+
:query_params => query_params,
|
|
2194
|
+
:form_params => form_params,
|
|
2195
|
+
:body => post_body,
|
|
2196
|
+
:auth_names => auth_names,
|
|
2197
|
+
:return_type => return_type
|
|
2198
|
+
)
|
|
2199
|
+
|
|
2200
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
2201
|
+
if @api_client.config.debugging
|
|
2202
|
+
@api_client.config.logger.debug "API called: EndpointsApi#endpoints_device_access_groups_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2203
|
+
end
|
|
2204
|
+
return data, status_code, headers
|
|
2205
|
+
end
|
|
2206
|
+
|
|
2207
|
+
# Get a list of all objects that use this object
|
|
2208
|
+
# @param pbm_uuid [String] A UUID string identifying this Device access group.
|
|
2209
|
+
# @param [Hash] opts the optional parameters
|
|
2210
|
+
# @return [Array<UsedBy>]
|
|
2211
|
+
def endpoints_device_access_groups_used_by_list(pbm_uuid, opts = {})
|
|
2212
|
+
data, _status_code, _headers = endpoints_device_access_groups_used_by_list_with_http_info(pbm_uuid, opts)
|
|
2213
|
+
data
|
|
2214
|
+
end
|
|
2215
|
+
|
|
2216
|
+
# Get a list of all objects that use this object
|
|
2217
|
+
# @param pbm_uuid [String] A UUID string identifying this Device access group.
|
|
2218
|
+
# @param [Hash] opts the optional parameters
|
|
2219
|
+
# @return [Array<(Array<UsedBy>, Integer, Hash)>] Array<UsedBy> data, response status code and response headers
|
|
2220
|
+
def endpoints_device_access_groups_used_by_list_with_http_info(pbm_uuid, opts = {})
|
|
2221
|
+
if @api_client.config.debugging
|
|
2222
|
+
@api_client.config.logger.debug 'Calling API: EndpointsApi.endpoints_device_access_groups_used_by_list ...'
|
|
2223
|
+
end
|
|
2224
|
+
# verify the required parameter 'pbm_uuid' is set
|
|
2225
|
+
if @api_client.config.client_side_validation && pbm_uuid.nil?
|
|
2226
|
+
fail ArgumentError, "Missing the required parameter 'pbm_uuid' when calling EndpointsApi.endpoints_device_access_groups_used_by_list"
|
|
2227
|
+
end
|
|
2228
|
+
# resource path
|
|
2229
|
+
local_var_path = '/endpoints/device_access_groups/{pbm_uuid}/used_by/'.sub('{' + 'pbm_uuid' + '}', CGI.escape(pbm_uuid.to_s))
|
|
2230
|
+
|
|
2231
|
+
# query parameters
|
|
2232
|
+
query_params = opts[:query_params] || {}
|
|
2233
|
+
|
|
2234
|
+
# header parameters
|
|
2235
|
+
header_params = opts[:header_params] || {}
|
|
2236
|
+
# HTTP header 'Accept' (if needed)
|
|
2237
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
2238
|
+
|
|
2239
|
+
# form parameters
|
|
2240
|
+
form_params = opts[:form_params] || {}
|
|
2241
|
+
|
|
2242
|
+
# http body (model)
|
|
2243
|
+
post_body = opts[:debug_body]
|
|
2244
|
+
|
|
2245
|
+
# return_type
|
|
2246
|
+
return_type = opts[:debug_return_type] || 'Array<UsedBy>'
|
|
2247
|
+
|
|
2248
|
+
# auth_names
|
|
2249
|
+
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
2250
|
+
|
|
2251
|
+
new_options = opts.merge(
|
|
2252
|
+
:operation => :"EndpointsApi.endpoints_device_access_groups_used_by_list",
|
|
2253
|
+
:header_params => header_params,
|
|
2254
|
+
:query_params => query_params,
|
|
2255
|
+
:form_params => form_params,
|
|
2256
|
+
:body => post_body,
|
|
2257
|
+
:auth_names => auth_names,
|
|
2258
|
+
:return_type => return_type
|
|
2259
|
+
)
|
|
2260
|
+
|
|
2261
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
2262
|
+
if @api_client.config.debugging
|
|
2263
|
+
@api_client.config.logger.debug "API called: EndpointsApi#endpoints_device_access_groups_used_by_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2264
|
+
end
|
|
2265
|
+
return data, status_code, headers
|
|
2266
|
+
end
|
|
2267
|
+
|
|
2268
|
+
# PolicyBinding Viewset
|
|
2269
|
+
# @param device_user_binding_request [DeviceUserBindingRequest]
|
|
2270
|
+
# @param [Hash] opts the optional parameters
|
|
2271
|
+
# @return [DeviceUserBinding]
|
|
2272
|
+
def endpoints_device_bindings_create(device_user_binding_request, opts = {})
|
|
2273
|
+
data, _status_code, _headers = endpoints_device_bindings_create_with_http_info(device_user_binding_request, opts)
|
|
2274
|
+
data
|
|
2275
|
+
end
|
|
2276
|
+
|
|
2277
|
+
# PolicyBinding Viewset
|
|
2278
|
+
# @param device_user_binding_request [DeviceUserBindingRequest]
|
|
2279
|
+
# @param [Hash] opts the optional parameters
|
|
2280
|
+
# @return [Array<(DeviceUserBinding, Integer, Hash)>] DeviceUserBinding data, response status code and response headers
|
|
2281
|
+
def endpoints_device_bindings_create_with_http_info(device_user_binding_request, opts = {})
|
|
2282
|
+
if @api_client.config.debugging
|
|
2283
|
+
@api_client.config.logger.debug 'Calling API: EndpointsApi.endpoints_device_bindings_create ...'
|
|
2284
|
+
end
|
|
2285
|
+
# verify the required parameter 'device_user_binding_request' is set
|
|
2286
|
+
if @api_client.config.client_side_validation && device_user_binding_request.nil?
|
|
2287
|
+
fail ArgumentError, "Missing the required parameter 'device_user_binding_request' when calling EndpointsApi.endpoints_device_bindings_create"
|
|
2288
|
+
end
|
|
2289
|
+
# resource path
|
|
2290
|
+
local_var_path = '/endpoints/device_bindings/'
|
|
2291
|
+
|
|
2292
|
+
# query parameters
|
|
2293
|
+
query_params = opts[:query_params] || {}
|
|
2294
|
+
|
|
2295
|
+
# header parameters
|
|
2296
|
+
header_params = opts[:header_params] || {}
|
|
2297
|
+
# HTTP header 'Accept' (if needed)
|
|
2298
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
2299
|
+
# HTTP header 'Content-Type'
|
|
2300
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
2301
|
+
if !content_type.nil?
|
|
2302
|
+
header_params['Content-Type'] = content_type
|
|
2303
|
+
end
|
|
2304
|
+
|
|
2305
|
+
# form parameters
|
|
2306
|
+
form_params = opts[:form_params] || {}
|
|
2307
|
+
|
|
2308
|
+
# http body (model)
|
|
2309
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(device_user_binding_request)
|
|
2310
|
+
|
|
2311
|
+
# return_type
|
|
2312
|
+
return_type = opts[:debug_return_type] || 'DeviceUserBinding'
|
|
2313
|
+
|
|
2314
|
+
# auth_names
|
|
2315
|
+
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
2316
|
+
|
|
2317
|
+
new_options = opts.merge(
|
|
2318
|
+
:operation => :"EndpointsApi.endpoints_device_bindings_create",
|
|
2319
|
+
:header_params => header_params,
|
|
2320
|
+
:query_params => query_params,
|
|
2321
|
+
:form_params => form_params,
|
|
2322
|
+
:body => post_body,
|
|
2323
|
+
:auth_names => auth_names,
|
|
2324
|
+
:return_type => return_type
|
|
2325
|
+
)
|
|
2326
|
+
|
|
2327
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
2328
|
+
if @api_client.config.debugging
|
|
2329
|
+
@api_client.config.logger.debug "API called: EndpointsApi#endpoints_device_bindings_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2330
|
+
end
|
|
2331
|
+
return data, status_code, headers
|
|
2332
|
+
end
|
|
2333
|
+
|
|
2334
|
+
# PolicyBinding Viewset
|
|
2335
|
+
# @param policy_binding_uuid [String] A UUID string identifying this Device User binding.
|
|
2336
|
+
# @param [Hash] opts the optional parameters
|
|
2337
|
+
# @return [nil]
|
|
2338
|
+
def endpoints_device_bindings_destroy(policy_binding_uuid, opts = {})
|
|
2339
|
+
endpoints_device_bindings_destroy_with_http_info(policy_binding_uuid, opts)
|
|
2340
|
+
nil
|
|
2341
|
+
end
|
|
2342
|
+
|
|
2343
|
+
# PolicyBinding Viewset
|
|
2344
|
+
# @param policy_binding_uuid [String] A UUID string identifying this Device User binding.
|
|
2345
|
+
# @param [Hash] opts the optional parameters
|
|
2346
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
2347
|
+
def endpoints_device_bindings_destroy_with_http_info(policy_binding_uuid, opts = {})
|
|
2348
|
+
if @api_client.config.debugging
|
|
2349
|
+
@api_client.config.logger.debug 'Calling API: EndpointsApi.endpoints_device_bindings_destroy ...'
|
|
2350
|
+
end
|
|
2351
|
+
# verify the required parameter 'policy_binding_uuid' is set
|
|
2352
|
+
if @api_client.config.client_side_validation && policy_binding_uuid.nil?
|
|
2353
|
+
fail ArgumentError, "Missing the required parameter 'policy_binding_uuid' when calling EndpointsApi.endpoints_device_bindings_destroy"
|
|
2354
|
+
end
|
|
2355
|
+
# resource path
|
|
2356
|
+
local_var_path = '/endpoints/device_bindings/{policy_binding_uuid}/'.sub('{' + 'policy_binding_uuid' + '}', CGI.escape(policy_binding_uuid.to_s))
|
|
2357
|
+
|
|
2358
|
+
# query parameters
|
|
2359
|
+
query_params = opts[:query_params] || {}
|
|
2360
|
+
|
|
2361
|
+
# header parameters
|
|
2362
|
+
header_params = opts[:header_params] || {}
|
|
2363
|
+
# HTTP header 'Accept' (if needed)
|
|
2364
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
2365
|
+
|
|
2366
|
+
# form parameters
|
|
2367
|
+
form_params = opts[:form_params] || {}
|
|
2368
|
+
|
|
2369
|
+
# http body (model)
|
|
2370
|
+
post_body = opts[:debug_body]
|
|
2371
|
+
|
|
2372
|
+
# return_type
|
|
2373
|
+
return_type = opts[:debug_return_type]
|
|
2374
|
+
|
|
2375
|
+
# auth_names
|
|
2376
|
+
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
2377
|
+
|
|
2378
|
+
new_options = opts.merge(
|
|
2379
|
+
:operation => :"EndpointsApi.endpoints_device_bindings_destroy",
|
|
2380
|
+
:header_params => header_params,
|
|
2381
|
+
:query_params => query_params,
|
|
2382
|
+
:form_params => form_params,
|
|
2383
|
+
:body => post_body,
|
|
2384
|
+
:auth_names => auth_names,
|
|
2385
|
+
:return_type => return_type
|
|
2386
|
+
)
|
|
2387
|
+
|
|
2388
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
|
2389
|
+
if @api_client.config.debugging
|
|
2390
|
+
@api_client.config.logger.debug "API called: EndpointsApi#endpoints_device_bindings_destroy\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2391
|
+
end
|
|
2392
|
+
return data, status_code, headers
|
|
2393
|
+
end
|
|
2394
|
+
|
|
2395
|
+
# PolicyBinding Viewset
|
|
2396
|
+
# @param [Hash] opts the optional parameters
|
|
2397
|
+
# @option opts [Boolean] :enabled
|
|
2398
|
+
# @option opts [Integer] :order
|
|
2399
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
2400
|
+
# @option opts [Integer] :page A page number within the paginated result set.
|
|
2401
|
+
# @option opts [Integer] :page_size Number of results to return per page.
|
|
2402
|
+
# @option opts [String] :policy
|
|
2403
|
+
# @option opts [Boolean] :policy__isnull
|
|
2404
|
+
# @option opts [String] :search A search term.
|
|
2405
|
+
# @option opts [String] :target
|
|
2406
|
+
# @option opts [Array<String>] :target_in
|
|
2407
|
+
# @option opts [Integer] :timeout
|
|
2408
|
+
# @return [PaginatedDeviceUserBindingList]
|
|
2409
|
+
def endpoints_device_bindings_list(opts = {})
|
|
2410
|
+
data, _status_code, _headers = endpoints_device_bindings_list_with_http_info(opts)
|
|
2411
|
+
data
|
|
2412
|
+
end
|
|
2413
|
+
|
|
2414
|
+
# PolicyBinding Viewset
|
|
2415
|
+
# @param [Hash] opts the optional parameters
|
|
2416
|
+
# @option opts [Boolean] :enabled
|
|
2417
|
+
# @option opts [Integer] :order
|
|
2418
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
2419
|
+
# @option opts [Integer] :page A page number within the paginated result set.
|
|
2420
|
+
# @option opts [Integer] :page_size Number of results to return per page.
|
|
2421
|
+
# @option opts [String] :policy
|
|
2422
|
+
# @option opts [Boolean] :policy__isnull
|
|
2423
|
+
# @option opts [String] :search A search term.
|
|
2424
|
+
# @option opts [String] :target
|
|
2425
|
+
# @option opts [Array<String>] :target_in
|
|
2426
|
+
# @option opts [Integer] :timeout
|
|
2427
|
+
# @return [Array<(PaginatedDeviceUserBindingList, Integer, Hash)>] PaginatedDeviceUserBindingList data, response status code and response headers
|
|
2428
|
+
def endpoints_device_bindings_list_with_http_info(opts = {})
|
|
2429
|
+
if @api_client.config.debugging
|
|
2430
|
+
@api_client.config.logger.debug 'Calling API: EndpointsApi.endpoints_device_bindings_list ...'
|
|
2431
|
+
end
|
|
2432
|
+
# resource path
|
|
2433
|
+
local_var_path = '/endpoints/device_bindings/'
|
|
2434
|
+
|
|
2435
|
+
# query parameters
|
|
2436
|
+
query_params = opts[:query_params] || {}
|
|
2437
|
+
query_params[:'enabled'] = opts[:'enabled'] if !opts[:'enabled'].nil?
|
|
2438
|
+
query_params[:'order'] = opts[:'order'] if !opts[:'order'].nil?
|
|
2439
|
+
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
|
2440
|
+
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
|
2441
|
+
query_params[:'page_size'] = opts[:'page_size'] if !opts[:'page_size'].nil?
|
|
2442
|
+
query_params[:'policy'] = opts[:'policy'] if !opts[:'policy'].nil?
|
|
2443
|
+
query_params[:'policy__isnull'] = opts[:'policy__isnull'] if !opts[:'policy__isnull'].nil?
|
|
2444
|
+
query_params[:'search'] = opts[:'search'] if !opts[:'search'].nil?
|
|
2445
|
+
query_params[:'target'] = opts[:'target'] if !opts[:'target'].nil?
|
|
2446
|
+
query_params[:'target_in'] = @api_client.build_collection_param(opts[:'target_in'], :multi) if !opts[:'target_in'].nil?
|
|
2447
|
+
query_params[:'timeout'] = opts[:'timeout'] if !opts[:'timeout'].nil?
|
|
2448
|
+
|
|
2449
|
+
# header parameters
|
|
2450
|
+
header_params = opts[:header_params] || {}
|
|
2451
|
+
# HTTP header 'Accept' (if needed)
|
|
2452
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
2453
|
+
|
|
2454
|
+
# form parameters
|
|
2455
|
+
form_params = opts[:form_params] || {}
|
|
2456
|
+
|
|
2457
|
+
# http body (model)
|
|
2458
|
+
post_body = opts[:debug_body]
|
|
2459
|
+
|
|
2460
|
+
# return_type
|
|
2461
|
+
return_type = opts[:debug_return_type] || 'PaginatedDeviceUserBindingList'
|
|
2462
|
+
|
|
2463
|
+
# auth_names
|
|
2464
|
+
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
2465
|
+
|
|
2466
|
+
new_options = opts.merge(
|
|
2467
|
+
:operation => :"EndpointsApi.endpoints_device_bindings_list",
|
|
2468
|
+
:header_params => header_params,
|
|
2469
|
+
:query_params => query_params,
|
|
2470
|
+
:form_params => form_params,
|
|
2471
|
+
:body => post_body,
|
|
2472
|
+
:auth_names => auth_names,
|
|
2473
|
+
:return_type => return_type
|
|
2474
|
+
)
|
|
2475
|
+
|
|
2476
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
2477
|
+
if @api_client.config.debugging
|
|
2478
|
+
@api_client.config.logger.debug "API called: EndpointsApi#endpoints_device_bindings_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2479
|
+
end
|
|
2480
|
+
return data, status_code, headers
|
|
2481
|
+
end
|
|
2482
|
+
|
|
2483
|
+
# PolicyBinding Viewset
|
|
2484
|
+
# @param policy_binding_uuid [String] A UUID string identifying this Device User binding.
|
|
2485
|
+
# @param [Hash] opts the optional parameters
|
|
2486
|
+
# @option opts [PatchedDeviceUserBindingRequest] :patched_device_user_binding_request
|
|
2487
|
+
# @return [DeviceUserBinding]
|
|
2488
|
+
def endpoints_device_bindings_partial_update(policy_binding_uuid, opts = {})
|
|
2489
|
+
data, _status_code, _headers = endpoints_device_bindings_partial_update_with_http_info(policy_binding_uuid, opts)
|
|
2490
|
+
data
|
|
2491
|
+
end
|
|
2492
|
+
|
|
2493
|
+
# PolicyBinding Viewset
|
|
2494
|
+
# @param policy_binding_uuid [String] A UUID string identifying this Device User binding.
|
|
2495
|
+
# @param [Hash] opts the optional parameters
|
|
2496
|
+
# @option opts [PatchedDeviceUserBindingRequest] :patched_device_user_binding_request
|
|
2497
|
+
# @return [Array<(DeviceUserBinding, Integer, Hash)>] DeviceUserBinding data, response status code and response headers
|
|
2498
|
+
def endpoints_device_bindings_partial_update_with_http_info(policy_binding_uuid, opts = {})
|
|
2499
|
+
if @api_client.config.debugging
|
|
2500
|
+
@api_client.config.logger.debug 'Calling API: EndpointsApi.endpoints_device_bindings_partial_update ...'
|
|
2501
|
+
end
|
|
2502
|
+
# verify the required parameter 'policy_binding_uuid' is set
|
|
2503
|
+
if @api_client.config.client_side_validation && policy_binding_uuid.nil?
|
|
2504
|
+
fail ArgumentError, "Missing the required parameter 'policy_binding_uuid' when calling EndpointsApi.endpoints_device_bindings_partial_update"
|
|
2505
|
+
end
|
|
2506
|
+
# resource path
|
|
2507
|
+
local_var_path = '/endpoints/device_bindings/{policy_binding_uuid}/'.sub('{' + 'policy_binding_uuid' + '}', CGI.escape(policy_binding_uuid.to_s))
|
|
2508
|
+
|
|
2509
|
+
# query parameters
|
|
2510
|
+
query_params = opts[:query_params] || {}
|
|
2511
|
+
|
|
2512
|
+
# header parameters
|
|
2513
|
+
header_params = opts[:header_params] || {}
|
|
2514
|
+
# HTTP header 'Accept' (if needed)
|
|
2515
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
2516
|
+
# HTTP header 'Content-Type'
|
|
2517
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
2518
|
+
if !content_type.nil?
|
|
2519
|
+
header_params['Content-Type'] = content_type
|
|
2520
|
+
end
|
|
2521
|
+
|
|
2522
|
+
# form parameters
|
|
2523
|
+
form_params = opts[:form_params] || {}
|
|
2524
|
+
|
|
2525
|
+
# http body (model)
|
|
2526
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'patched_device_user_binding_request'])
|
|
2527
|
+
|
|
2528
|
+
# return_type
|
|
2529
|
+
return_type = opts[:debug_return_type] || 'DeviceUserBinding'
|
|
2530
|
+
|
|
2531
|
+
# auth_names
|
|
2532
|
+
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
2533
|
+
|
|
2534
|
+
new_options = opts.merge(
|
|
2535
|
+
:operation => :"EndpointsApi.endpoints_device_bindings_partial_update",
|
|
2536
|
+
:header_params => header_params,
|
|
2537
|
+
:query_params => query_params,
|
|
2538
|
+
:form_params => form_params,
|
|
2539
|
+
:body => post_body,
|
|
2540
|
+
:auth_names => auth_names,
|
|
2541
|
+
:return_type => return_type
|
|
2542
|
+
)
|
|
2543
|
+
|
|
2544
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
|
|
2545
|
+
if @api_client.config.debugging
|
|
2546
|
+
@api_client.config.logger.debug "API called: EndpointsApi#endpoints_device_bindings_partial_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2547
|
+
end
|
|
2548
|
+
return data, status_code, headers
|
|
2549
|
+
end
|
|
2550
|
+
|
|
2551
|
+
# PolicyBinding Viewset
|
|
2552
|
+
# @param policy_binding_uuid [String] A UUID string identifying this Device User binding.
|
|
2553
|
+
# @param [Hash] opts the optional parameters
|
|
2554
|
+
# @return [DeviceUserBinding]
|
|
2555
|
+
def endpoints_device_bindings_retrieve(policy_binding_uuid, opts = {})
|
|
2556
|
+
data, _status_code, _headers = endpoints_device_bindings_retrieve_with_http_info(policy_binding_uuid, opts)
|
|
2557
|
+
data
|
|
2558
|
+
end
|
|
2559
|
+
|
|
2560
|
+
# PolicyBinding Viewset
|
|
2561
|
+
# @param policy_binding_uuid [String] A UUID string identifying this Device User binding.
|
|
2562
|
+
# @param [Hash] opts the optional parameters
|
|
2563
|
+
# @return [Array<(DeviceUserBinding, Integer, Hash)>] DeviceUserBinding data, response status code and response headers
|
|
2564
|
+
def endpoints_device_bindings_retrieve_with_http_info(policy_binding_uuid, opts = {})
|
|
2565
|
+
if @api_client.config.debugging
|
|
2566
|
+
@api_client.config.logger.debug 'Calling API: EndpointsApi.endpoints_device_bindings_retrieve ...'
|
|
2567
|
+
end
|
|
2568
|
+
# verify the required parameter 'policy_binding_uuid' is set
|
|
2569
|
+
if @api_client.config.client_side_validation && policy_binding_uuid.nil?
|
|
2570
|
+
fail ArgumentError, "Missing the required parameter 'policy_binding_uuid' when calling EndpointsApi.endpoints_device_bindings_retrieve"
|
|
2571
|
+
end
|
|
2572
|
+
# resource path
|
|
2573
|
+
local_var_path = '/endpoints/device_bindings/{policy_binding_uuid}/'.sub('{' + 'policy_binding_uuid' + '}', CGI.escape(policy_binding_uuid.to_s))
|
|
2574
|
+
|
|
2575
|
+
# query parameters
|
|
2576
|
+
query_params = opts[:query_params] || {}
|
|
2577
|
+
|
|
2578
|
+
# header parameters
|
|
2579
|
+
header_params = opts[:header_params] || {}
|
|
2580
|
+
# HTTP header 'Accept' (if needed)
|
|
2581
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
2582
|
+
|
|
2583
|
+
# form parameters
|
|
2584
|
+
form_params = opts[:form_params] || {}
|
|
2585
|
+
|
|
2586
|
+
# http body (model)
|
|
2587
|
+
post_body = opts[:debug_body]
|
|
2588
|
+
|
|
2589
|
+
# return_type
|
|
2590
|
+
return_type = opts[:debug_return_type] || 'DeviceUserBinding'
|
|
2591
|
+
|
|
2592
|
+
# auth_names
|
|
2593
|
+
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
2594
|
+
|
|
2595
|
+
new_options = opts.merge(
|
|
2596
|
+
:operation => :"EndpointsApi.endpoints_device_bindings_retrieve",
|
|
2597
|
+
:header_params => header_params,
|
|
2598
|
+
:query_params => query_params,
|
|
2599
|
+
:form_params => form_params,
|
|
2600
|
+
:body => post_body,
|
|
2601
|
+
:auth_names => auth_names,
|
|
2602
|
+
:return_type => return_type
|
|
2603
|
+
)
|
|
2604
|
+
|
|
2605
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
2606
|
+
if @api_client.config.debugging
|
|
2607
|
+
@api_client.config.logger.debug "API called: EndpointsApi#endpoints_device_bindings_retrieve\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2608
|
+
end
|
|
2609
|
+
return data, status_code, headers
|
|
2610
|
+
end
|
|
2611
|
+
|
|
2612
|
+
# PolicyBinding Viewset
|
|
2613
|
+
# @param policy_binding_uuid [String] A UUID string identifying this Device User binding.
|
|
2614
|
+
# @param device_user_binding_request [DeviceUserBindingRequest]
|
|
2615
|
+
# @param [Hash] opts the optional parameters
|
|
2616
|
+
# @return [DeviceUserBinding]
|
|
2617
|
+
def endpoints_device_bindings_update(policy_binding_uuid, device_user_binding_request, opts = {})
|
|
2618
|
+
data, _status_code, _headers = endpoints_device_bindings_update_with_http_info(policy_binding_uuid, device_user_binding_request, opts)
|
|
2619
|
+
data
|
|
2620
|
+
end
|
|
2621
|
+
|
|
2622
|
+
# PolicyBinding Viewset
|
|
2623
|
+
# @param policy_binding_uuid [String] A UUID string identifying this Device User binding.
|
|
2624
|
+
# @param device_user_binding_request [DeviceUserBindingRequest]
|
|
2625
|
+
# @param [Hash] opts the optional parameters
|
|
2626
|
+
# @return [Array<(DeviceUserBinding, Integer, Hash)>] DeviceUserBinding data, response status code and response headers
|
|
2627
|
+
def endpoints_device_bindings_update_with_http_info(policy_binding_uuid, device_user_binding_request, opts = {})
|
|
2628
|
+
if @api_client.config.debugging
|
|
2629
|
+
@api_client.config.logger.debug 'Calling API: EndpointsApi.endpoints_device_bindings_update ...'
|
|
2630
|
+
end
|
|
2631
|
+
# verify the required parameter 'policy_binding_uuid' is set
|
|
2632
|
+
if @api_client.config.client_side_validation && policy_binding_uuid.nil?
|
|
2633
|
+
fail ArgumentError, "Missing the required parameter 'policy_binding_uuid' when calling EndpointsApi.endpoints_device_bindings_update"
|
|
2634
|
+
end
|
|
2635
|
+
# verify the required parameter 'device_user_binding_request' is set
|
|
2636
|
+
if @api_client.config.client_side_validation && device_user_binding_request.nil?
|
|
2637
|
+
fail ArgumentError, "Missing the required parameter 'device_user_binding_request' when calling EndpointsApi.endpoints_device_bindings_update"
|
|
2638
|
+
end
|
|
2639
|
+
# resource path
|
|
2640
|
+
local_var_path = '/endpoints/device_bindings/{policy_binding_uuid}/'.sub('{' + 'policy_binding_uuid' + '}', CGI.escape(policy_binding_uuid.to_s))
|
|
2641
|
+
|
|
2642
|
+
# query parameters
|
|
2643
|
+
query_params = opts[:query_params] || {}
|
|
2644
|
+
|
|
2645
|
+
# header parameters
|
|
2646
|
+
header_params = opts[:header_params] || {}
|
|
2647
|
+
# HTTP header 'Accept' (if needed)
|
|
2648
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
2649
|
+
# HTTP header 'Content-Type'
|
|
2650
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
2651
|
+
if !content_type.nil?
|
|
2652
|
+
header_params['Content-Type'] = content_type
|
|
2653
|
+
end
|
|
2654
|
+
|
|
2655
|
+
# form parameters
|
|
2656
|
+
form_params = opts[:form_params] || {}
|
|
2657
|
+
|
|
2658
|
+
# http body (model)
|
|
2659
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(device_user_binding_request)
|
|
2660
|
+
|
|
2661
|
+
# return_type
|
|
2662
|
+
return_type = opts[:debug_return_type] || 'DeviceUserBinding'
|
|
2663
|
+
|
|
2664
|
+
# auth_names
|
|
2665
|
+
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
2666
|
+
|
|
2667
|
+
new_options = opts.merge(
|
|
2668
|
+
:operation => :"EndpointsApi.endpoints_device_bindings_update",
|
|
2669
|
+
:header_params => header_params,
|
|
2670
|
+
:query_params => query_params,
|
|
2671
|
+
:form_params => form_params,
|
|
2672
|
+
:body => post_body,
|
|
2673
|
+
:auth_names => auth_names,
|
|
2674
|
+
:return_type => return_type
|
|
2675
|
+
)
|
|
2676
|
+
|
|
2677
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
2678
|
+
if @api_client.config.debugging
|
|
2679
|
+
@api_client.config.logger.debug "API called: EndpointsApi#endpoints_device_bindings_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2680
|
+
end
|
|
2681
|
+
return data, status_code, headers
|
|
2682
|
+
end
|
|
2683
|
+
|
|
2684
|
+
# Get a list of all objects that use this object
|
|
2685
|
+
# @param policy_binding_uuid [String] A UUID string identifying this Device User binding.
|
|
2686
|
+
# @param [Hash] opts the optional parameters
|
|
2687
|
+
# @return [Array<UsedBy>]
|
|
2688
|
+
def endpoints_device_bindings_used_by_list(policy_binding_uuid, opts = {})
|
|
2689
|
+
data, _status_code, _headers = endpoints_device_bindings_used_by_list_with_http_info(policy_binding_uuid, opts)
|
|
2690
|
+
data
|
|
2691
|
+
end
|
|
2692
|
+
|
|
2693
|
+
# Get a list of all objects that use this object
|
|
2694
|
+
# @param policy_binding_uuid [String] A UUID string identifying this Device User binding.
|
|
2695
|
+
# @param [Hash] opts the optional parameters
|
|
2696
|
+
# @return [Array<(Array<UsedBy>, Integer, Hash)>] Array<UsedBy> data, response status code and response headers
|
|
2697
|
+
def endpoints_device_bindings_used_by_list_with_http_info(policy_binding_uuid, opts = {})
|
|
2698
|
+
if @api_client.config.debugging
|
|
2699
|
+
@api_client.config.logger.debug 'Calling API: EndpointsApi.endpoints_device_bindings_used_by_list ...'
|
|
2700
|
+
end
|
|
2701
|
+
# verify the required parameter 'policy_binding_uuid' is set
|
|
2702
|
+
if @api_client.config.client_side_validation && policy_binding_uuid.nil?
|
|
2703
|
+
fail ArgumentError, "Missing the required parameter 'policy_binding_uuid' when calling EndpointsApi.endpoints_device_bindings_used_by_list"
|
|
2704
|
+
end
|
|
2705
|
+
# resource path
|
|
2706
|
+
local_var_path = '/endpoints/device_bindings/{policy_binding_uuid}/used_by/'.sub('{' + 'policy_binding_uuid' + '}', CGI.escape(policy_binding_uuid.to_s))
|
|
2707
|
+
|
|
2708
|
+
# query parameters
|
|
2709
|
+
query_params = opts[:query_params] || {}
|
|
2710
|
+
|
|
2711
|
+
# header parameters
|
|
2712
|
+
header_params = opts[:header_params] || {}
|
|
2713
|
+
# HTTP header 'Accept' (if needed)
|
|
2714
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
2715
|
+
|
|
2716
|
+
# form parameters
|
|
2717
|
+
form_params = opts[:form_params] || {}
|
|
2718
|
+
|
|
2719
|
+
# http body (model)
|
|
2720
|
+
post_body = opts[:debug_body]
|
|
2721
|
+
|
|
2722
|
+
# return_type
|
|
2723
|
+
return_type = opts[:debug_return_type] || 'Array<UsedBy>'
|
|
2724
|
+
|
|
2725
|
+
# auth_names
|
|
2726
|
+
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
2727
|
+
|
|
2728
|
+
new_options = opts.merge(
|
|
2729
|
+
:operation => :"EndpointsApi.endpoints_device_bindings_used_by_list",
|
|
2730
|
+
:header_params => header_params,
|
|
2731
|
+
:query_params => query_params,
|
|
2732
|
+
:form_params => form_params,
|
|
2733
|
+
:body => post_body,
|
|
2734
|
+
:auth_names => auth_names,
|
|
2735
|
+
:return_type => return_type
|
|
2736
|
+
)
|
|
2737
|
+
|
|
2738
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
2739
|
+
if @api_client.config.debugging
|
|
2740
|
+
@api_client.config.logger.debug "API called: EndpointsApi#endpoints_device_bindings_used_by_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2741
|
+
end
|
|
2742
|
+
return data, status_code, headers
|
|
2743
|
+
end
|
|
2744
|
+
|
|
2745
|
+
# Mixin to add a used_by endpoint to return a list of all objects using this object
|
|
2746
|
+
# @param device_uuid [String] A UUID string identifying this Device.
|
|
2747
|
+
# @param [Hash] opts the optional parameters
|
|
2748
|
+
# @return [nil]
|
|
2749
|
+
def endpoints_devices_destroy(device_uuid, opts = {})
|
|
2750
|
+
endpoints_devices_destroy_with_http_info(device_uuid, opts)
|
|
2751
|
+
nil
|
|
2752
|
+
end
|
|
2753
|
+
|
|
2754
|
+
# Mixin to add a used_by endpoint to return a list of all objects using this object
|
|
2755
|
+
# @param device_uuid [String] A UUID string identifying this Device.
|
|
2756
|
+
# @param [Hash] opts the optional parameters
|
|
2757
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
2758
|
+
def endpoints_devices_destroy_with_http_info(device_uuid, opts = {})
|
|
2759
|
+
if @api_client.config.debugging
|
|
2760
|
+
@api_client.config.logger.debug 'Calling API: EndpointsApi.endpoints_devices_destroy ...'
|
|
2761
|
+
end
|
|
2762
|
+
# verify the required parameter 'device_uuid' is set
|
|
2763
|
+
if @api_client.config.client_side_validation && device_uuid.nil?
|
|
2764
|
+
fail ArgumentError, "Missing the required parameter 'device_uuid' when calling EndpointsApi.endpoints_devices_destroy"
|
|
2765
|
+
end
|
|
2766
|
+
# resource path
|
|
2767
|
+
local_var_path = '/endpoints/devices/{device_uuid}/'.sub('{' + 'device_uuid' + '}', CGI.escape(device_uuid.to_s))
|
|
2768
|
+
|
|
2769
|
+
# query parameters
|
|
2770
|
+
query_params = opts[:query_params] || {}
|
|
2771
|
+
|
|
2772
|
+
# header parameters
|
|
2773
|
+
header_params = opts[:header_params] || {}
|
|
2774
|
+
# HTTP header 'Accept' (if needed)
|
|
2775
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
2776
|
+
|
|
2777
|
+
# form parameters
|
|
2778
|
+
form_params = opts[:form_params] || {}
|
|
2779
|
+
|
|
2780
|
+
# http body (model)
|
|
2781
|
+
post_body = opts[:debug_body]
|
|
2782
|
+
|
|
2783
|
+
# return_type
|
|
2784
|
+
return_type = opts[:debug_return_type]
|
|
2785
|
+
|
|
2786
|
+
# auth_names
|
|
2787
|
+
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
2788
|
+
|
|
2789
|
+
new_options = opts.merge(
|
|
2790
|
+
:operation => :"EndpointsApi.endpoints_devices_destroy",
|
|
2791
|
+
:header_params => header_params,
|
|
2792
|
+
:query_params => query_params,
|
|
2793
|
+
:form_params => form_params,
|
|
2794
|
+
:body => post_body,
|
|
2795
|
+
:auth_names => auth_names,
|
|
2796
|
+
:return_type => return_type
|
|
2797
|
+
)
|
|
2798
|
+
|
|
2799
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
|
2800
|
+
if @api_client.config.debugging
|
|
2801
|
+
@api_client.config.logger.debug "API called: EndpointsApi#endpoints_devices_destroy\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2802
|
+
end
|
|
2803
|
+
return data, status_code, headers
|
|
2804
|
+
end
|
|
2805
|
+
|
|
2806
|
+
# Mixin to add a used_by endpoint to return a list of all objects using this object
|
|
2807
|
+
# @param [Hash] opts the optional parameters
|
|
2808
|
+
# @option opts [String] :identifier
|
|
2809
|
+
# @option opts [String] :name
|
|
2810
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
2811
|
+
# @option opts [Integer] :page A page number within the paginated result set.
|
|
2812
|
+
# @option opts [Integer] :page_size Number of results to return per page.
|
|
2813
|
+
# @option opts [String] :search A search term.
|
|
2814
|
+
# @return [PaginatedEndpointDeviceList]
|
|
2815
|
+
def endpoints_devices_list(opts = {})
|
|
2816
|
+
data, _status_code, _headers = endpoints_devices_list_with_http_info(opts)
|
|
2817
|
+
data
|
|
2818
|
+
end
|
|
2819
|
+
|
|
2820
|
+
# Mixin to add a used_by endpoint to return a list of all objects using this object
|
|
2821
|
+
# @param [Hash] opts the optional parameters
|
|
2822
|
+
# @option opts [String] :identifier
|
|
2823
|
+
# @option opts [String] :name
|
|
2824
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
2825
|
+
# @option opts [Integer] :page A page number within the paginated result set.
|
|
2826
|
+
# @option opts [Integer] :page_size Number of results to return per page.
|
|
2827
|
+
# @option opts [String] :search A search term.
|
|
2828
|
+
# @return [Array<(PaginatedEndpointDeviceList, Integer, Hash)>] PaginatedEndpointDeviceList data, response status code and response headers
|
|
2829
|
+
def endpoints_devices_list_with_http_info(opts = {})
|
|
2830
|
+
if @api_client.config.debugging
|
|
2831
|
+
@api_client.config.logger.debug 'Calling API: EndpointsApi.endpoints_devices_list ...'
|
|
2832
|
+
end
|
|
2833
|
+
# resource path
|
|
2834
|
+
local_var_path = '/endpoints/devices/'
|
|
2835
|
+
|
|
2836
|
+
# query parameters
|
|
2837
|
+
query_params = opts[:query_params] || {}
|
|
2838
|
+
query_params[:'identifier'] = opts[:'identifier'] if !opts[:'identifier'].nil?
|
|
2839
|
+
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
|
2840
|
+
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
|
2841
|
+
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
|
2842
|
+
query_params[:'page_size'] = opts[:'page_size'] if !opts[:'page_size'].nil?
|
|
2843
|
+
query_params[:'search'] = opts[:'search'] if !opts[:'search'].nil?
|
|
2844
|
+
|
|
2845
|
+
# header parameters
|
|
2846
|
+
header_params = opts[:header_params] || {}
|
|
2847
|
+
# HTTP header 'Accept' (if needed)
|
|
2848
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
2849
|
+
|
|
2850
|
+
# form parameters
|
|
2851
|
+
form_params = opts[:form_params] || {}
|
|
2852
|
+
|
|
2853
|
+
# http body (model)
|
|
2854
|
+
post_body = opts[:debug_body]
|
|
2855
|
+
|
|
2856
|
+
# return_type
|
|
2857
|
+
return_type = opts[:debug_return_type] || 'PaginatedEndpointDeviceList'
|
|
2858
|
+
|
|
2859
|
+
# auth_names
|
|
2860
|
+
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
2861
|
+
|
|
2862
|
+
new_options = opts.merge(
|
|
2863
|
+
:operation => :"EndpointsApi.endpoints_devices_list",
|
|
2864
|
+
:header_params => header_params,
|
|
2865
|
+
:query_params => query_params,
|
|
2866
|
+
:form_params => form_params,
|
|
2867
|
+
:body => post_body,
|
|
2868
|
+
:auth_names => auth_names,
|
|
2869
|
+
:return_type => return_type
|
|
2870
|
+
)
|
|
2871
|
+
|
|
2872
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
2873
|
+
if @api_client.config.debugging
|
|
2874
|
+
@api_client.config.logger.debug "API called: EndpointsApi#endpoints_devices_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2875
|
+
end
|
|
2876
|
+
return data, status_code, headers
|
|
2877
|
+
end
|
|
2878
|
+
|
|
2879
|
+
# Mixin to add a used_by endpoint to return a list of all objects using this object
|
|
2880
|
+
# @param device_uuid [String] A UUID string identifying this Device.
|
|
2881
|
+
# @param [Hash] opts the optional parameters
|
|
2882
|
+
# @option opts [PatchedEndpointDeviceRequest] :patched_endpoint_device_request
|
|
2883
|
+
# @return [EndpointDevice]
|
|
2884
|
+
def endpoints_devices_partial_update(device_uuid, opts = {})
|
|
2885
|
+
data, _status_code, _headers = endpoints_devices_partial_update_with_http_info(device_uuid, opts)
|
|
2886
|
+
data
|
|
2887
|
+
end
|
|
2888
|
+
|
|
2889
|
+
# Mixin to add a used_by endpoint to return a list of all objects using this object
|
|
2890
|
+
# @param device_uuid [String] A UUID string identifying this Device.
|
|
2891
|
+
# @param [Hash] opts the optional parameters
|
|
2892
|
+
# @option opts [PatchedEndpointDeviceRequest] :patched_endpoint_device_request
|
|
2893
|
+
# @return [Array<(EndpointDevice, Integer, Hash)>] EndpointDevice data, response status code and response headers
|
|
2894
|
+
def endpoints_devices_partial_update_with_http_info(device_uuid, opts = {})
|
|
2895
|
+
if @api_client.config.debugging
|
|
2896
|
+
@api_client.config.logger.debug 'Calling API: EndpointsApi.endpoints_devices_partial_update ...'
|
|
2897
|
+
end
|
|
2898
|
+
# verify the required parameter 'device_uuid' is set
|
|
2899
|
+
if @api_client.config.client_side_validation && device_uuid.nil?
|
|
2900
|
+
fail ArgumentError, "Missing the required parameter 'device_uuid' when calling EndpointsApi.endpoints_devices_partial_update"
|
|
2901
|
+
end
|
|
2902
|
+
# resource path
|
|
2903
|
+
local_var_path = '/endpoints/devices/{device_uuid}/'.sub('{' + 'device_uuid' + '}', CGI.escape(device_uuid.to_s))
|
|
2904
|
+
|
|
2905
|
+
# query parameters
|
|
2906
|
+
query_params = opts[:query_params] || {}
|
|
2907
|
+
|
|
2908
|
+
# header parameters
|
|
2909
|
+
header_params = opts[:header_params] || {}
|
|
2910
|
+
# HTTP header 'Accept' (if needed)
|
|
2911
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
2912
|
+
# HTTP header 'Content-Type'
|
|
2913
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
2914
|
+
if !content_type.nil?
|
|
2915
|
+
header_params['Content-Type'] = content_type
|
|
2916
|
+
end
|
|
2917
|
+
|
|
2918
|
+
# form parameters
|
|
2919
|
+
form_params = opts[:form_params] || {}
|
|
2920
|
+
|
|
2921
|
+
# http body (model)
|
|
2922
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'patched_endpoint_device_request'])
|
|
2923
|
+
|
|
2924
|
+
# return_type
|
|
2925
|
+
return_type = opts[:debug_return_type] || 'EndpointDevice'
|
|
2926
|
+
|
|
2927
|
+
# auth_names
|
|
2928
|
+
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
2929
|
+
|
|
2930
|
+
new_options = opts.merge(
|
|
2931
|
+
:operation => :"EndpointsApi.endpoints_devices_partial_update",
|
|
2932
|
+
:header_params => header_params,
|
|
2933
|
+
:query_params => query_params,
|
|
2934
|
+
:form_params => form_params,
|
|
2935
|
+
:body => post_body,
|
|
2936
|
+
:auth_names => auth_names,
|
|
2937
|
+
:return_type => return_type
|
|
2938
|
+
)
|
|
2939
|
+
|
|
2940
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
|
|
2941
|
+
if @api_client.config.debugging
|
|
2942
|
+
@api_client.config.logger.debug "API called: EndpointsApi#endpoints_devices_partial_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2943
|
+
end
|
|
2944
|
+
return data, status_code, headers
|
|
2945
|
+
end
|
|
2946
|
+
|
|
2947
|
+
# Mixin to add a used_by endpoint to return a list of all objects using this object
|
|
2948
|
+
# @param device_uuid [String] A UUID string identifying this Device.
|
|
2949
|
+
# @param [Hash] opts the optional parameters
|
|
2950
|
+
# @return [EndpointDeviceDetails]
|
|
2951
|
+
def endpoints_devices_retrieve(device_uuid, opts = {})
|
|
2952
|
+
data, _status_code, _headers = endpoints_devices_retrieve_with_http_info(device_uuid, opts)
|
|
2953
|
+
data
|
|
2954
|
+
end
|
|
2955
|
+
|
|
2956
|
+
# Mixin to add a used_by endpoint to return a list of all objects using this object
|
|
2957
|
+
# @param device_uuid [String] A UUID string identifying this Device.
|
|
2958
|
+
# @param [Hash] opts the optional parameters
|
|
2959
|
+
# @return [Array<(EndpointDeviceDetails, Integer, Hash)>] EndpointDeviceDetails data, response status code and response headers
|
|
2960
|
+
def endpoints_devices_retrieve_with_http_info(device_uuid, opts = {})
|
|
2961
|
+
if @api_client.config.debugging
|
|
2962
|
+
@api_client.config.logger.debug 'Calling API: EndpointsApi.endpoints_devices_retrieve ...'
|
|
2963
|
+
end
|
|
2964
|
+
# verify the required parameter 'device_uuid' is set
|
|
2965
|
+
if @api_client.config.client_side_validation && device_uuid.nil?
|
|
2966
|
+
fail ArgumentError, "Missing the required parameter 'device_uuid' when calling EndpointsApi.endpoints_devices_retrieve"
|
|
2967
|
+
end
|
|
2968
|
+
# resource path
|
|
2969
|
+
local_var_path = '/endpoints/devices/{device_uuid}/'.sub('{' + 'device_uuid' + '}', CGI.escape(device_uuid.to_s))
|
|
2970
|
+
|
|
2971
|
+
# query parameters
|
|
2972
|
+
query_params = opts[:query_params] || {}
|
|
2973
|
+
|
|
2974
|
+
# header parameters
|
|
2975
|
+
header_params = opts[:header_params] || {}
|
|
2976
|
+
# HTTP header 'Accept' (if needed)
|
|
2977
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
2978
|
+
|
|
2979
|
+
# form parameters
|
|
2980
|
+
form_params = opts[:form_params] || {}
|
|
2981
|
+
|
|
2982
|
+
# http body (model)
|
|
2983
|
+
post_body = opts[:debug_body]
|
|
2984
|
+
|
|
2985
|
+
# return_type
|
|
2986
|
+
return_type = opts[:debug_return_type] || 'EndpointDeviceDetails'
|
|
2987
|
+
|
|
2988
|
+
# auth_names
|
|
2989
|
+
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
2990
|
+
|
|
2991
|
+
new_options = opts.merge(
|
|
2992
|
+
:operation => :"EndpointsApi.endpoints_devices_retrieve",
|
|
2993
|
+
:header_params => header_params,
|
|
2994
|
+
:query_params => query_params,
|
|
2995
|
+
:form_params => form_params,
|
|
2996
|
+
:body => post_body,
|
|
2997
|
+
:auth_names => auth_names,
|
|
2998
|
+
:return_type => return_type
|
|
2999
|
+
)
|
|
3000
|
+
|
|
3001
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
3002
|
+
if @api_client.config.debugging
|
|
3003
|
+
@api_client.config.logger.debug "API called: EndpointsApi#endpoints_devices_retrieve\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3004
|
+
end
|
|
3005
|
+
return data, status_code, headers
|
|
3006
|
+
end
|
|
3007
|
+
|
|
3008
|
+
# Mixin to add a used_by endpoint to return a list of all objects using this object
|
|
3009
|
+
# @param [Hash] opts the optional parameters
|
|
3010
|
+
# @return [DeviceSummary]
|
|
3011
|
+
def endpoints_devices_summary_retrieve(opts = {})
|
|
3012
|
+
data, _status_code, _headers = endpoints_devices_summary_retrieve_with_http_info(opts)
|
|
3013
|
+
data
|
|
3014
|
+
end
|
|
3015
|
+
|
|
3016
|
+
# Mixin to add a used_by endpoint to return a list of all objects using this object
|
|
3017
|
+
# @param [Hash] opts the optional parameters
|
|
3018
|
+
# @return [Array<(DeviceSummary, Integer, Hash)>] DeviceSummary data, response status code and response headers
|
|
3019
|
+
def endpoints_devices_summary_retrieve_with_http_info(opts = {})
|
|
3020
|
+
if @api_client.config.debugging
|
|
3021
|
+
@api_client.config.logger.debug 'Calling API: EndpointsApi.endpoints_devices_summary_retrieve ...'
|
|
3022
|
+
end
|
|
3023
|
+
# resource path
|
|
3024
|
+
local_var_path = '/endpoints/devices/summary/'
|
|
3025
|
+
|
|
3026
|
+
# query parameters
|
|
3027
|
+
query_params = opts[:query_params] || {}
|
|
3028
|
+
|
|
3029
|
+
# header parameters
|
|
3030
|
+
header_params = opts[:header_params] || {}
|
|
3031
|
+
# HTTP header 'Accept' (if needed)
|
|
3032
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
3033
|
+
|
|
3034
|
+
# form parameters
|
|
3035
|
+
form_params = opts[:form_params] || {}
|
|
3036
|
+
|
|
3037
|
+
# http body (model)
|
|
3038
|
+
post_body = opts[:debug_body]
|
|
3039
|
+
|
|
3040
|
+
# return_type
|
|
3041
|
+
return_type = opts[:debug_return_type] || 'DeviceSummary'
|
|
3042
|
+
|
|
3043
|
+
# auth_names
|
|
3044
|
+
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
3045
|
+
|
|
3046
|
+
new_options = opts.merge(
|
|
3047
|
+
:operation => :"EndpointsApi.endpoints_devices_summary_retrieve",
|
|
3048
|
+
:header_params => header_params,
|
|
3049
|
+
:query_params => query_params,
|
|
3050
|
+
:form_params => form_params,
|
|
3051
|
+
:body => post_body,
|
|
3052
|
+
:auth_names => auth_names,
|
|
3053
|
+
:return_type => return_type
|
|
3054
|
+
)
|
|
3055
|
+
|
|
3056
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
3057
|
+
if @api_client.config.debugging
|
|
3058
|
+
@api_client.config.logger.debug "API called: EndpointsApi#endpoints_devices_summary_retrieve\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3059
|
+
end
|
|
3060
|
+
return data, status_code, headers
|
|
3061
|
+
end
|
|
3062
|
+
|
|
3063
|
+
# Mixin to add a used_by endpoint to return a list of all objects using this object
|
|
3064
|
+
# @param device_uuid [String] A UUID string identifying this Device.
|
|
3065
|
+
# @param endpoint_device_request [EndpointDeviceRequest]
|
|
3066
|
+
# @param [Hash] opts the optional parameters
|
|
3067
|
+
# @return [EndpointDevice]
|
|
3068
|
+
def endpoints_devices_update(device_uuid, endpoint_device_request, opts = {})
|
|
3069
|
+
data, _status_code, _headers = endpoints_devices_update_with_http_info(device_uuid, endpoint_device_request, opts)
|
|
3070
|
+
data
|
|
3071
|
+
end
|
|
3072
|
+
|
|
3073
|
+
# Mixin to add a used_by endpoint to return a list of all objects using this object
|
|
3074
|
+
# @param device_uuid [String] A UUID string identifying this Device.
|
|
3075
|
+
# @param endpoint_device_request [EndpointDeviceRequest]
|
|
3076
|
+
# @param [Hash] opts the optional parameters
|
|
3077
|
+
# @return [Array<(EndpointDevice, Integer, Hash)>] EndpointDevice data, response status code and response headers
|
|
3078
|
+
def endpoints_devices_update_with_http_info(device_uuid, endpoint_device_request, opts = {})
|
|
3079
|
+
if @api_client.config.debugging
|
|
3080
|
+
@api_client.config.logger.debug 'Calling API: EndpointsApi.endpoints_devices_update ...'
|
|
3081
|
+
end
|
|
3082
|
+
# verify the required parameter 'device_uuid' is set
|
|
3083
|
+
if @api_client.config.client_side_validation && device_uuid.nil?
|
|
3084
|
+
fail ArgumentError, "Missing the required parameter 'device_uuid' when calling EndpointsApi.endpoints_devices_update"
|
|
3085
|
+
end
|
|
3086
|
+
# verify the required parameter 'endpoint_device_request' is set
|
|
3087
|
+
if @api_client.config.client_side_validation && endpoint_device_request.nil?
|
|
3088
|
+
fail ArgumentError, "Missing the required parameter 'endpoint_device_request' when calling EndpointsApi.endpoints_devices_update"
|
|
3089
|
+
end
|
|
3090
|
+
# resource path
|
|
3091
|
+
local_var_path = '/endpoints/devices/{device_uuid}/'.sub('{' + 'device_uuid' + '}', CGI.escape(device_uuid.to_s))
|
|
3092
|
+
|
|
3093
|
+
# query parameters
|
|
3094
|
+
query_params = opts[:query_params] || {}
|
|
3095
|
+
|
|
3096
|
+
# header parameters
|
|
3097
|
+
header_params = opts[:header_params] || {}
|
|
3098
|
+
# HTTP header 'Accept' (if needed)
|
|
3099
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
3100
|
+
# HTTP header 'Content-Type'
|
|
3101
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
3102
|
+
if !content_type.nil?
|
|
3103
|
+
header_params['Content-Type'] = content_type
|
|
3104
|
+
end
|
|
3105
|
+
|
|
3106
|
+
# form parameters
|
|
3107
|
+
form_params = opts[:form_params] || {}
|
|
3108
|
+
|
|
3109
|
+
# http body (model)
|
|
3110
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(endpoint_device_request)
|
|
3111
|
+
|
|
3112
|
+
# return_type
|
|
3113
|
+
return_type = opts[:debug_return_type] || 'EndpointDevice'
|
|
3114
|
+
|
|
3115
|
+
# auth_names
|
|
3116
|
+
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
3117
|
+
|
|
3118
|
+
new_options = opts.merge(
|
|
3119
|
+
:operation => :"EndpointsApi.endpoints_devices_update",
|
|
3120
|
+
:header_params => header_params,
|
|
3121
|
+
:query_params => query_params,
|
|
3122
|
+
:form_params => form_params,
|
|
3123
|
+
:body => post_body,
|
|
3124
|
+
:auth_names => auth_names,
|
|
3125
|
+
:return_type => return_type
|
|
3126
|
+
)
|
|
3127
|
+
|
|
3128
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
3129
|
+
if @api_client.config.debugging
|
|
3130
|
+
@api_client.config.logger.debug "API called: EndpointsApi#endpoints_devices_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3131
|
+
end
|
|
3132
|
+
return data, status_code, headers
|
|
3133
|
+
end
|
|
3134
|
+
|
|
3135
|
+
# Get a list of all objects that use this object
|
|
3136
|
+
# @param device_uuid [String] A UUID string identifying this Device.
|
|
3137
|
+
# @param [Hash] opts the optional parameters
|
|
3138
|
+
# @return [Array<UsedBy>]
|
|
3139
|
+
def endpoints_devices_used_by_list(device_uuid, opts = {})
|
|
3140
|
+
data, _status_code, _headers = endpoints_devices_used_by_list_with_http_info(device_uuid, opts)
|
|
3141
|
+
data
|
|
3142
|
+
end
|
|
3143
|
+
|
|
3144
|
+
# Get a list of all objects that use this object
|
|
3145
|
+
# @param device_uuid [String] A UUID string identifying this Device.
|
|
3146
|
+
# @param [Hash] opts the optional parameters
|
|
3147
|
+
# @return [Array<(Array<UsedBy>, Integer, Hash)>] Array<UsedBy> data, response status code and response headers
|
|
3148
|
+
def endpoints_devices_used_by_list_with_http_info(device_uuid, opts = {})
|
|
3149
|
+
if @api_client.config.debugging
|
|
3150
|
+
@api_client.config.logger.debug 'Calling API: EndpointsApi.endpoints_devices_used_by_list ...'
|
|
3151
|
+
end
|
|
3152
|
+
# verify the required parameter 'device_uuid' is set
|
|
3153
|
+
if @api_client.config.client_side_validation && device_uuid.nil?
|
|
3154
|
+
fail ArgumentError, "Missing the required parameter 'device_uuid' when calling EndpointsApi.endpoints_devices_used_by_list"
|
|
3155
|
+
end
|
|
3156
|
+
# resource path
|
|
3157
|
+
local_var_path = '/endpoints/devices/{device_uuid}/used_by/'.sub('{' + 'device_uuid' + '}', CGI.escape(device_uuid.to_s))
|
|
3158
|
+
|
|
3159
|
+
# query parameters
|
|
3160
|
+
query_params = opts[:query_params] || {}
|
|
3161
|
+
|
|
3162
|
+
# header parameters
|
|
3163
|
+
header_params = opts[:header_params] || {}
|
|
3164
|
+
# HTTP header 'Accept' (if needed)
|
|
3165
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
3166
|
+
|
|
3167
|
+
# form parameters
|
|
3168
|
+
form_params = opts[:form_params] || {}
|
|
3169
|
+
|
|
3170
|
+
# http body (model)
|
|
3171
|
+
post_body = opts[:debug_body]
|
|
3172
|
+
|
|
3173
|
+
# return_type
|
|
3174
|
+
return_type = opts[:debug_return_type] || 'Array<UsedBy>'
|
|
3175
|
+
|
|
3176
|
+
# auth_names
|
|
3177
|
+
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
3178
|
+
|
|
3179
|
+
new_options = opts.merge(
|
|
3180
|
+
:operation => :"EndpointsApi.endpoints_devices_used_by_list",
|
|
3181
|
+
:header_params => header_params,
|
|
3182
|
+
:query_params => query_params,
|
|
3183
|
+
:form_params => form_params,
|
|
3184
|
+
:body => post_body,
|
|
3185
|
+
:auth_names => auth_names,
|
|
3186
|
+
:return_type => return_type
|
|
3187
|
+
)
|
|
3188
|
+
|
|
3189
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
3190
|
+
if @api_client.config.debugging
|
|
3191
|
+
@api_client.config.logger.debug "API called: EndpointsApi#endpoints_devices_used_by_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3192
|
+
end
|
|
3193
|
+
return data, status_code, headers
|
|
3194
|
+
end
|
|
3195
|
+
end
|
|
3196
|
+
end
|