lightning-sdk 2025.12.2__py3-none-any.whl → 2025.12.9__py3-none-any.whl
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.
- lightning_sdk/__version__.py +1 -1
- lightning_sdk/api/agents_api.py +4 -4
- lightning_sdk/api/ai_hub_api.py +2 -2
- lightning_sdk/api/base_studio_api.py +3 -1
- lightning_sdk/api/deployment_api.py +2 -2
- lightning_sdk/api/job_api.py +9 -7
- lightning_sdk/api/license_api.py +2 -2
- lightning_sdk/api/mmt_api.py +5 -5
- lightning_sdk/api/pipeline_api.py +4 -4
- lightning_sdk/api/studio_api.py +33 -33
- lightning_sdk/api/teamspace_api.py +38 -26
- lightning_sdk/api/user_api.py +2 -2
- lightning_sdk/api/utils.py +17 -24
- lightning_sdk/cli/entrypoint.py +15 -1
- lightning_sdk/cli/studio/cp.py +47 -11
- lightning_sdk/lightning_cloud/login.py +1 -1
- lightning_sdk/lightning_cloud/openapi/__init__.py +204 -195
- lightning_sdk/lightning_cloud/openapi/api/agent_service_api.py +28 -28
- lightning_sdk/lightning_cloud/openapi/api/assistants_service_api.py +108 -108
- lightning_sdk/lightning_cloud/openapi/api/billing_service_api.py +69 -57
- lightning_sdk/lightning_cloud/openapi/api/blog_posts_service_api.py +4 -4
- lightning_sdk/lightning_cloud/openapi/api/cloud_space_environment_template_service_api.py +14 -14
- lightning_sdk/lightning_cloud/openapi/api/cloud_space_service_api.py +331 -168
- lightning_sdk/lightning_cloud/openapi/api/cloudy_service_api.py +4 -4
- lightning_sdk/lightning_cloud/openapi/api/cluster_service_api.py +58 -58
- lightning_sdk/lightning_cloud/openapi/api/data_connection_service_api.py +24 -24
- lightning_sdk/lightning_cloud/openapi/api/dataset_service_api.py +8 -8
- lightning_sdk/lightning_cloud/openapi/api/deployment_templates_service_api.py +8 -8
- lightning_sdk/lightning_cloud/openapi/api/endpoint_service_api.py +8 -8
- lightning_sdk/lightning_cloud/openapi/api/experiments_service_api.py +8 -8
- lightning_sdk/lightning_cloud/openapi/api/file_system_service_api.py +16 -16
- lightning_sdk/lightning_cloud/openapi/api/incidents_service_api.py +18 -18
- lightning_sdk/lightning_cloud/openapi/api/jobs_service_api.py +514 -254
- lightning_sdk/lightning_cloud/openapi/api/k8_s_cluster_service_api.py +67 -59
- lightning_sdk/lightning_cloud/openapi/api/lightningapp_instance_service_api.py +16 -16
- lightning_sdk/lightning_cloud/openapi/api/lightningapp_v2_service_api.py +6 -6
- lightning_sdk/lightning_cloud/openapi/api/lightningwork_service_api.py +16 -16
- lightning_sdk/lightning_cloud/openapi/api/lit_dataset_service_api.py +42 -42
- lightning_sdk/lightning_cloud/openapi/api/lit_logger_service_api.py +28 -28
- lightning_sdk/lightning_cloud/openapi/api/lit_page_service_api.py +4 -4
- lightning_sdk/lightning_cloud/openapi/api/lit_registry_service_api.py +8 -8
- lightning_sdk/lightning_cloud/openapi/api/models_store_api.py +42 -42
- lightning_sdk/lightning_cloud/openapi/api/organizations_service_api.py +34 -34
- lightning_sdk/lightning_cloud/openapi/api/pipeline_templates_service_api.py +4 -4
- lightning_sdk/lightning_cloud/openapi/api/pipelines_service_api.py +38 -38
- lightning_sdk/lightning_cloud/openapi/api/product_license_service_api.py +4 -4
- lightning_sdk/lightning_cloud/openapi/api/profiler_service_api.py +12 -12
- lightning_sdk/lightning_cloud/openapi/api/projects_service_api.py +32 -32
- lightning_sdk/lightning_cloud/openapi/api/quest_service_api.py +8 -8
- lightning_sdk/lightning_cloud/openapi/api/schedules_service_api.py +48 -48
- lightning_sdk/lightning_cloud/openapi/api/secret_service_api.py +12 -12
- lightning_sdk/lightning_cloud/openapi/api/slurm_jobs_user_service_api.py +16 -16
- lightning_sdk/lightning_cloud/openapi/api/snowflake_service_api.py +16 -16
- lightning_sdk/lightning_cloud/openapi/api/storage_service_api.py +40 -40
- lightning_sdk/lightning_cloud/openapi/api/studio_jobs_service_api.py +8 -8
- lightning_sdk/lightning_cloud/openapi/api/user_service_api.py +20 -20
- lightning_sdk/lightning_cloud/openapi/api/volume_service_api.py +4 -4
- lightning_sdk/lightning_cloud/openapi/models/__init__.py +204 -181
- lightning_sdk/lightning_cloud/openapi/models/agent_service_agent_complete_part_body.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/{multipartuploads_upload_id_body.py → agent_service_agent_upload_part_body.py} +10 -10
- lightning_sdk/lightning_cloud/openapi/models/{id_multipartuploads_body.py → agent_service_create_agent_multipart_upload_body.py} +14 -14
- lightning_sdk/lightning_cloud/openapi/models/{jobs_id_body.py → agent_service_update_agent_job_body.py} +30 -30
- lightning_sdk/lightning_cloud/openapi/models/{id_artifacts_body.py → agent_service_upload_agent_job_artifact_body.py} +10 -10
- lightning_sdk/lightning_cloud/openapi/models/{id_output_body.py → agent_service_upload_agent_job_output_body.py} +18 -18
- lightning_sdk/lightning_cloud/openapi/models/{id_contactowner_body.py → assistants_service_contact_assistant_owner_body.py} +14 -14
- lightning_sdk/lightning_cloud/openapi/models/{project_id_agents_body.py → assistants_service_create_assistant_body.py} +74 -74
- lightning_sdk/lightning_cloud/openapi/models/{project_id_agentmanagedendpoints_body.py → assistants_service_create_assistant_managed_endpoint_body.py} +14 -14
- lightning_sdk/lightning_cloud/openapi/models/{message_id_actions_body.py → assistants_service_create_conversation_message_action_body.py} +28 -26
- lightning_sdk/lightning_cloud/openapi/models/{models_model_id_body.py → assistants_service_create_model_metrics_body.py} +26 -26
- lightning_sdk/lightning_cloud/openapi/models/{assistant_id_conversations_body.py → assistants_service_start_conversation_body.py} +74 -74
- lightning_sdk/lightning_cloud/openapi/models/{agents_id_body.py → assistants_service_update_assistant_body.py} +102 -102
- lightning_sdk/lightning_cloud/openapi/models/{agentmanagedendpoints_id_body.py → assistants_service_update_assistant_managed_endpoint_body.py} +42 -42
- lightning_sdk/lightning_cloud/openapi/models/{models_id_body.py → assistants_service_update_assistant_managed_endpoint_model_body.py} +10 -10
- lightning_sdk/lightning_cloud/openapi/models/assistants_service_update_conversation_body.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/{conversations_id_body1.py → assistants_service_update_conversation_like_body.py} +10 -10
- lightning_sdk/lightning_cloud/openapi/models/{id_content_body.py → assistants_service_update_conversation_message_content_body.py} +10 -10
- lightning_sdk/lightning_cloud/openapi/models/{messages_id_body.py → assistants_service_update_conversation_message_like_body.py} +10 -10
- lightning_sdk/lightning_cloud/openapi/models/assistants_service_validate_assistant_status_body.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/assistants_service_validate_managed_model_body.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/{user_id_upgradetrigger_body.py → billing_service_create_billing_upgrade_trigger_record_body.py} +22 -22
- lightning_sdk/lightning_cloud/openapi/models/{billing_checkout_body.py → billing_service_create_org_checkout_session_body.py} +18 -18
- lightning_sdk/lightning_cloud/openapi/models/{billing_transfer_body.py → billing_service_transfer_org_balance_body.py} +14 -14
- lightning_sdk/lightning_cloud/openapi/models/{billing_transfer_body1.py → billing_service_transfer_project_balance_body.py} +18 -18
- lightning_sdk/lightning_cloud/openapi/models/{blogposts_id_body.py → blog_posts_service_update_blog_post_body.py} +38 -38
- lightning_sdk/lightning_cloud/openapi/models/{update.py → cloud_space_environment_template_service_update_cloud_space_environment_template_body.py} +58 -58
- lightning_sdk/lightning_cloud/openapi/models/{apps_id_body1.py → cloud_space_service_create_cloud_space_app_instance_body.py} +34 -34
- lightning_sdk/lightning_cloud/openapi/models/{project_id_cloudspaces_body.py → cloud_space_service_create_cloud_space_body.py} +78 -78
- lightning_sdk/lightning_cloud/openapi/models/{cloudspace_id_metric_body.py → cloud_space_service_create_cloud_space_instance_metric_body.py} +22 -22
- lightning_sdk/lightning_cloud/openapi/models/{cloud_space_id_versions_body.py → cloud_space_service_create_cloud_space_version_body.py} +54 -54
- lightning_sdk/lightning_cloud/openapi/models/{cloud_space_id_versionpublications_body.py → cloud_space_service_create_cloud_space_version_publication_body.py} +18 -18
- lightning_sdk/lightning_cloud/openapi/models/{cloudspace_id_runs_body.py → cloud_space_service_create_lightning_run_body.py} +86 -86
- lightning_sdk/lightning_cloud/openapi/models/{id_get_body.py → cloud_space_service_create_lightning_run_instance_body.py} +58 -58
- lightning_sdk/lightning_cloud/openapi/models/{id_engage_body1.py → cloud_space_service_engage_cloud_space_body.py} +14 -14
- lightning_sdk/lightning_cloud/openapi/models/{id_execute_body1.py → cloud_space_service_execute_command_in_cloud_space_body.py} +18 -18
- lightning_sdk/lightning_cloud/openapi/models/{id_execute_body.py → cloud_space_service_execute_in_cloud_space_session_body.py} +10 -10
- lightning_sdk/lightning_cloud/openapi/models/{id_fork_body.py → cloud_space_service_fork_cloud_space_app_instance_body.py} +14 -14
- lightning_sdk/lightning_cloud/openapi/models/{id_fork_body1.py → cloud_space_service_fork_cloud_space_body.py} +22 -22
- lightning_sdk/lightning_cloud/openapi/models/cloud_space_service_keep_alive_cloud_space_instance_body.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/{cluster_id_proxies_body.py → cloud_space_service_publish_cloud_space_body.py} +10 -10
- lightning_sdk/lightning_cloud/openapi/models/{id_index_body1.py → cloud_space_service_refresh_cloud_space_index_body.py} +10 -10
- lightning_sdk/lightning_cloud/openapi/models/{cloudspace_id_systemmetrics_body.py → cloud_space_service_report_cloud_space_instance_system_metrics_body.py} +14 -14
- lightning_sdk/lightning_cloud/openapi/models/cloud_space_service_request_cloud_space_access_body.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/{id_start_body.py → cloud_space_service_start_cloud_space_instance_body.py} +14 -14
- lightning_sdk/lightning_cloud/openapi/models/{id_transfer_body.py → cloud_space_service_transfer_cloud_space_body.py} +18 -18
- lightning_sdk/lightning_cloud/openapi/models/{apps_id_body.py → cloud_space_service_update_cloud_space_app_body.py} +86 -86
- lightning_sdk/lightning_cloud/openapi/models/{cloudspaces_id_body.py → cloud_space_service_update_cloud_space_body.py} +114 -114
- lightning_sdk/lightning_cloud/openapi/models/{id_collaborate_body.py → cloud_space_service_update_cloud_space_collab_body.py} +18 -18
- lightning_sdk/lightning_cloud/openapi/models/{conversations_id_body.py → cloud_space_service_update_cloud_space_ide_body.py} +21 -21
- lightning_sdk/lightning_cloud/openapi/models/{id_index_body.py → cloud_space_service_update_cloud_space_index_body.py} +18 -18
- lightning_sdk/lightning_cloud/openapi/models/{id_codeconfig_body.py → cloud_space_service_update_cloud_space_instance_config_body.py} +22 -22
- lightning_sdk/lightning_cloud/openapi/models/{id_publications_body.py → cloud_space_service_update_cloud_space_publication_body.py} +14 -14
- lightning_sdk/lightning_cloud/openapi/models/{id_sleepconfig_body.py → cloud_space_service_update_cloud_space_sleep_config_body.py} +18 -18
- lightning_sdk/lightning_cloud/openapi/models/{versions_id_body.py → cloud_space_service_update_cloud_space_version_body.py} +46 -46
- lightning_sdk/lightning_cloud/openapi/models/{cloud_space_id_versionpublications_body1.py → cloud_space_service_update_cloud_space_version_publication_body.py} +18 -18
- lightning_sdk/lightning_cloud/openapi/models/{dataset_id_visibility_body.py → cloud_space_service_update_cloud_space_visibility_body.py} +14 -14
- lightning_sdk/lightning_cloud/openapi/models/{user_user_id_body.py → cloudy_service_update_user_cloudy_settings_body.py} +22 -22
- lightning_sdk/lightning_cloud/openapi/models/{cluster_id_capacityreservations_body.py → cluster_service_create_cluster_capacity_reservation_body.py} +42 -42
- lightning_sdk/lightning_cloud/openapi/models/{id_publications_body1.py → cluster_service_create_cluster_proxy_body.py} +10 -10
- lightning_sdk/lightning_cloud/openapi/models/{cluster_id_usagerestrictions_body.py → cluster_service_create_cluster_usage_restriction_body.py} +22 -22
- lightning_sdk/lightning_cloud/openapi/models/{create_machine_request_represents_the_request_to_create_a_machine.py → cluster_service_create_machine_body.py} +62 -62
- lightning_sdk/lightning_cloud/openapi/models/{project_id_clusters_body.py → cluster_service_create_project_cluster_body.py} +14 -14
- lightning_sdk/lightning_cloud/openapi/models/{server_id_alerts_body.py → cluster_service_create_server_alert_body.py} +22 -22
- lightning_sdk/lightning_cloud/openapi/models/cluster_service_interrupt_server_body.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/{cluster_id_capacityblock_body.py → cluster_service_purchase_capacity_block_body.py} +30 -30
- lightning_sdk/lightning_cloud/openapi/models/{servers_server_id_body.py → cluster_service_server_check_in_body.py} +10 -10
- lightning_sdk/lightning_cloud/openapi/models/cluster_service_sleep_server_body.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/{clusters_id_body.py → cluster_service_update_cluster_body.py} +18 -18
- lightning_sdk/lightning_cloud/openapi/models/{usagerestrictions_id_body.py → cluster_service_update_cluster_usage_restriction_body.py} +22 -22
- lightning_sdk/lightning_cloud/openapi/models/{clusters_id_body1.py → cluster_service_update_project_cluster_body.py} +14 -14
- lightning_sdk/lightning_cloud/openapi/models/{create.py → data_connection_service_create_data_connection_body.py} +82 -82
- lightning_sdk/lightning_cloud/openapi/models/{id_index_body2.py → data_connection_service_refresh_data_connection_index_body.py} +10 -10
- lightning_sdk/lightning_cloud/openapi/models/{setup.py → data_connection_service_setup_data_connection_body.py} +14 -14
- lightning_sdk/lightning_cloud/openapi/models/{update1.py → data_connection_service_update_data_connection_body.py} +50 -50
- lightning_sdk/lightning_cloud/openapi/models/{validate.py → data_connection_service_validate_data_connection_body.py} +42 -42
- lightning_sdk/lightning_cloud/openapi/models/{project_id_datasets_body.py → dataset_service_create_dataset_body.py} +70 -70
- lightning_sdk/lightning_cloud/openapi/models/{datasets_id_body.py → dataset_service_update_dataset_body.py} +22 -22
- lightning_sdk/lightning_cloud/openapi/models/{id_engage_body.py → deployment_templates_service_engage_deployment_template_body.py} +10 -10
- lightning_sdk/lightning_cloud/openapi/models/{deploymenttemplates_id_body.py → deployment_templates_service_update_deployment_template_body.py} +70 -70
- lightning_sdk/lightning_cloud/openapi/models/{project_id_endpoints_body.py → endpoint_service_create_endpoint_body.py} +30 -30
- lightning_sdk/lightning_cloud/openapi/models/{endpoints_id_body.py → endpoint_service_update_endpoint_body.py} +62 -62
- lightning_sdk/lightning_cloud/openapi/models/{experiment_name_variant_name_body.py → experiments_service_assign_variant_body.py} +10 -10
- lightning_sdk/lightning_cloud/openapi/models/{incident_id_messages_body.py → incidents_service_create_incident_message_body.py} +10 -10
- lightning_sdk/lightning_cloud/openapi/models/{incidents_id_body.py → incidents_service_update_incident_body.py} +34 -34
- lightning_sdk/lightning_cloud/openapi/models/{messages_message_id_body.py → incidents_service_update_incident_message_body.py} +10 -10
- lightning_sdk/lightning_cloud/openapi/models/{deployment_id_alertingpolicies_body1.py → jobs_service_create_deployment_alerting_policy_body.py} +42 -42
- lightning_sdk/lightning_cloud/openapi/models/{create_deployment_request_defines_a_spec_for_the_job_that_allows_for_autoscaling_jobs.py → jobs_service_create_deployment_body.py} +70 -70
- lightning_sdk/lightning_cloud/openapi/models/{project_id_jobs_body.py → jobs_service_create_job_body.py} +18 -18
- lightning_sdk/lightning_cloud/openapi/models/{project_id_multimachinejobs_body.py → jobs_service_create_multi_machine_job_body.py} +26 -26
- lightning_sdk/lightning_cloud/openapi/models/{job_id_reportroutingtelemetry_body.py → jobs_service_report_deployment_routing_telemetry_body.py} +10 -10
- lightning_sdk/lightning_cloud/openapi/models/{job_id_systemmetrics_body.py → jobs_service_report_job_system_metrics_body.py} +10 -10
- lightning_sdk/lightning_cloud/openapi/models/{id_reportlogsactivity_body.py → jobs_service_report_logs_activity_body.py} +10 -10
- lightning_sdk/lightning_cloud/openapi/models/{id_reportrestarttimings_body.py → jobs_service_report_restart_timings_body.py} +10 -10
- lightning_sdk/lightning_cloud/openapi/models/jobs_service_restore_deployment_release_body.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/{alertingevents_id_body.py → jobs_service_update_deployment_alerting_event_body.py} +54 -54
- lightning_sdk/lightning_cloud/openapi/models/jobs_service_update_deployment_alerting_events_bulk_body.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/{deployment_id_alertingpolicies_body.py → jobs_service_update_deployment_alerting_policy_body.py} +46 -46
- lightning_sdk/lightning_cloud/openapi/models/{deployments_id_body.py → jobs_service_update_deployment_body.py} +128 -126
- lightning_sdk/lightning_cloud/openapi/models/{id_visibility_body1.py → jobs_service_update_deployment_visibility_body.py} +10 -10
- lightning_sdk/lightning_cloud/openapi/models/{jobs_id_body1.py → jobs_service_update_job_body.py} +14 -14
- lightning_sdk/lightning_cloud/openapi/models/{id_index_body3.py → jobs_service_update_job_index_body.py} +18 -18
- lightning_sdk/lightning_cloud/openapi/models/{id_visibility_body.py → jobs_service_update_job_visibility_body.py} +10 -10
- lightning_sdk/lightning_cloud/openapi/models/{multimachinejobs_id_body.py → jobs_service_update_multi_machine_job_body.py} +10 -10
- lightning_sdk/lightning_cloud/openapi/models/{deployments_deployment_id_body.py → jobs_service_update_org_deployment_visibility_body.py} +14 -14
- lightning_sdk/lightning_cloud/openapi/models/{kubernetestemplates_id_body.py → k8_s_cluster_service_create_kubernetes_template_body.py} +22 -22
- lightning_sdk/lightning_cloud/openapi/models/{id_render_body.py → k8_s_cluster_service_render_kubernetes_template_body.py} +10 -10
- lightning_sdk/lightning_cloud/openapi/models/{cluster_id_metrics_body.py → k8_s_cluster_service_report_k8_s_cluster_metrics_body.py} +42 -42
- lightning_sdk/lightning_cloud/openapi/models/{cluster_id_kubernetestemplates_body.py → k8_s_cluster_service_update_kubernetes_template_body.py} +22 -22
- lightning_sdk/lightning_cloud/openapi/models/{appinstances_id_body.py → lightningapp_instance_service_update_lightningapp_instance_body.py} +18 -18
- lightning_sdk/lightning_cloud/openapi/models/{id_release_body.py → lightningapp_instance_service_update_lightningapp_instance_release_body.py} +10 -10
- lightning_sdk/lightning_cloud/openapi/models/{id_uploads_body.py → lightningapp_instance_service_upload_lightningapp_instance_artifact_body.py} +10 -10
- lightning_sdk/lightning_cloud/openapi/models/{project_id_getapp_body.py → lightningapp_v2_service_create_lightningapp_from_gallery_body.py} +30 -30
- lightning_sdk/lightning_cloud/openapi/models/{app_id_works_body.py → lightningwork_service_batch_update_lightningworks_body.py} +14 -14
- lightning_sdk/lightning_cloud/openapi/models/{spec_lightningapp_instance_id_works_body.py → lightningwork_service_create_lightningwork_body.py} +24 -24
- lightning_sdk/lightning_cloud/openapi/models/lightningwork_service_create_lightningwork_body_spec.py +487 -0
- lightning_sdk/lightning_cloud/openapi/models/{works_id_body.py → lightningwork_service_update_lightningwork_body.py} +16 -16
- lightning_sdk/lightning_cloud/openapi/models/{upload_id_complete_body1.py → lit_dataset_service_complete_lit_dataset_multi_part_upload_body.py} +14 -14
- lightning_sdk/lightning_cloud/openapi/models/lit_dataset_service_complete_lit_dataset_upload_body.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/{project_id_models_body.py → lit_dataset_service_create_lit_dataset_body.py} +26 -26
- lightning_sdk/lightning_cloud/openapi/models/{version_uploads_body1.py → lit_dataset_service_create_lit_dataset_multi_part_upload_body.py} +10 -10
- lightning_sdk/lightning_cloud/openapi/models/{dataset_id_versions_body.py → lit_dataset_service_create_lit_dataset_version_body.py} +16 -14
- lightning_sdk/lightning_cloud/openapi/models/{upload_id_parts_body.py → lit_dataset_service_get_lit_dataset_file_upload_urls_body.py} +14 -14
- lightning_sdk/lightning_cloud/openapi/models/{version_default_body.py → lit_dataset_service_set_lit_dataset_default_version_body.py} +14 -14
- lightning_sdk/lightning_cloud/openapi/models/{litdatasets_dataset_id_body.py → lit_dataset_service_update_lit_dataset_body.py} +14 -14
- lightning_sdk/lightning_cloud/openapi/models/{versions_version_body.py → lit_dataset_service_update_lit_dataset_version_body.py} +10 -10
- lightning_sdk/lightning_cloud/openapi/models/{id_visibility_body2.py → lit_dataset_service_update_lit_dataset_visibility_body.py} +14 -14
- lightning_sdk/lightning_cloud/openapi/models/{loggermetrics_id_body.py → lit_logger_service_append_logger_metrics_body.py} +10 -10
- lightning_sdk/lightning_cloud/openapi/models/{metrics_stream_id_loggerartifacts_body.py → lit_logger_service_create_logger_artifact_body.py} +10 -10
- lightning_sdk/lightning_cloud/openapi/models/{metricsstream_create_body.py → lit_logger_service_create_metrics_stream_body.py} +62 -62
- lightning_sdk/lightning_cloud/openapi/models/{metricsstream_delete_body.py → lit_logger_service_delete_metrics_stream_body.py} +10 -10
- lightning_sdk/lightning_cloud/openapi/models/{metricsstream_id_body.py → lit_logger_service_update_metrics_stream_body.py} +22 -22
- lightning_sdk/lightning_cloud/openapi/models/{model_id_visibility_body.py → lit_logger_service_update_metrics_stream_visibility_body.py} +14 -14
- lightning_sdk/lightning_cloud/openapi/models/{litloggermetrics_id_body.py → lit_logger_service_update_shared_metrics_stream_body.py} +18 -18
- lightning_sdk/lightning_cloud/openapi/models/{litpages_id_body.py → lit_page_service_update_lit_page_body.py} +42 -42
- lightning_sdk/lightning_cloud/openapi/models/{project_id_litregistry_body.py → lit_registry_service_create_lit_project_registry_body.py} +12 -12
- lightning_sdk/lightning_cloud/openapi/models/{litregistry_lit_repo_name_body.py → lit_registry_service_update_lit_repository_metadata_body.py} +10 -10
- lightning_sdk/lightning_cloud/openapi/models/models_store_complete_model_upload_body.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/{upload_id_complete_body.py → models_store_complete_multi_part_upload_body.py} +14 -14
- lightning_sdk/lightning_cloud/openapi/models/{project_id_litdatasets_body.py → models_store_create_model_body.py} +26 -26
- lightning_sdk/lightning_cloud/openapi/models/{model_id_versions_body.py → models_store_create_model_version_body.py} +20 -18
- lightning_sdk/lightning_cloud/openapi/models/{version_uploads_body.py → models_store_create_multi_part_upload_body.py} +10 -10
- lightning_sdk/lightning_cloud/openapi/models/{upload_id_parts_body1.py → models_store_get_model_file_upload_urls_body.py} +14 -14
- lightning_sdk/lightning_cloud/openapi/models/{version_default_body1.py → models_store_set_model_default_version_body.py} +14 -14
- lightning_sdk/lightning_cloud/openapi/models/{models_model_id_body1.py → models_store_update_model_body.py} +14 -14
- lightning_sdk/lightning_cloud/openapi/models/{versions_version_body1.py → models_store_update_model_version_body.py} +10 -10
- lightning_sdk/lightning_cloud/openapi/models/{cloudspace_id_visibility_body.py → models_store_update_model_visibility_body.py} +14 -14
- lightning_sdk/lightning_cloud/openapi/models/{approveautojoindomain_domain_body.py → organizations_service_approve_auto_join_domain_body.py} +10 -10
- lightning_sdk/lightning_cloud/openapi/models/organizations_service_auto_join_org_body.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/{org_id_memberships_body.py → organizations_service_create_org_membership_body.py} +22 -22
- lightning_sdk/lightning_cloud/openapi/models/{user_id_membershiprolebindings_body1.py → organizations_service_create_org_membership_role_binding_body.py} +10 -10
- lightning_sdk/lightning_cloud/openapi/models/{org_id_roles_body.py → organizations_service_create_org_role_body.py} +18 -18
- lightning_sdk/lightning_cloud/openapi/models/{orgs_id_body.py → organizations_service_update_organization_body.py} +162 -162
- lightning_sdk/lightning_cloud/openapi/models/{credits_autoreplenish_body.py → organizations_service_update_organization_credits_auto_replenish_body.py} +18 -18
- lightning_sdk/lightning_cloud/openapi/models/{validateautojoindomain_domain_body.py → organizations_service_validate_auto_join_domain_body.py} +10 -10
- lightning_sdk/lightning_cloud/openapi/models/{pipelinetemplates_id_body.py → pipeline_templates_service_update_pipeline_template_body.py} +42 -42
- lightning_sdk/lightning_cloud/openapi/models/{pipelines_id_body1.py → pipelines_service_create_child_pipeline_body.py} +10 -10
- lightning_sdk/lightning_cloud/openapi/models/{project_id_pipelines_body.py → pipelines_service_create_pipeline_body.py} +30 -30
- lightning_sdk/lightning_cloud/openapi/models/{pipelines_id_body.py → pipelines_service_update_pipeline_body.py} +74 -74
- lightning_sdk/lightning_cloud/openapi/models/{license_key_validate_body.py → product_license_service_validate_license_body.py} +10 -10
- lightning_sdk/lightning_cloud/openapi/models/{profiler_captures_body.py → profiler_service_create_profiler_capture_body.py} +34 -34
- lightning_sdk/lightning_cloud/openapi/models/{captures_id_body.py → profiler_service_update_profiler_capture_body.py} +10 -10
- lightning_sdk/lightning_cloud/openapi/models/{profiler_enabled_body.py → profiler_service_update_profiler_enabled_body.py} +14 -14
- lightning_sdk/lightning_cloud/openapi/models/{project_id_projectclustersbindings_body.py → projects_service_create_project_cluster_binding_body.py} +14 -14
- lightning_sdk/lightning_cloud/openapi/models/{project_id_memberships_body.py → projects_service_create_project_membership_body.py} +22 -22
- lightning_sdk/lightning_cloud/openapi/models/{user_id_membershiprolebindings_body.py → projects_service_create_project_membership_role_binding_body.py} +10 -10
- lightning_sdk/lightning_cloud/openapi/models/{projects_project_id_body.py → projects_service_create_project_role_body.py} +18 -18
- lightning_sdk/lightning_cloud/openapi/models/{project_id_invite_body.py → projects_service_invite_project_membership_body.py} +18 -18
- lightning_sdk/lightning_cloud/openapi/models/{projects_id_body.py → projects_service_update_project_body.py} +110 -110
- lightning_sdk/lightning_cloud/openapi/models/{project_tab_management_messages.py → projects_service_update_project_tab_order_body.py} +10 -10
- lightning_sdk/lightning_cloud/openapi/models/protobuf_any.py +7 -58
- lightning_sdk/lightning_cloud/openapi/models/quest_service_complete_quest_body.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/quest_service_start_quest_body.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/{project_id_schedules_body.py → schedules_service_create_schedule_body.py} +42 -42
- lightning_sdk/lightning_cloud/openapi/models/schedules_service_create_schedule_run_body.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/{schedules_id_body.py → schedules_service_update_schedule_body.py} +70 -70
- lightning_sdk/lightning_cloud/openapi/models/{project_id_secrets_body.py → secret_service_create_secret_body.py} +18 -18
- lightning_sdk/lightning_cloud/openapi/models/{secrets_id_body1.py → secret_service_update_secret_body.py} +10 -10
- lightning_sdk/lightning_cloud/openapi/models/{secrets_id_body.py → secret_service_update_user_secret_body.py} +10 -10
- lightning_sdk/lightning_cloud/openapi/models/{cluster_id_slurmusers_body.py → slurm_jobs_user_service_create_slurm_cluster_user_body.py} +22 -22
- lightning_sdk/lightning_cloud/openapi/models/{slurm_jobs_body.py → slurm_jobs_user_service_create_user_slurm_job_body.py} +54 -54
- lightning_sdk/lightning_cloud/openapi/models/{jobs_id_body2.py → slurm_jobs_user_service_update_user_slurm_job_body.py} +10 -10
- lightning_sdk/lightning_cloud/openapi/models/{id_action_body.py → slurm_jobs_user_service_user_slurm_job_action_body.py} +10 -10
- lightning_sdk/lightning_cloud/openapi/models/{project_id_snowflake_body.py → snowflake_service_create_snowflake_connection_body.py} +10 -10
- lightning_sdk/lightning_cloud/openapi/models/{query_query_id_body.py → snowflake_service_execute_snowflake_query_body.py} +18 -18
- lightning_sdk/lightning_cloud/openapi/models/{snowflake_export_body.py → snowflake_service_export_snowflake_query_body.py} +38 -38
- lightning_sdk/lightning_cloud/openapi/models/{snowflake_query_body.py → snowflake_service_update_snowflake_query_body.py} +18 -18
- lightning_sdk/lightning_cloud/openapi/models/storage_service_abort_storage_transfer_body.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/{storage_complete_body.py → storage_service_complete_upload_project_artifact_body.py} +30 -30
- lightning_sdk/lightning_cloud/openapi/models/{project_id_storagetransfers_body.py → storage_service_create_storage_transfer_body.py} +18 -18
- lightning_sdk/lightning_cloud/openapi/models/storage_service_pause_storage_transfer_body.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/storage_service_resume_storage_transfer_body.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/{project_id_storage_body.py → storage_service_upload_project_artifact_body.py} +22 -22
- lightning_sdk/lightning_cloud/openapi/models/{uploads_upload_id_body1.py → storage_service_upload_project_artifact_parts_body.py} +22 -22
- lightning_sdk/lightning_cloud/openapi/models/{uploads_upload_id_body.py → storage_service_upload_temporary_artifact_parts_body.py} +14 -14
- lightning_sdk/lightning_cloud/openapi/models/{storagetransfers_validate_body.py → storage_service_validate_storage_transfer_body.py} +14 -14
- lightning_sdk/lightning_cloud/openapi/models/{studioapp_jobs_body.py → studio_jobs_service_create_studio_job_body.py} +34 -34
- lightning_sdk/lightning_cloud/openapi/models/{jobs_id_body3.py → studio_jobs_service_update_studio_job_body.py} +14 -14
- lightning_sdk/lightning_cloud/openapi/models/{user_id_affiliatelinks_body.py → user_service_create_affiliate_link_body.py} +30 -30
- lightning_sdk/lightning_cloud/openapi/models/{affiliatelinks_id_body.py → user_service_update_affiliate_link_body.py} +14 -14
- lightning_sdk/lightning_cloud/openapi/models/{credits_autoreplenish_body1.py → user_service_update_user_credits_auto_replenish_body.py} +18 -18
- lightning_sdk/lightning_cloud/openapi/models/user_service_upload_settings_body.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_autoscaling_target_metric.py +2 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_aws_data_connection.py +2 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_billing_subscription.py +2 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_conversation.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_conversation_response_chunk.py +2 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_checkout_session_request.py +4 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_data_connection.py +6 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment.py +2 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment_alerting_policy_type.py +2 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment_event.py +2 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_experiment.py +2 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_external_cluster_spec.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_generic_job.py +79 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_generic_job_spec.py +253 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_user_response.py +2 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_group_pod_metrics.py +6 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_health_check_http_get.py +79 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_incident.py +2 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_job.py +6 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_job_health_check_config.py +55 -3
- lightning_sdk/lightning_cloud/openapi/models/v1_job_spec.py +59 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_kubernetes_direct_v1.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_lit_dataset_version_archive.py +2 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_machine.py +79 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_machine_direct_v1.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_message_action.py +2 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_model_version_archive.py +2 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_multi_machine_job_event.py +2 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_pipeline_step_status.py +2 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_server_alert_severity.py +1 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_slurm_v1.py +4 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_slurm_v1_status.py +2 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_update_deployment_alerting_events_bulk_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_update_user_request.py +2 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_usage_report.py +6 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_user_features.py +183 -79
- lightning_sdk/lightning_cloud/openapi/models/v1_user_requested_compute_config.py +2 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_user_requested_flow_compute_config.py +2 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_volume.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/{volumes_id_body.py → volume_service_update_volume_body.py} +10 -10
- lightning_sdk/lightning_cloud/utils/data_connection.py +14 -8
- lightning_sdk/lightning_cloud/utils/dataset.py +3 -5
- lightning_sdk/plugin.py +2 -2
- lightning_sdk/teamspace.py +3 -2
- {lightning_sdk-2025.12.2.dist-info → lightning_sdk-2025.12.9.dist-info}/METADATA +2 -2
- {lightning_sdk-2025.12.2.dist-info → lightning_sdk-2025.12.9.dist-info}/RECORD +310 -287
- {lightning_sdk-2025.12.2.dist-info → lightning_sdk-2025.12.9.dist-info}/LICENSE +0 -0
- {lightning_sdk-2025.12.2.dist-info → lightning_sdk-2025.12.9.dist-info}/WHEEL +0 -0
- {lightning_sdk-2025.12.2.dist-info → lightning_sdk-2025.12.9.dist-info}/entry_points.txt +0 -0
- {lightning_sdk-2025.12.2.dist-info → lightning_sdk-2025.12.9.dist-info}/top_level.txt +0 -0
|
@@ -28,7 +28,7 @@ if TYPE_CHECKING:
|
|
|
28
28
|
from datetime import datetime
|
|
29
29
|
from lightning_sdk.lightning_cloud.openapi.models import *
|
|
30
30
|
|
|
31
|
-
class
|
|
31
|
+
class CloudyServiceUpdateUserCloudySettingsBody(object):
|
|
32
32
|
"""NOTE: This class is auto generated by the swagger code generator program.
|
|
33
33
|
|
|
34
34
|
Do not edit the class manually.
|
|
@@ -55,7 +55,7 @@ class UserUserIdBody(object):
|
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
def __init__(self, default_mode: 'str' =None, preferred_diff_viewer: 'str' =None, preferred_experts: 'list[str]' =None, preferred_models: 'list[str]' =None): # noqa: E501
|
|
58
|
-
"""
|
|
58
|
+
"""CloudyServiceUpdateUserCloudySettingsBody - a model defined in Swagger""" # noqa: E501
|
|
59
59
|
self._default_mode = None
|
|
60
60
|
self._preferred_diff_viewer = None
|
|
61
61
|
self._preferred_experts = None
|
|
@@ -72,20 +72,20 @@ class UserUserIdBody(object):
|
|
|
72
72
|
|
|
73
73
|
@property
|
|
74
74
|
def default_mode(self) -> 'str':
|
|
75
|
-
"""Gets the default_mode of this
|
|
75
|
+
"""Gets the default_mode of this CloudyServiceUpdateUserCloudySettingsBody. # noqa: E501
|
|
76
76
|
|
|
77
77
|
|
|
78
|
-
:return: The default_mode of this
|
|
78
|
+
:return: The default_mode of this CloudyServiceUpdateUserCloudySettingsBody. # noqa: E501
|
|
79
79
|
:rtype: str
|
|
80
80
|
"""
|
|
81
81
|
return self._default_mode
|
|
82
82
|
|
|
83
83
|
@default_mode.setter
|
|
84
84
|
def default_mode(self, default_mode: 'str'):
|
|
85
|
-
"""Sets the default_mode of this
|
|
85
|
+
"""Sets the default_mode of this CloudyServiceUpdateUserCloudySettingsBody.
|
|
86
86
|
|
|
87
87
|
|
|
88
|
-
:param default_mode: The default_mode of this
|
|
88
|
+
:param default_mode: The default_mode of this CloudyServiceUpdateUserCloudySettingsBody. # noqa: E501
|
|
89
89
|
:type: str
|
|
90
90
|
"""
|
|
91
91
|
|
|
@@ -93,20 +93,20 @@ class UserUserIdBody(object):
|
|
|
93
93
|
|
|
94
94
|
@property
|
|
95
95
|
def preferred_diff_viewer(self) -> 'str':
|
|
96
|
-
"""Gets the preferred_diff_viewer of this
|
|
96
|
+
"""Gets the preferred_diff_viewer of this CloudyServiceUpdateUserCloudySettingsBody. # noqa: E501
|
|
97
97
|
|
|
98
98
|
|
|
99
|
-
:return: The preferred_diff_viewer of this
|
|
99
|
+
:return: The preferred_diff_viewer of this CloudyServiceUpdateUserCloudySettingsBody. # noqa: E501
|
|
100
100
|
:rtype: str
|
|
101
101
|
"""
|
|
102
102
|
return self._preferred_diff_viewer
|
|
103
103
|
|
|
104
104
|
@preferred_diff_viewer.setter
|
|
105
105
|
def preferred_diff_viewer(self, preferred_diff_viewer: 'str'):
|
|
106
|
-
"""Sets the preferred_diff_viewer of this
|
|
106
|
+
"""Sets the preferred_diff_viewer of this CloudyServiceUpdateUserCloudySettingsBody.
|
|
107
107
|
|
|
108
108
|
|
|
109
|
-
:param preferred_diff_viewer: The preferred_diff_viewer of this
|
|
109
|
+
:param preferred_diff_viewer: The preferred_diff_viewer of this CloudyServiceUpdateUserCloudySettingsBody. # noqa: E501
|
|
110
110
|
:type: str
|
|
111
111
|
"""
|
|
112
112
|
|
|
@@ -114,20 +114,20 @@ class UserUserIdBody(object):
|
|
|
114
114
|
|
|
115
115
|
@property
|
|
116
116
|
def preferred_experts(self) -> 'list[str]':
|
|
117
|
-
"""Gets the preferred_experts of this
|
|
117
|
+
"""Gets the preferred_experts of this CloudyServiceUpdateUserCloudySettingsBody. # noqa: E501
|
|
118
118
|
|
|
119
119
|
|
|
120
|
-
:return: The preferred_experts of this
|
|
120
|
+
:return: The preferred_experts of this CloudyServiceUpdateUserCloudySettingsBody. # noqa: E501
|
|
121
121
|
:rtype: list[str]
|
|
122
122
|
"""
|
|
123
123
|
return self._preferred_experts
|
|
124
124
|
|
|
125
125
|
@preferred_experts.setter
|
|
126
126
|
def preferred_experts(self, preferred_experts: 'list[str]'):
|
|
127
|
-
"""Sets the preferred_experts of this
|
|
127
|
+
"""Sets the preferred_experts of this CloudyServiceUpdateUserCloudySettingsBody.
|
|
128
128
|
|
|
129
129
|
|
|
130
|
-
:param preferred_experts: The preferred_experts of this
|
|
130
|
+
:param preferred_experts: The preferred_experts of this CloudyServiceUpdateUserCloudySettingsBody. # noqa: E501
|
|
131
131
|
:type: list[str]
|
|
132
132
|
"""
|
|
133
133
|
|
|
@@ -135,20 +135,20 @@ class UserUserIdBody(object):
|
|
|
135
135
|
|
|
136
136
|
@property
|
|
137
137
|
def preferred_models(self) -> 'list[str]':
|
|
138
|
-
"""Gets the preferred_models of this
|
|
138
|
+
"""Gets the preferred_models of this CloudyServiceUpdateUserCloudySettingsBody. # noqa: E501
|
|
139
139
|
|
|
140
140
|
|
|
141
|
-
:return: The preferred_models of this
|
|
141
|
+
:return: The preferred_models of this CloudyServiceUpdateUserCloudySettingsBody. # noqa: E501
|
|
142
142
|
:rtype: list[str]
|
|
143
143
|
"""
|
|
144
144
|
return self._preferred_models
|
|
145
145
|
|
|
146
146
|
@preferred_models.setter
|
|
147
147
|
def preferred_models(self, preferred_models: 'list[str]'):
|
|
148
|
-
"""Sets the preferred_models of this
|
|
148
|
+
"""Sets the preferred_models of this CloudyServiceUpdateUserCloudySettingsBody.
|
|
149
149
|
|
|
150
150
|
|
|
151
|
-
:param preferred_models: The preferred_models of this
|
|
151
|
+
:param preferred_models: The preferred_models of this CloudyServiceUpdateUserCloudySettingsBody. # noqa: E501
|
|
152
152
|
:type: list[str]
|
|
153
153
|
"""
|
|
154
154
|
|
|
@@ -175,7 +175,7 @@ class UserUserIdBody(object):
|
|
|
175
175
|
))
|
|
176
176
|
else:
|
|
177
177
|
result[attr] = value
|
|
178
|
-
if issubclass(
|
|
178
|
+
if issubclass(CloudyServiceUpdateUserCloudySettingsBody, dict):
|
|
179
179
|
for key, value in self.items():
|
|
180
180
|
result[key] = value
|
|
181
181
|
|
|
@@ -189,13 +189,13 @@ class UserUserIdBody(object):
|
|
|
189
189
|
"""For `print` and `pprint`"""
|
|
190
190
|
return self.to_str()
|
|
191
191
|
|
|
192
|
-
def __eq__(self, other: '
|
|
192
|
+
def __eq__(self, other: 'CloudyServiceUpdateUserCloudySettingsBody') -> bool:
|
|
193
193
|
"""Returns true if both objects are equal"""
|
|
194
|
-
if not isinstance(other,
|
|
194
|
+
if not isinstance(other, CloudyServiceUpdateUserCloudySettingsBody):
|
|
195
195
|
return False
|
|
196
196
|
|
|
197
197
|
return self.__dict__ == other.__dict__
|
|
198
198
|
|
|
199
|
-
def __ne__(self, other: '
|
|
199
|
+
def __ne__(self, other: 'CloudyServiceUpdateUserCloudySettingsBody') -> bool:
|
|
200
200
|
"""Returns true if both objects are not equal"""
|
|
201
201
|
return not self == other
|
|
@@ -28,7 +28,7 @@ if TYPE_CHECKING:
|
|
|
28
28
|
from datetime import datetime
|
|
29
29
|
from lightning_sdk.lightning_cloud.openapi.models import *
|
|
30
30
|
|
|
31
|
-
class
|
|
31
|
+
class ClusterServiceCreateClusterCapacityReservationBody(object):
|
|
32
32
|
"""NOTE: This class is auto generated by the swagger code generator program.
|
|
33
33
|
|
|
34
34
|
Do not edit the class manually.
|
|
@@ -65,7 +65,7 @@ class ClusterIdCapacityreservationsBody(object):
|
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
def __init__(self, capacity_reservation_type: 'str' =None, cloud_provider_capacity_reservation_id: 'str' =None, end_time: 'datetime' =None, full_cloud_provider_reservation_string: 'str' =None, instance_type: 'str' =None, match_pattern: 'str' =None, region: 'str' =None, start_time: 'datetime' =None, zone: 'str' =None): # noqa: E501
|
|
68
|
-
"""
|
|
68
|
+
"""ClusterServiceCreateClusterCapacityReservationBody - a model defined in Swagger""" # noqa: E501
|
|
69
69
|
self._capacity_reservation_type = None
|
|
70
70
|
self._cloud_provider_capacity_reservation_id = None
|
|
71
71
|
self._end_time = None
|
|
@@ -97,20 +97,20 @@ class ClusterIdCapacityreservationsBody(object):
|
|
|
97
97
|
|
|
98
98
|
@property
|
|
99
99
|
def capacity_reservation_type(self) -> 'str':
|
|
100
|
-
"""Gets the capacity_reservation_type of this
|
|
100
|
+
"""Gets the capacity_reservation_type of this ClusterServiceCreateClusterCapacityReservationBody. # noqa: E501
|
|
101
101
|
|
|
102
102
|
|
|
103
|
-
:return: The capacity_reservation_type of this
|
|
103
|
+
:return: The capacity_reservation_type of this ClusterServiceCreateClusterCapacityReservationBody. # noqa: E501
|
|
104
104
|
:rtype: str
|
|
105
105
|
"""
|
|
106
106
|
return self._capacity_reservation_type
|
|
107
107
|
|
|
108
108
|
@capacity_reservation_type.setter
|
|
109
109
|
def capacity_reservation_type(self, capacity_reservation_type: 'str'):
|
|
110
|
-
"""Sets the capacity_reservation_type of this
|
|
110
|
+
"""Sets the capacity_reservation_type of this ClusterServiceCreateClusterCapacityReservationBody.
|
|
111
111
|
|
|
112
112
|
|
|
113
|
-
:param capacity_reservation_type: The capacity_reservation_type of this
|
|
113
|
+
:param capacity_reservation_type: The capacity_reservation_type of this ClusterServiceCreateClusterCapacityReservationBody. # noqa: E501
|
|
114
114
|
:type: str
|
|
115
115
|
"""
|
|
116
116
|
|
|
@@ -118,20 +118,20 @@ class ClusterIdCapacityreservationsBody(object):
|
|
|
118
118
|
|
|
119
119
|
@property
|
|
120
120
|
def cloud_provider_capacity_reservation_id(self) -> 'str':
|
|
121
|
-
"""Gets the cloud_provider_capacity_reservation_id of this
|
|
121
|
+
"""Gets the cloud_provider_capacity_reservation_id of this ClusterServiceCreateClusterCapacityReservationBody. # noqa: E501
|
|
122
122
|
|
|
123
123
|
|
|
124
|
-
:return: The cloud_provider_capacity_reservation_id of this
|
|
124
|
+
:return: The cloud_provider_capacity_reservation_id of this ClusterServiceCreateClusterCapacityReservationBody. # noqa: E501
|
|
125
125
|
:rtype: str
|
|
126
126
|
"""
|
|
127
127
|
return self._cloud_provider_capacity_reservation_id
|
|
128
128
|
|
|
129
129
|
@cloud_provider_capacity_reservation_id.setter
|
|
130
130
|
def cloud_provider_capacity_reservation_id(self, cloud_provider_capacity_reservation_id: 'str'):
|
|
131
|
-
"""Sets the cloud_provider_capacity_reservation_id of this
|
|
131
|
+
"""Sets the cloud_provider_capacity_reservation_id of this ClusterServiceCreateClusterCapacityReservationBody.
|
|
132
132
|
|
|
133
133
|
|
|
134
|
-
:param cloud_provider_capacity_reservation_id: The cloud_provider_capacity_reservation_id of this
|
|
134
|
+
:param cloud_provider_capacity_reservation_id: The cloud_provider_capacity_reservation_id of this ClusterServiceCreateClusterCapacityReservationBody. # noqa: E501
|
|
135
135
|
:type: str
|
|
136
136
|
"""
|
|
137
137
|
|
|
@@ -139,20 +139,20 @@ class ClusterIdCapacityreservationsBody(object):
|
|
|
139
139
|
|
|
140
140
|
@property
|
|
141
141
|
def end_time(self) -> 'datetime':
|
|
142
|
-
"""Gets the end_time of this
|
|
142
|
+
"""Gets the end_time of this ClusterServiceCreateClusterCapacityReservationBody. # noqa: E501
|
|
143
143
|
|
|
144
144
|
|
|
145
|
-
:return: The end_time of this
|
|
145
|
+
:return: The end_time of this ClusterServiceCreateClusterCapacityReservationBody. # noqa: E501
|
|
146
146
|
:rtype: datetime
|
|
147
147
|
"""
|
|
148
148
|
return self._end_time
|
|
149
149
|
|
|
150
150
|
@end_time.setter
|
|
151
151
|
def end_time(self, end_time: 'datetime'):
|
|
152
|
-
"""Sets the end_time of this
|
|
152
|
+
"""Sets the end_time of this ClusterServiceCreateClusterCapacityReservationBody.
|
|
153
153
|
|
|
154
154
|
|
|
155
|
-
:param end_time: The end_time of this
|
|
155
|
+
:param end_time: The end_time of this ClusterServiceCreateClusterCapacityReservationBody. # noqa: E501
|
|
156
156
|
:type: datetime
|
|
157
157
|
"""
|
|
158
158
|
|
|
@@ -160,20 +160,20 @@ class ClusterIdCapacityreservationsBody(object):
|
|
|
160
160
|
|
|
161
161
|
@property
|
|
162
162
|
def full_cloud_provider_reservation_string(self) -> 'str':
|
|
163
|
-
"""Gets the full_cloud_provider_reservation_string of this
|
|
163
|
+
"""Gets the full_cloud_provider_reservation_string of this ClusterServiceCreateClusterCapacityReservationBody. # noqa: E501
|
|
164
164
|
|
|
165
165
|
|
|
166
|
-
:return: The full_cloud_provider_reservation_string of this
|
|
166
|
+
:return: The full_cloud_provider_reservation_string of this ClusterServiceCreateClusterCapacityReservationBody. # noqa: E501
|
|
167
167
|
:rtype: str
|
|
168
168
|
"""
|
|
169
169
|
return self._full_cloud_provider_reservation_string
|
|
170
170
|
|
|
171
171
|
@full_cloud_provider_reservation_string.setter
|
|
172
172
|
def full_cloud_provider_reservation_string(self, full_cloud_provider_reservation_string: 'str'):
|
|
173
|
-
"""Sets the full_cloud_provider_reservation_string of this
|
|
173
|
+
"""Sets the full_cloud_provider_reservation_string of this ClusterServiceCreateClusterCapacityReservationBody.
|
|
174
174
|
|
|
175
175
|
|
|
176
|
-
:param full_cloud_provider_reservation_string: The full_cloud_provider_reservation_string of this
|
|
176
|
+
:param full_cloud_provider_reservation_string: The full_cloud_provider_reservation_string of this ClusterServiceCreateClusterCapacityReservationBody. # noqa: E501
|
|
177
177
|
:type: str
|
|
178
178
|
"""
|
|
179
179
|
|
|
@@ -181,20 +181,20 @@ class ClusterIdCapacityreservationsBody(object):
|
|
|
181
181
|
|
|
182
182
|
@property
|
|
183
183
|
def instance_type(self) -> 'str':
|
|
184
|
-
"""Gets the instance_type of this
|
|
184
|
+
"""Gets the instance_type of this ClusterServiceCreateClusterCapacityReservationBody. # noqa: E501
|
|
185
185
|
|
|
186
186
|
|
|
187
|
-
:return: The instance_type of this
|
|
187
|
+
:return: The instance_type of this ClusterServiceCreateClusterCapacityReservationBody. # noqa: E501
|
|
188
188
|
:rtype: str
|
|
189
189
|
"""
|
|
190
190
|
return self._instance_type
|
|
191
191
|
|
|
192
192
|
@instance_type.setter
|
|
193
193
|
def instance_type(self, instance_type: 'str'):
|
|
194
|
-
"""Sets the instance_type of this
|
|
194
|
+
"""Sets the instance_type of this ClusterServiceCreateClusterCapacityReservationBody.
|
|
195
195
|
|
|
196
196
|
|
|
197
|
-
:param instance_type: The instance_type of this
|
|
197
|
+
:param instance_type: The instance_type of this ClusterServiceCreateClusterCapacityReservationBody. # noqa: E501
|
|
198
198
|
:type: str
|
|
199
199
|
"""
|
|
200
200
|
|
|
@@ -202,20 +202,20 @@ class ClusterIdCapacityreservationsBody(object):
|
|
|
202
202
|
|
|
203
203
|
@property
|
|
204
204
|
def match_pattern(self) -> 'str':
|
|
205
|
-
"""Gets the match_pattern of this
|
|
205
|
+
"""Gets the match_pattern of this ClusterServiceCreateClusterCapacityReservationBody. # noqa: E501
|
|
206
206
|
|
|
207
207
|
|
|
208
|
-
:return: The match_pattern of this
|
|
208
|
+
:return: The match_pattern of this ClusterServiceCreateClusterCapacityReservationBody. # noqa: E501
|
|
209
209
|
:rtype: str
|
|
210
210
|
"""
|
|
211
211
|
return self._match_pattern
|
|
212
212
|
|
|
213
213
|
@match_pattern.setter
|
|
214
214
|
def match_pattern(self, match_pattern: 'str'):
|
|
215
|
-
"""Sets the match_pattern of this
|
|
215
|
+
"""Sets the match_pattern of this ClusterServiceCreateClusterCapacityReservationBody.
|
|
216
216
|
|
|
217
217
|
|
|
218
|
-
:param match_pattern: The match_pattern of this
|
|
218
|
+
:param match_pattern: The match_pattern of this ClusterServiceCreateClusterCapacityReservationBody. # noqa: E501
|
|
219
219
|
:type: str
|
|
220
220
|
"""
|
|
221
221
|
|
|
@@ -223,20 +223,20 @@ class ClusterIdCapacityreservationsBody(object):
|
|
|
223
223
|
|
|
224
224
|
@property
|
|
225
225
|
def region(self) -> 'str':
|
|
226
|
-
"""Gets the region of this
|
|
226
|
+
"""Gets the region of this ClusterServiceCreateClusterCapacityReservationBody. # noqa: E501
|
|
227
227
|
|
|
228
228
|
|
|
229
|
-
:return: The region of this
|
|
229
|
+
:return: The region of this ClusterServiceCreateClusterCapacityReservationBody. # noqa: E501
|
|
230
230
|
:rtype: str
|
|
231
231
|
"""
|
|
232
232
|
return self._region
|
|
233
233
|
|
|
234
234
|
@region.setter
|
|
235
235
|
def region(self, region: 'str'):
|
|
236
|
-
"""Sets the region of this
|
|
236
|
+
"""Sets the region of this ClusterServiceCreateClusterCapacityReservationBody.
|
|
237
237
|
|
|
238
238
|
|
|
239
|
-
:param region: The region of this
|
|
239
|
+
:param region: The region of this ClusterServiceCreateClusterCapacityReservationBody. # noqa: E501
|
|
240
240
|
:type: str
|
|
241
241
|
"""
|
|
242
242
|
|
|
@@ -244,20 +244,20 @@ class ClusterIdCapacityreservationsBody(object):
|
|
|
244
244
|
|
|
245
245
|
@property
|
|
246
246
|
def start_time(self) -> 'datetime':
|
|
247
|
-
"""Gets the start_time of this
|
|
247
|
+
"""Gets the start_time of this ClusterServiceCreateClusterCapacityReservationBody. # noqa: E501
|
|
248
248
|
|
|
249
249
|
|
|
250
|
-
:return: The start_time of this
|
|
250
|
+
:return: The start_time of this ClusterServiceCreateClusterCapacityReservationBody. # noqa: E501
|
|
251
251
|
:rtype: datetime
|
|
252
252
|
"""
|
|
253
253
|
return self._start_time
|
|
254
254
|
|
|
255
255
|
@start_time.setter
|
|
256
256
|
def start_time(self, start_time: 'datetime'):
|
|
257
|
-
"""Sets the start_time of this
|
|
257
|
+
"""Sets the start_time of this ClusterServiceCreateClusterCapacityReservationBody.
|
|
258
258
|
|
|
259
259
|
|
|
260
|
-
:param start_time: The start_time of this
|
|
260
|
+
:param start_time: The start_time of this ClusterServiceCreateClusterCapacityReservationBody. # noqa: E501
|
|
261
261
|
:type: datetime
|
|
262
262
|
"""
|
|
263
263
|
|
|
@@ -265,20 +265,20 @@ class ClusterIdCapacityreservationsBody(object):
|
|
|
265
265
|
|
|
266
266
|
@property
|
|
267
267
|
def zone(self) -> 'str':
|
|
268
|
-
"""Gets the zone of this
|
|
268
|
+
"""Gets the zone of this ClusterServiceCreateClusterCapacityReservationBody. # noqa: E501
|
|
269
269
|
|
|
270
270
|
|
|
271
|
-
:return: The zone of this
|
|
271
|
+
:return: The zone of this ClusterServiceCreateClusterCapacityReservationBody. # noqa: E501
|
|
272
272
|
:rtype: str
|
|
273
273
|
"""
|
|
274
274
|
return self._zone
|
|
275
275
|
|
|
276
276
|
@zone.setter
|
|
277
277
|
def zone(self, zone: 'str'):
|
|
278
|
-
"""Sets the zone of this
|
|
278
|
+
"""Sets the zone of this ClusterServiceCreateClusterCapacityReservationBody.
|
|
279
279
|
|
|
280
280
|
|
|
281
|
-
:param zone: The zone of this
|
|
281
|
+
:param zone: The zone of this ClusterServiceCreateClusterCapacityReservationBody. # noqa: E501
|
|
282
282
|
:type: str
|
|
283
283
|
"""
|
|
284
284
|
|
|
@@ -305,7 +305,7 @@ class ClusterIdCapacityreservationsBody(object):
|
|
|
305
305
|
))
|
|
306
306
|
else:
|
|
307
307
|
result[attr] = value
|
|
308
|
-
if issubclass(
|
|
308
|
+
if issubclass(ClusterServiceCreateClusterCapacityReservationBody, dict):
|
|
309
309
|
for key, value in self.items():
|
|
310
310
|
result[key] = value
|
|
311
311
|
|
|
@@ -319,13 +319,13 @@ class ClusterIdCapacityreservationsBody(object):
|
|
|
319
319
|
"""For `print` and `pprint`"""
|
|
320
320
|
return self.to_str()
|
|
321
321
|
|
|
322
|
-
def __eq__(self, other: '
|
|
322
|
+
def __eq__(self, other: 'ClusterServiceCreateClusterCapacityReservationBody') -> bool:
|
|
323
323
|
"""Returns true if both objects are equal"""
|
|
324
|
-
if not isinstance(other,
|
|
324
|
+
if not isinstance(other, ClusterServiceCreateClusterCapacityReservationBody):
|
|
325
325
|
return False
|
|
326
326
|
|
|
327
327
|
return self.__dict__ == other.__dict__
|
|
328
328
|
|
|
329
|
-
def __ne__(self, other: '
|
|
329
|
+
def __ne__(self, other: 'ClusterServiceCreateClusterCapacityReservationBody') -> bool:
|
|
330
330
|
"""Returns true if both objects are not equal"""
|
|
331
331
|
return not self == other
|
|
@@ -28,7 +28,7 @@ if TYPE_CHECKING:
|
|
|
28
28
|
from datetime import datetime
|
|
29
29
|
from lightning_sdk.lightning_cloud.openapi.models import *
|
|
30
30
|
|
|
31
|
-
class
|
|
31
|
+
class ClusterServiceCreateClusterProxyBody(object):
|
|
32
32
|
"""NOTE: This class is auto generated by the swagger code generator program.
|
|
33
33
|
|
|
34
34
|
Do not edit the class manually.
|
|
@@ -49,7 +49,7 @@ class IdPublicationsBody1(object):
|
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
def __init__(self, org_id: 'str' =None): # noqa: E501
|
|
52
|
-
"""
|
|
52
|
+
"""ClusterServiceCreateClusterProxyBody - a model defined in Swagger""" # noqa: E501
|
|
53
53
|
self._org_id = None
|
|
54
54
|
self.discriminator = None
|
|
55
55
|
if org_id is not None:
|
|
@@ -57,20 +57,20 @@ class IdPublicationsBody1(object):
|
|
|
57
57
|
|
|
58
58
|
@property
|
|
59
59
|
def org_id(self) -> 'str':
|
|
60
|
-
"""Gets the org_id of this
|
|
60
|
+
"""Gets the org_id of this ClusterServiceCreateClusterProxyBody. # noqa: E501
|
|
61
61
|
|
|
62
62
|
|
|
63
|
-
:return: The org_id of this
|
|
63
|
+
:return: The org_id of this ClusterServiceCreateClusterProxyBody. # noqa: E501
|
|
64
64
|
:rtype: str
|
|
65
65
|
"""
|
|
66
66
|
return self._org_id
|
|
67
67
|
|
|
68
68
|
@org_id.setter
|
|
69
69
|
def org_id(self, org_id: 'str'):
|
|
70
|
-
"""Sets the org_id of this
|
|
70
|
+
"""Sets the org_id of this ClusterServiceCreateClusterProxyBody.
|
|
71
71
|
|
|
72
72
|
|
|
73
|
-
:param org_id: The org_id of this
|
|
73
|
+
:param org_id: The org_id of this ClusterServiceCreateClusterProxyBody. # noqa: E501
|
|
74
74
|
:type: str
|
|
75
75
|
"""
|
|
76
76
|
|
|
@@ -97,7 +97,7 @@ class IdPublicationsBody1(object):
|
|
|
97
97
|
))
|
|
98
98
|
else:
|
|
99
99
|
result[attr] = value
|
|
100
|
-
if issubclass(
|
|
100
|
+
if issubclass(ClusterServiceCreateClusterProxyBody, dict):
|
|
101
101
|
for key, value in self.items():
|
|
102
102
|
result[key] = value
|
|
103
103
|
|
|
@@ -111,13 +111,13 @@ class IdPublicationsBody1(object):
|
|
|
111
111
|
"""For `print` and `pprint`"""
|
|
112
112
|
return self.to_str()
|
|
113
113
|
|
|
114
|
-
def __eq__(self, other: '
|
|
114
|
+
def __eq__(self, other: 'ClusterServiceCreateClusterProxyBody') -> bool:
|
|
115
115
|
"""Returns true if both objects are equal"""
|
|
116
|
-
if not isinstance(other,
|
|
116
|
+
if not isinstance(other, ClusterServiceCreateClusterProxyBody):
|
|
117
117
|
return False
|
|
118
118
|
|
|
119
119
|
return self.__dict__ == other.__dict__
|
|
120
120
|
|
|
121
|
-
def __ne__(self, other: '
|
|
121
|
+
def __ne__(self, other: 'ClusterServiceCreateClusterProxyBody') -> bool:
|
|
122
122
|
"""Returns true if both objects are not equal"""
|
|
123
123
|
return not self == other
|
|
@@ -28,7 +28,7 @@ if TYPE_CHECKING:
|
|
|
28
28
|
from datetime import datetime
|
|
29
29
|
from lightning_sdk.lightning_cloud.openapi.models import *
|
|
30
30
|
|
|
31
|
-
class
|
|
31
|
+
class ClusterServiceCreateClusterUsageRestrictionBody(object):
|
|
32
32
|
"""NOTE: This class is auto generated by the swagger code generator program.
|
|
33
33
|
|
|
34
34
|
Do not edit the class manually.
|
|
@@ -55,7 +55,7 @@ class ClusterIdUsagerestrictionsBody(object):
|
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
def __init__(self, instance_type: 'str' =None, max_instances: 'int' =None, org_id: 'str' =None, restriction_type: 'str' =None): # noqa: E501
|
|
58
|
-
"""
|
|
58
|
+
"""ClusterServiceCreateClusterUsageRestrictionBody - a model defined in Swagger""" # noqa: E501
|
|
59
59
|
self._instance_type = None
|
|
60
60
|
self._max_instances = None
|
|
61
61
|
self._org_id = None
|
|
@@ -72,20 +72,20 @@ class ClusterIdUsagerestrictionsBody(object):
|
|
|
72
72
|
|
|
73
73
|
@property
|
|
74
74
|
def instance_type(self) -> 'str':
|
|
75
|
-
"""Gets the instance_type of this
|
|
75
|
+
"""Gets the instance_type of this ClusterServiceCreateClusterUsageRestrictionBody. # noqa: E501
|
|
76
76
|
|
|
77
77
|
|
|
78
|
-
:return: The instance_type of this
|
|
78
|
+
:return: The instance_type of this ClusterServiceCreateClusterUsageRestrictionBody. # noqa: E501
|
|
79
79
|
:rtype: str
|
|
80
80
|
"""
|
|
81
81
|
return self._instance_type
|
|
82
82
|
|
|
83
83
|
@instance_type.setter
|
|
84
84
|
def instance_type(self, instance_type: 'str'):
|
|
85
|
-
"""Sets the instance_type of this
|
|
85
|
+
"""Sets the instance_type of this ClusterServiceCreateClusterUsageRestrictionBody.
|
|
86
86
|
|
|
87
87
|
|
|
88
|
-
:param instance_type: The instance_type of this
|
|
88
|
+
:param instance_type: The instance_type of this ClusterServiceCreateClusterUsageRestrictionBody. # noqa: E501
|
|
89
89
|
:type: str
|
|
90
90
|
"""
|
|
91
91
|
|
|
@@ -93,20 +93,20 @@ class ClusterIdUsagerestrictionsBody(object):
|
|
|
93
93
|
|
|
94
94
|
@property
|
|
95
95
|
def max_instances(self) -> 'int':
|
|
96
|
-
"""Gets the max_instances of this
|
|
96
|
+
"""Gets the max_instances of this ClusterServiceCreateClusterUsageRestrictionBody. # noqa: E501
|
|
97
97
|
|
|
98
98
|
|
|
99
|
-
:return: The max_instances of this
|
|
99
|
+
:return: The max_instances of this ClusterServiceCreateClusterUsageRestrictionBody. # noqa: E501
|
|
100
100
|
:rtype: int
|
|
101
101
|
"""
|
|
102
102
|
return self._max_instances
|
|
103
103
|
|
|
104
104
|
@max_instances.setter
|
|
105
105
|
def max_instances(self, max_instances: 'int'):
|
|
106
|
-
"""Sets the max_instances of this
|
|
106
|
+
"""Sets the max_instances of this ClusterServiceCreateClusterUsageRestrictionBody.
|
|
107
107
|
|
|
108
108
|
|
|
109
|
-
:param max_instances: The max_instances of this
|
|
109
|
+
:param max_instances: The max_instances of this ClusterServiceCreateClusterUsageRestrictionBody. # noqa: E501
|
|
110
110
|
:type: int
|
|
111
111
|
"""
|
|
112
112
|
|
|
@@ -114,20 +114,20 @@ class ClusterIdUsagerestrictionsBody(object):
|
|
|
114
114
|
|
|
115
115
|
@property
|
|
116
116
|
def org_id(self) -> 'str':
|
|
117
|
-
"""Gets the org_id of this
|
|
117
|
+
"""Gets the org_id of this ClusterServiceCreateClusterUsageRestrictionBody. # noqa: E501
|
|
118
118
|
|
|
119
119
|
|
|
120
|
-
:return: The org_id of this
|
|
120
|
+
:return: The org_id of this ClusterServiceCreateClusterUsageRestrictionBody. # noqa: E501
|
|
121
121
|
:rtype: str
|
|
122
122
|
"""
|
|
123
123
|
return self._org_id
|
|
124
124
|
|
|
125
125
|
@org_id.setter
|
|
126
126
|
def org_id(self, org_id: 'str'):
|
|
127
|
-
"""Sets the org_id of this
|
|
127
|
+
"""Sets the org_id of this ClusterServiceCreateClusterUsageRestrictionBody.
|
|
128
128
|
|
|
129
129
|
|
|
130
|
-
:param org_id: The org_id of this
|
|
130
|
+
:param org_id: The org_id of this ClusterServiceCreateClusterUsageRestrictionBody. # noqa: E501
|
|
131
131
|
:type: str
|
|
132
132
|
"""
|
|
133
133
|
|
|
@@ -135,20 +135,20 @@ class ClusterIdUsagerestrictionsBody(object):
|
|
|
135
135
|
|
|
136
136
|
@property
|
|
137
137
|
def restriction_type(self) -> 'str':
|
|
138
|
-
"""Gets the restriction_type of this
|
|
138
|
+
"""Gets the restriction_type of this ClusterServiceCreateClusterUsageRestrictionBody. # noqa: E501
|
|
139
139
|
|
|
140
140
|
|
|
141
|
-
:return: The restriction_type of this
|
|
141
|
+
:return: The restriction_type of this ClusterServiceCreateClusterUsageRestrictionBody. # noqa: E501
|
|
142
142
|
:rtype: str
|
|
143
143
|
"""
|
|
144
144
|
return self._restriction_type
|
|
145
145
|
|
|
146
146
|
@restriction_type.setter
|
|
147
147
|
def restriction_type(self, restriction_type: 'str'):
|
|
148
|
-
"""Sets the restriction_type of this
|
|
148
|
+
"""Sets the restriction_type of this ClusterServiceCreateClusterUsageRestrictionBody.
|
|
149
149
|
|
|
150
150
|
|
|
151
|
-
:param restriction_type: The restriction_type of this
|
|
151
|
+
:param restriction_type: The restriction_type of this ClusterServiceCreateClusterUsageRestrictionBody. # noqa: E501
|
|
152
152
|
:type: str
|
|
153
153
|
"""
|
|
154
154
|
|
|
@@ -175,7 +175,7 @@ class ClusterIdUsagerestrictionsBody(object):
|
|
|
175
175
|
))
|
|
176
176
|
else:
|
|
177
177
|
result[attr] = value
|
|
178
|
-
if issubclass(
|
|
178
|
+
if issubclass(ClusterServiceCreateClusterUsageRestrictionBody, dict):
|
|
179
179
|
for key, value in self.items():
|
|
180
180
|
result[key] = value
|
|
181
181
|
|
|
@@ -189,13 +189,13 @@ class ClusterIdUsagerestrictionsBody(object):
|
|
|
189
189
|
"""For `print` and `pprint`"""
|
|
190
190
|
return self.to_str()
|
|
191
191
|
|
|
192
|
-
def __eq__(self, other: '
|
|
192
|
+
def __eq__(self, other: 'ClusterServiceCreateClusterUsageRestrictionBody') -> bool:
|
|
193
193
|
"""Returns true if both objects are equal"""
|
|
194
|
-
if not isinstance(other,
|
|
194
|
+
if not isinstance(other, ClusterServiceCreateClusterUsageRestrictionBody):
|
|
195
195
|
return False
|
|
196
196
|
|
|
197
197
|
return self.__dict__ == other.__dict__
|
|
198
198
|
|
|
199
|
-
def __ne__(self, other: '
|
|
199
|
+
def __ne__(self, other: 'ClusterServiceCreateClusterUsageRestrictionBody') -> bool:
|
|
200
200
|
"""Returns true if both objects are not equal"""
|
|
201
201
|
return not self == other
|