sdksio-verizon-apis-sdk 1.4.0 → 1.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +101 -86
- data/lib/verizon/client.rb +29 -20
- data/lib/verizon/configuration.rb +34 -83
- data/lib/verizon/controllers/account_devices_controller.rb +16 -16
- data/lib/verizon/controllers/account_requests_controller.rb +8 -8
- data/lib/verizon/controllers/account_subscriptions_controller.rb +26 -26
- data/lib/verizon/controllers/accounts_controller.rb +24 -24
- data/lib/verizon/controllers/anomaly_settings_controller.rb +24 -24
- data/lib/verizon/controllers/anomaly_triggers_controller.rb +114 -114
- data/lib/verizon/controllers/anomaly_triggers_v2_controller.rb +24 -24
- data/lib/verizon/controllers/base_controller.rb +9 -9
- data/lib/verizon/controllers/billing_controller.rb +32 -32
- data/lib/verizon/controllers/campaigns_v2_controller.rb +56 -56
- data/lib/verizon/controllers/campaigns_v3_controller.rb +52 -52
- data/lib/verizon/controllers/client_logging_controller.rb +49 -49
- data/lib/verizon/controllers/cloud_connector_devices_controller.rb +29 -29
- data/lib/verizon/controllers/cloud_connector_subscriptions_controller.rb +15 -15
- data/lib/verizon/controllers/configuration_files_controller.rb +16 -16
- data/lib/verizon/controllers/connectivity_callbacks_controller.rb +25 -25
- data/lib/verizon/controllers/device_actions_controller.rb +118 -25
- data/lib/verizon/controllers/device_diagnostics_controller.rb +16 -16
- data/lib/verizon/controllers/device_groups_controller.rb +41 -41
- data/lib/verizon/controllers/device_location_callbacks_controller.rb +63 -37
- data/lib/verizon/controllers/device_management_controller.rb +236 -236
- data/lib/verizon/controllers/device_monitoring_controller.rb +21 -24
- data/lib/verizon/controllers/device_profile_management_controller.rb +32 -32
- data/lib/verizon/controllers/device_reports_controller.rb +69 -69
- data/lib/verizon/controllers/device_service_management_controller.rb +46 -46
- data/lib/verizon/controllers/device_sms_messaging_controller.rb +32 -32
- data/lib/verizon/controllers/devices_location_subscriptions_controller.rb +19 -19
- data/lib/verizon/controllers/devices_locations_controller.rb +61 -88
- data/lib/verizon/controllers/diagnostics_callbacks_controller.rb +25 -25
- data/lib/verizon/controllers/diagnostics_factory_reset_controller.rb +8 -8
- data/lib/verizon/controllers/diagnostics_history_controller.rb +9 -9
- data/lib/verizon/controllers/diagnostics_observations_controller.rb +16 -16
- data/lib/verizon/controllers/diagnostics_settings_controller.rb +9 -9
- data/lib/verizon/controllers/diagnostics_subscriptions_controller.rb +8 -8
- data/lib/verizon/controllers/euicc_device_profile_management_controller.rb +40 -40
- data/lib/verizon/controllers/exclusions_controller.rb +104 -28
- data/lib/verizon/controllers/firmware_v1_controller.rb +53 -53
- data/lib/verizon/controllers/firmware_v3_controller.rb +25 -25
- data/lib/verizon/controllers/fixed_wireless_qualification_controller.rb +8 -8
- data/lib/verizon/controllers/global_reporting_controller.rb +61 -64
- data/lib/verizon/controllers/hyper_precise_location_callbacks_controller.rb +69 -69
- data/lib/verizon/controllers/m_5g_bi_device_actions_controller.rb +88 -0
- data/lib/verizon/controllers/m_5g_edge_platforms_controller.rb +28 -28
- data/lib/verizon/controllers/m_v2_triggers_controller.rb +61 -0
- data/lib/verizon/controllers/managing_esim_profiles_controller.rb +142 -48
- data/lib/verizon/controllers/oauth_authorization_controller.rb +13 -13
- data/lib/verizon/controllers/performance_metrics_controller.rb +23 -23
- data/lib/verizon/controllers/promotion_period_information_controller.rb +18 -18
- data/lib/verizon/controllers/{mec_controller.rb → pwn_controller.rb} +55 -56
- data/lib/verizon/controllers/retrieve_the_triggers_controller.rb +32 -32
- data/lib/verizon/controllers/server_logging_controller.rb +9 -9
- data/lib/verizon/controllers/service_endpoints_controller.rb +85 -85
- data/lib/verizon/controllers/service_plans_controller.rb +9 -9
- data/lib/verizon/controllers/service_profiles_controller.rb +70 -70
- data/lib/verizon/controllers/session_management_controller.rb +24 -24
- data/lib/verizon/controllers/sim_actions_controller.rb +96 -52
- data/lib/verizon/controllers/sim_secure_for_io_t_licenses_controller.rb +52 -52
- data/lib/verizon/controllers/sms_controller.rb +24 -24
- data/lib/verizon/controllers/software_management_callbacks_v1_controller.rb +25 -25
- data/lib/verizon/controllers/software_management_callbacks_v2_controller.rb +32 -32
- data/lib/verizon/controllers/software_management_callbacks_v3_controller.rb +32 -32
- data/lib/verizon/controllers/software_management_licenses_v1_controller.rb +40 -40
- data/lib/verizon/controllers/software_management_licenses_v2_controller.rb +48 -48
- data/lib/verizon/controllers/software_management_licenses_v3_controller.rb +24 -24
- data/lib/verizon/controllers/software_management_reports_v1_controller.rb +25 -25
- data/lib/verizon/controllers/software_management_reports_v2_controller.rb +42 -42
- data/lib/verizon/controllers/software_management_reports_v3_controller.rb +25 -25
- data/lib/verizon/controllers/software_management_subscriptions_v1_controller.rb +16 -16
- data/lib/verizon/controllers/software_management_subscriptions_v2_controller.rb +8 -8
- data/lib/verizon/controllers/software_management_subscriptions_v3_controller.rb +8 -8
- data/lib/verizon/controllers/targets_controller.rb +26 -25
- data/lib/verizon/controllers/thing_space_quality_of_service_api_actions_controller.rb +16 -16
- data/lib/verizon/controllers/update_triggers_controller.rb +8 -8
- data/lib/verizon/controllers/usage_trigger_management_controller.rb +24 -24
- data/lib/verizon/controllers/wireless_network_performance_controller.rb +42 -41
- data/lib/verizon/exceptions/connectivity_management_result_exception.rb +15 -15
- data/lib/verizon/exceptions/default_response_exception.rb +15 -15
- data/lib/verizon/exceptions/device_diagnostics_result_exception.rb +15 -15
- data/lib/verizon/exceptions/device_location_result_exception.rb +15 -15
- data/lib/verizon/exceptions/edge_discovery_result_exception.rb +15 -15
- data/lib/verizon/exceptions/edge_performance_result_exception.rb +15 -15
- data/lib/verizon/exceptions/esim_rest_error_response_exception.rb +15 -15
- data/lib/verizon/exceptions/fota_v1_result_exception.rb +15 -15
- data/lib/verizon/exceptions/fota_v2_result_exception.rb +15 -15
- data/lib/verizon/exceptions/fota_v3_result_exception.rb +15 -15
- data/lib/verizon/exceptions/gio_rest_error_response_exception.rb +15 -15
- data/lib/verizon/exceptions/hyper_precise_location_result_exception.rb +15 -15
- data/lib/verizon/exceptions/intelligence_result_exception.rb +15 -15
- data/lib/verizon/exceptions/m_5g_bi_rest_error_response_exception.rb +37 -0
- data/lib/verizon/exceptions/oauth_provider_exception.rb +15 -15
- data/lib/verizon/exceptions/ready_sim_rest_error_response_exception.rb +15 -15
- data/lib/verizon/exceptions/rest_error_response_exception.rb +15 -15
- data/lib/verizon/exceptions/rules_engine_rest_error_response_exception.rb +42 -0
- data/lib/verizon/exceptions/security_result_exception.rb +15 -15
- data/lib/verizon/exceptions/wnp_rest_error_response_exception.rb +15 -15
- data/lib/verizon/http/api_response.rb +10 -10
- data/lib/verizon/http/auth/thingspace_oauth.rb +140 -0
- data/lib/verizon/http/auth/vz_m2m_token.rb +42 -0
- data/lib/verizon/models/{usage_request_body.rb → a_request_body_for_usage.rb} +6 -18
- data/lib/verizon/models/acceleration.rb +1 -3
- data/lib/verizon/models/account.rb +3 -7
- data/lib/verizon/models/account_consent_create.rb +59 -0
- data/lib/verizon/models/account_consent_update.rb +60 -0
- data/lib/verizon/models/account_details.rb +141 -0
- data/lib/verizon/models/account_device_list.rb +7 -8
- data/lib/verizon/models/account_device_list_request.rb +4 -11
- data/lib/verizon/models/account_device_list_result.rb +1 -2
- data/lib/verizon/models/account_group_share.rb +55 -0
- data/lib/verizon/models/account_group_share_individual.rb +69 -0
- data/lib/verizon/models/account_labels.rb +1 -2
- data/lib/verizon/models/account_lead.rb +1 -3
- data/lib/verizon/models/account_leads_result.rb +1 -2
- data/lib/verizon/models/account_license_device_list_item.rb +1 -2
- data/lib/verizon/models/account_license_info.rb +3 -6
- data/lib/verizon/models/account_service.rb +1 -3
- data/lib/verizon/models/action_account_group_share.rb +50 -0
- data/lib/verizon/models/activate_device_profile_request.rb +1 -3
- data/lib/verizon/models/add_devices_request.rb +2 -6
- data/lib/verizon/models/add_devices_result.rb +1 -2
- data/lib/verizon/models/address.rb +3 -10
- data/lib/verizon/models/address_item.rb +2 -7
- data/lib/verizon/models/aggregate_session_report.rb +1 -3
- data/lib/verizon/models/aggregate_session_report_request.rb +3 -8
- data/lib/verizon/models/aggregate_usage.rb +79 -0
- data/lib/verizon/models/aggregate_usage_error.rb +1 -3
- data/lib/verizon/models/aggregate_usage_item.rb +1 -2
- data/lib/verizon/models/aggregated_report_callback_result.rb +1 -2
- data/lib/verizon/models/anomaly_detection_request.rb +1 -2
- data/lib/verizon/models/anomaly_detection_settings.rb +1 -2
- data/lib/verizon/models/anomaly_trigger_request.rb +1 -2
- data/lib/verizon/models/anomaly_trigger_value.rb +3 -6
- data/lib/verizon/models/api_response_code.rb +1 -2
- data/lib/verizon/models/assign_license_request.rb +1 -3
- data/lib/verizon/models/associate_label_request.rb +1 -2
- data/lib/verizon/models/asynchronous_location_request_result.rb +1 -3
- data/lib/verizon/models/asynchronous_request_result.rb +1 -2
- data/lib/verizon/models/attribute_setting.rb +2 -6
- data/lib/verizon/models/bill_usage_request.rb +1 -3
- data/lib/verizon/models/billable_usage_report.rb +3 -6
- data/lib/verizon/models/billedusage_list_request.rb +1 -3
- data/lib/verizon/models/billing_cycle.rb +1 -2
- data/lib/verizon/models/bullseye_service_request.rb +1 -2
- data/lib/verizon/models/bullseye_service_result.rb +1 -2
- data/lib/verizon/models/callback_action_result.rb +1 -2
- data/lib/verizon/models/callback_created.rb +1 -3
- data/lib/verizon/models/callback_registered.rb +1 -2
- data/lib/verizon/models/callback_registration_request.rb +1 -3
- data/lib/verizon/models/callback_registration_result.rb +1 -2
- data/lib/verizon/models/campaign.rb +28 -12
- data/lib/verizon/models/campaign_firmware_upgrade.rb +24 -8
- data/lib/verizon/models/campaign_software.rb +6 -16
- data/lib/verizon/models/campaign_software_upgrade.rb +5 -12
- data/lib/verizon/models/carrier.rb +50 -0
- data/lib/verizon/models/carrier_actions_request.rb +2 -6
- data/lib/verizon/models/carrier_activate_request.rb +5 -12
- data/lib/verizon/models/carrier_deactivate_request.rb +3 -8
- data/lib/verizon/models/carrier_information.rb +1 -3
- data/lib/verizon/models/carrier_service_plan.rb +83 -0
- data/lib/verizon/models/change_configuration_request.rb +1 -2
- data/lib/verizon/models/change_configuration_response.rb +4 -12
- data/lib/verizon/models/change_device_id_request.rb +3 -8
- data/lib/verizon/models/change_plan.rb +68 -0
- data/lib/verizon/models/{change_pmec_device_i_paddress_request.rb → change_pwn_device_ipaddress_request.rb} +7 -8
- data/lib/verizon/models/{change_mec_device_ip_address_response.rb → change_pwn_device_ipaddress_response.rb} +3 -3
- data/lib/verizon/models/{change_pmec_device_profile_request.rb → change_pwn_device_profile_request.rb} +8 -10
- data/lib/verizon/models/{change_mec_device_profile_response.rb → change_pwn_device_profile_response.rb} +3 -3
- data/lib/verizon/models/{change_pmec_device_state_activate_request.rb → change_pwn_device_state_activate_request.rb} +8 -10
- data/lib/verizon/models/{change_pmec_device_i_paddress_bulk_request.rb → change_pwn_device_state_deactivate_request.rb} +7 -8
- data/lib/verizon/models/{change_mec_device_state_response.rb → change_pwn_device_state_response.rb} +3 -3
- data/lib/verizon/models/check_in_history_item.rb +2 -5
- data/lib/verizon/models/check_order_status_request.rb +1 -3
- data/lib/verizon/models/compute_resources_type.rb +1 -3
- data/lib/verizon/models/condition_account_group_share.rb +50 -0
- data/lib/verizon/models/connection_event.rb +1 -2
- data/lib/verizon/models/connection_history_result.rb +1 -2
- data/lib/verizon/models/connectivity_management_callback.rb +2 -5
- data/lib/verizon/models/consent_delete_request.rb +1 -2
- data/lib/verizon/models/consent_request.rb +1 -3
- data/lib/verizon/models/consent_transaction_id.rb +60 -0
- data/lib/verizon/models/contact_info_update_request.rb +1 -2
- data/lib/verizon/models/coordinates.rb +1 -2
- data/lib/verizon/models/create_device_group_request.rb +2 -4
- data/lib/verizon/models/create_io_t_application_request.rb +4 -9
- data/lib/verizon/models/create_io_t_application_response.rb +1 -3
- data/lib/verizon/models/create_subscription_request.rb +4 -10
- data/lib/verizon/models/create_target_request.rb +4 -12
- data/lib/verizon/models/create_target_request_fields.rb +1 -2
- data/lib/verizon/models/create_trigger_request.rb +4 -9
- data/lib/verizon/models/create_trigger_request_options.rb +4 -7
- data/lib/verizon/models/create_trigger_v2_request.rb +110 -0
- data/lib/verizon/models/custom_fields.rb +1 -2
- data/lib/verizon/models/custom_fields_update_request.rb +3 -6
- data/lib/verizon/models/customer_name.rb +2 -5
- data/lib/verizon/models/daily_usage.rb +68 -0
- data/lib/verizon/models/daily_usage_history.rb +106 -0
- data/lib/verizon/models/daily_usage_item.rb +1 -3
- data/lib/verizon/models/daily_usage_response.rb +80 -0
- data/lib/verizon/models/data_percentage100_trigger_attribute.rb +1 -2
- data/lib/verizon/models/data_percentage50_trigger_attribute.rb +1 -2
- data/lib/verizon/models/data_percentage75_trigger_attribute.rb +1 -2
- data/lib/verizon/models/data_percentage90_trigger_attribute.rb +1 -2
- data/lib/verizon/models/data_trigger_request.rb +1 -3
- data/lib/verizon/models/date_filter.rb +1 -2
- data/lib/verizon/models/deactivate_device_profile_request.rb +2 -5
- data/lib/verizon/models/delete_devices_request.rb +1 -2
- data/lib/verizon/models/delete_devices_result.rb +1 -3
- data/lib/verizon/models/delete_service_profile_result.rb +1 -2
- data/lib/verizon/models/delete_subscription_request.rb +1 -2
- data/lib/verizon/models/delete_target_request.rb +1 -2
- data/lib/verizon/models/deregister_service_endpoint_result.rb +1 -2
- data/lib/verizon/models/device.rb +1 -2
- data/lib/verizon/models/device_activation_request.rb +1 -2
- data/lib/verizon/models/device_aggregate_usage_list_request.rb +2 -6
- data/lib/verizon/models/device_connection_list_request.rb +1 -3
- data/lib/verizon/models/device_cost_center_request.rb +3 -7
- data/lib/verizon/models/device_diagnostics_callback.rb +2 -5
- data/lib/verizon/models/device_extended_diagnostics_request.rb +1 -2
- data/lib/verizon/models/device_filter.rb +1 -3
- data/lib/verizon/models/device_filter_without_account.rb +1 -3
- data/lib/verizon/models/device_firmware_list.rb +1 -2
- data/lib/verizon/models/device_firmware_upgrade.rb +4 -10
- data/lib/verizon/models/device_firmware_version.rb +2 -5
- data/lib/verizon/models/device_firmware_version_update_result.rb +1 -2
- data/lib/verizon/models/device_group.rb +2 -4
- data/lib/verizon/models/device_group_devices_data.rb +1 -3
- data/lib/verizon/models/device_group_update_request.rb +2 -4
- data/lib/verizon/models/device_id.rb +1 -2
- data/lib/verizon/models/device_id2.rb +1 -2
- data/lib/verizon/models/device_id_search.rb +5 -8
- data/lib/verizon/models/{esi_msubrequest.rb → device_idarray.rb} +11 -22
- data/lib/verizon/models/device_identifier.rb +1 -3
- data/lib/verizon/models/device_info.rb +1 -3
- data/lib/verizon/models/device_labels.rb +1 -2
- data/lib/verizon/models/device_list2.rb +2 -2
- data/lib/verizon/models/{device_list7.rb → device_list_ip.rb} +11 -12
- data/lib/verizon/models/device_list_query_item.rb +3 -8
- data/lib/verizon/models/device_list_query_result.rb +2 -4
- data/lib/verizon/models/device_list_result.rb +1 -3
- data/lib/verizon/models/device_list_with_service_address.rb +69 -0
- data/lib/verizon/models/device_list_with_service_address1.rb +69 -0
- data/lib/verizon/models/device_location_callback.rb +1 -2
- data/lib/verizon/models/device_location_subscription.rb +1 -3
- data/lib/verizon/models/device_log.rb +2 -5
- data/lib/verizon/models/device_logging_status.rb +1 -2
- data/lib/verizon/models/device_mismatch_list_request.rb +1 -3
- data/lib/verizon/models/device_prl_list_request.rb +2 -5
- data/lib/verizon/models/device_profile_request.rb +1 -3
- data/lib/verizon/models/device_propertylocation.rb +1 -2
- data/lib/verizon/models/device_provisioning_history_list_request.rb +1 -3
- data/lib/verizon/models/device_provisioning_history_list_result.rb +1 -2
- data/lib/verizon/models/device_reset_request.rb +1 -3
- data/lib/verizon/models/device_service_information.rb +1 -3
- data/lib/verizon/models/device_service_request.rb +1 -2
- data/lib/verizon/models/device_software_upgrade.rb +2 -6
- data/lib/verizon/models/device_suspension_status_request.rb +1 -3
- data/lib/verizon/models/device_upgrade_history.rb +3 -9
- data/lib/verizon/models/device_upload_request.rb +2 -5
- data/lib/verizon/models/device_usage_list_request.rb +1 -4
- data/lib/verizon/models/device_usage_list_result.rb +1 -2
- data/lib/verizon/models/devices_consent_result.rb +2 -6
- data/lib/verizon/models/diagnostic_observation_setting.rb +1 -3
- data/lib/verizon/models/diagnostics_category.rb +1 -2
- data/lib/verizon/models/diagnostics_observation_result.rb +1 -3
- data/lib/verizon/models/diagnostics_subscription.rb +2 -6
- data/lib/verizon/models/download_time_window.rb +1 -2
- data/lib/verizon/models/enable_promo_exp1.rb +1 -2
- data/lib/verizon/models/engagement.rb +1 -3
- data/lib/verizon/models/esim_device_id.rb +1 -2
- data/lib/verizon/models/esim_device_list.rb +2 -2
- data/lib/verizon/models/esim_global_device_list.rb +103 -0
- data/lib/verizon/models/esim_profile_request.rb +2 -5
- data/lib/verizon/models/esim_profile_request2.rb +87 -0
- data/lib/verizon/models/esim_provhistory_request.rb +1 -3
- data/lib/verizon/models/extended_attribute.rb +60 -0
- data/lib/verizon/models/extended_attributes.rb +1 -2
- data/lib/verizon/models/fall_back.rb +69 -0
- data/lib/verizon/models/feature.rb +52 -0
- data/lib/verizon/models/filter_criteria_account_group_share.rb +51 -0
- data/lib/verizon/models/find_device_by_property_response.rb +4 -13
- data/lib/verizon/models/firmware.rb +3 -8
- data/lib/verizon/models/firmware_campaign.rb +4 -12
- data/lib/verizon/models/firmware_package.rb +3 -8
- data/lib/verizon/models/firmware_upgrade.rb +2 -6
- data/lib/verizon/models/firmware_upgrade_change_request.rb +1 -2
- data/lib/verizon/models/firmware_upgrade_change_result.rb +1 -3
- data/lib/verizon/models/firmware_upgrade_device_list_item.rb +1 -3
- data/lib/verizon/models/firmware_upgrade_request.rb +13 -15
- data/lib/verizon/models/flow_info.rb +2 -4
- data/lib/verizon/models/fota_v1_callback_registration_request.rb +1 -4
- data/lib/verizon/models/fota_v1_callback_registration_result.rb +1 -2
- data/lib/verizon/models/fota_v2_subscription.rb +2 -4
- data/lib/verizon/models/fota_v3_subscription.rb +2 -4
- data/lib/verizon/models/get_account_device_consent.rb +71 -0
- data/lib/verizon/models/get_device_experience_score_bulk_request.rb +1 -2
- data/lib/verizon/models/get_device_experience_score_history_request.rb +1 -2
- data/lib/verizon/models/get_device_list_with_profiles_request.rb +2 -4
- data/lib/verizon/models/get_network_conditions_request.rb +1 -3
- data/lib/verizon/models/{get_mec_performance_consent_response.rb → get_pwn_performance_consent_response.rb} +4 -4
- data/lib/verizon/models/get_trigger_response.rb +6 -14
- data/lib/verizon/models/get_wireless_coverage_request.rb +2 -5
- data/lib/verizon/models/get_wireless_coverage_request_fwa.rb +2 -5
- data/lib/verizon/models/gio_deactivate_device_profile_request.rb +2 -5
- data/lib/verizon/models/gio_device_id.rb +1 -2
- data/lib/verizon/models/gio_profile_request.rb +1 -3
- data/lib/verizon/models/gio_sms_message.rb +1 -3
- data/lib/verizon/models/giosms_send_request.rb +3 -8
- data/lib/verizon/models/go_to_state_request.rb +12 -20
- data/lib/verizon/models/gpu.rb +2 -4
- data/lib/verizon/models/group_name.rb +50 -0
- data/lib/verizon/models/history.rb +1 -3
- data/lib/verizon/models/history_attribute_value.rb +1 -3
- data/lib/verizon/models/history_search_filter.rb +1 -3
- data/lib/verizon/models/history_search_limit_time.rb +1 -2
- data/lib/verizon/models/history_search_request.rb +1 -3
- data/lib/verizon/models/hyper_precise_location_callback.rb +1 -2
- data/lib/verizon/models/hyper_precise_location_fault.rb +1 -3
- data/lib/verizon/models/i_error_message.rb +2 -4
- data/lib/verizon/models/id.rb +1 -2
- data/lib/verizon/models/ip_pool.rb +1 -3
- data/lib/verizon/models/key_data_percentage50.rb +1 -2
- data/lib/verizon/models/keyschunk2.rb +4 -8
- data/lib/verizon/models/keysms_percentage50.rb +1 -2
- data/lib/verizon/models/kpi_info.rb +3 -8
- data/lib/verizon/models/kv_pair.rb +1 -2
- data/lib/verizon/models/label.rb +1 -2
- data/lib/verizon/models/license_device_id.rb +1 -2
- data/lib/verizon/models/license_device_list.rb +7 -8
- data/lib/verizon/models/list_all_service_endpoints_result.rb +1 -2
- data/lib/verizon/models/list_service_profiles_result.rb +1 -2
- data/lib/verizon/models/location.rb +1 -3
- data/lib/verizon/models/location_report.rb +2 -5
- data/lib/verizon/models/location_report_status.rb +1 -2
- data/lib/verizon/models/location_request.rb +1 -3
- data/lib/verizon/models/log_in_request.rb +1 -2
- data/lib/verizon/models/m_5g_bi_address.rb +115 -0
- data/lib/verizon/models/m_5g_bi_carrier_information.rb +50 -0
- data/lib/verizon/models/m_5g_bi_customer_name.rb +87 -0
- data/lib/verizon/models/m_5g_bi_request_response.rb +50 -0
- data/lib/verizon/models/m_5g_biaccount_nameobject.rb +202 -0
- data/lib/verizon/models/m_5g_biactivate_request.rb +112 -0
- data/lib/verizon/models/m_5g_biaddress_andcustomerinfo.rb +51 -0
- data/lib/verizon/models/m_5g_biaddress_andcustomerinfo2.rb +51 -0
- data/lib/verizon/models/{status.rb → m_5g_biattribute1.rb} +10 -10
- data/lib/verizon/models/m_5g_biattribute2.rb +59 -0
- data/lib/verizon/models/m_5g_bichange_request.rb +93 -0
- data/lib/verizon/models/m_5g_bidevice_detailsresponse.rb +68 -0
- data/lib/verizon/models/m_5g_bidevice_id.rb +50 -0
- data/lib/verizon/models/m_5g_bidevice_id1.rb +59 -0
- data/lib/verizon/models/m_5g_bidevice_idarray.rb +59 -0
- data/lib/verizon/models/m_5g_bikey_value1.rb +59 -0
- data/lib/verizon/models/m_5g_biprimary_placeofuse.rb +59 -0
- data/lib/verizon/models/managed_acc_added_list.rb +1 -2
- data/lib/verizon/models/managed_acc_provisioned_list.rb +1 -2
- data/lib/verizon/models/managed_account_cancel_request.rb +2 -4
- data/lib/verizon/models/managed_account_cancel_response.rb +2 -5
- data/lib/verizon/models/managed_accounts_add_request.rb +2 -4
- data/lib/verizon/models/managed_accounts_add_response.rb +1 -2
- data/lib/verizon/models/managed_accounts_get_all_response.rb +1 -2
- data/lib/verizon/models/managed_accounts_provision_request.rb +2 -4
- data/lib/verizon/models/managed_accounts_provision_response.rb +2 -5
- data/lib/verizon/models/mec_performance_metrics.rb +1 -3
- data/lib/verizon/models/mec_performance_query_result.rb +1 -2
- data/lib/verizon/models/mec_platform_resource.rb +2 -5
- data/lib/verizon/models/mec_platforms_additional_support_info.rb +1 -2
- data/lib/verizon/models/mismatched_device.rb +2 -6
- data/lib/verizon/models/move_device_request.rb +3 -7
- data/lib/verizon/models/network_resources_type.rb +2 -4
- data/lib/verizon/models/no_of_days_b4_promo_exp.rb +1 -2
- data/lib/verizon/models/notification.rb +18 -26
- data/lib/verizon/models/notification_report_request.rb +1 -3
- data/lib/verizon/models/notification_report_status_request.rb +1 -3
- data/lib/verizon/models/numerical_data.rb +1 -2
- data/lib/verizon/models/{oauth_scope_enum.rb → oauth_scope_thingspace_oauth_enum.rb} +18 -3
- data/lib/verizon/models/oauth_token.rb +2 -6
- data/lib/verizon/models/observation_request.rb +2 -5
- data/lib/verizon/models/place_of_use.rb +1 -2
- data/lib/verizon/models/position_data.rb +2 -6
- data/lib/verizon/models/position_error.rb +1 -4
- data/lib/verizon/models/price_plan_trigger.rb +51 -0
- data/lib/verizon/models/primary_place_of_use.rb +1 -2
- data/lib/verizon/models/profile_change_state_request.rb +1 -3
- data/lib/verizon/models/profile_request.rb +3 -7
- data/lib/verizon/models/profile_request2.rb +2 -5
- data/lib/verizon/models/profile_status_filter_enum.rb +38 -0
- data/lib/verizon/models/promo_alert.rb +1 -2
- data/lib/verizon/models/promo_alert1.rb +1 -2
- data/lib/verizon/models/promo_alert_trigger_request.rb +3 -6
- data/lib/verizon/models/property_device_id.rb +1 -2
- data/lib/verizon/models/provhistory_request.rb +1 -3
- data/lib/verizon/models/provisioning_history.rb +3 -8
- data/lib/verizon/models/provisioning_status_filter_enum.rb +62 -0
- data/lib/verizon/models/{mec_device_id.rb → pwn_device_id.rb} +4 -5
- data/lib/verizon/models/{mec_device_list.rb → pwn_device_list.rb} +5 -5
- data/lib/verizon/models/{mec_profile.rb → pwn_profile.rb} +4 -5
- data/lib/verizon/models/{mec_profile_list.rb → pwn_profile_list.rb} +5 -5
- data/lib/verizon/models/qos_device_id.rb +1 -2
- data/lib/verizon/models/qos_device_info.rb +1 -3
- data/lib/verizon/models/query_mec_performance_metrics_request.rb +1 -2
- data/lib/verizon/models/query_subscription_request.rb +1 -2
- data/lib/verizon/models/query_target_request.rb +1 -2
- data/lib/verizon/models/ready_sim_device_id.rb +1 -2
- data/lib/verizon/models/region.rb +2 -5
- data/lib/verizon/models/register_callback_request.rb +1 -4
- data/lib/verizon/models/registered_callbacks.rb +1 -4
- data/lib/verizon/models/remove_device_request.rb +1 -2
- data/lib/verizon/models/request_body_for_usage.rb +11 -3
- data/lib/verizon/models/request_trigger.rb +2 -5
- data/lib/verizon/models/resource_identifier.rb +1 -2
- data/lib/verizon/models/resources_edge_hosted_service.rb +2 -4
- data/lib/verizon/models/resources_edge_hosted_service_with_profile_id.rb +3 -6
- data/lib/verizon/models/resources_service_endpoint.rb +2 -5
- data/lib/verizon/models/resources_service_profile.rb +3 -6
- data/lib/verizon/models/resources_service_profile_with_id.rb +4 -8
- data/lib/verizon/models/response_to_usage_query.rb +1 -3
- data/lib/verizon/models/retrieve_monitors_request.rb +1 -3
- data/lib/verizon/models/retrieves_available_files_response.rb +3 -8
- data/lib/verizon/models/schedules_software_upgrade_request.rb +5 -11
- data/lib/verizon/models/search_device_by_property_fields.rb +3 -8
- data/lib/verizon/models/search_device_by_property_response.rb +5 -15
- data/lib/verizon/models/search_device_event_history_request.rb +2 -5
- data/lib/verizon/models/search_device_response.rb +4 -13
- data/lib/verizon/models/search_sensor_history_request.rb +2 -4
- data/lib/verizon/models/security_subscription.rb +3 -6
- data/lib/verizon/models/security_subscription_request.rb +1 -2
- data/lib/verizon/models/security_subscription_result.rb +1 -2
- data/lib/verizon/models/sensitivity_parameters.rb +2 -4
- data/lib/verizon/models/service_plan.rb +2 -5
- data/lib/verizon/models/service_plan_update_request.rb +4 -8
- data/lib/verizon/models/service_usage.rb +1 -2
- data/lib/verizon/models/session_report.rb +1 -3
- data/lib/verizon/models/session_report_request.rb +2 -6
- data/lib/verizon/models/session_trigger_request.rb +1 -2
- data/lib/verizon/models/set_fallback_attribute_request.rb +1 -3
- data/lib/verizon/models/share_plan.rb +72 -0
- data/lib/verizon/models/sms_event_history_request.rb +1 -3
- data/lib/verizon/models/sms_message.rb +1 -3
- data/lib/verizon/models/sms_messages_query_result.rb +1 -2
- data/lib/verizon/models/sms_messages_response.rb +1 -2
- data/lib/verizon/models/sms_number.rb +1 -2
- data/lib/verizon/models/sms_numbers.rb +59 -0
- data/lib/verizon/models/sms_options_send_request.rb +1 -2
- data/lib/verizon/models/sms_send_request.rb +2 -6
- data/lib/verizon/models/sms_trigger_request.rb +1 -3
- data/lib/verizon/models/software_package.rb +3 -7
- data/lib/verizon/models/state.rb +1 -2
- data/lib/verizon/models/status_list.rb +1 -3
- data/lib/verizon/models/status_response.rb +1 -3
- data/lib/verizon/models/stop_monitor_request.rb +1 -2
- data/lib/verizon/models/subrequest.rb +1 -2
- data/lib/verizon/models/subscribe_request.rb +1 -2
- data/lib/verizon/models/subscription.rb +7 -20
- data/lib/verizon/models/synchronous_location_request_result.rb +1 -2
- data/lib/verizon/models/target.rb +4 -12
- data/lib/verizon/models/target_authentication.rb +1 -2
- data/lib/verizon/models/target_authentication_body.rb +2 -5
- data/lib/verizon/models/target_authentication_body_headers.rb +1 -2
- data/lib/verizon/models/thingspace_device.rb +12 -19
- data/lib/verizon/models/trigger_attributes_options.rb +1 -2
- data/lib/verizon/models/trigger_notification.rb +174 -0
- data/lib/verizon/models/trigger_type1.rb +4 -7
- data/lib/verizon/models/trigger_type2.rb +3 -4
- data/lib/verizon/models/trigger_type3.rb +5 -8
- data/lib/verizon/models/trigger_v2_response.rb +50 -0
- data/lib/verizon/models/triggers_list_options.rb +6 -10
- data/lib/verizon/models/triggervalues.rb +3 -7
- data/lib/verizon/models/triggervalues2.rb +3 -8
- data/lib/verizon/models/update_service_endpoint_result.rb +1 -2
- data/lib/verizon/models/update_service_profile_result.rb +1 -2
- data/lib/verizon/models/update_trigger_request.rb +5 -10
- data/lib/verizon/models/update_trigger_request_options.rb +5 -8
- data/lib/verizon/models/update_trigger_v2_request.rb +119 -0
- data/lib/verizon/models/upgrade_list_query_result.rb +1 -2
- data/lib/verizon/models/upload_and_schedule_file_request.rb +4 -10
- data/lib/verizon/models/upload_and_schedule_file_response.rb +8 -19
- data/lib/verizon/models/upload_configuration_files_response.rb +3 -8
- data/lib/verizon/models/uploads_activates_device_request.rb +3 -8
- data/lib/verizon/models/usage.rb +2 -5
- data/lib/verizon/models/usage_anomaly_attributes.rb +2 -4
- data/lib/verizon/models/usage_history.rb +2 -6
- data/lib/verizon/models/usage_trigger_add_request.rb +4 -8
- data/lib/verizon/models/usage_trigger_response.rb +5 -11
- data/lib/verizon/models/usage_trigger_update_request.rb +2 -4
- data/lib/verizon/models/v1_account_subscription.rb +2 -4
- data/lib/verizon/models/v1_device_list_item.rb +1 -3
- data/lib/verizon/models/v1_licenses_assigned_removed_result.rb +1 -3
- data/lib/verizon/models/v1_list_of_licenses_to_remove.rb +1 -3
- data/lib/verizon/models/v1_list_of_licenses_to_remove_request.rb +1 -2
- data/lib/verizon/models/v1_list_of_licenses_to_remove_result.rb +1 -2
- data/lib/verizon/models/v2_account_device.rb +5 -13
- data/lib/verizon/models/v2_account_device_list.rb +2 -5
- data/lib/verizon/models/v2_add_or_remove_device_request.rb +1 -2
- data/lib/verizon/models/v2_add_or_remove_device_result.rb +1 -3
- data/lib/verizon/models/v2_campaign_device.rb +2 -5
- data/lib/verizon/models/v2_campaign_history.rb +1 -2
- data/lib/verizon/models/v2_campaign_meta_info.rb +6 -16
- data/lib/verizon/models/v2_change_campaign_dates_request.rb +2 -5
- data/lib/verizon/models/v2_device_status.rb +1 -3
- data/lib/verizon/models/v2_license_device.rb +1 -2
- data/lib/verizon/models/v2_license_imei.rb +1 -2
- data/lib/verizon/models/v2_license_summary.rb +3 -6
- data/lib/verizon/models/v2_licenses_assigned_removed_result.rb +2 -4
- data/lib/verizon/models/v2_list_of_licenses_to_remove.rb +1 -3
- data/lib/verizon/models/v2_list_of_licenses_to_remove_request.rb +1 -3
- data/lib/verizon/models/v2_list_of_licenses_to_remove_result.rb +1 -2
- data/lib/verizon/models/v2_software_info.rb +1 -3
- data/lib/verizon/models/v2_time_window.rb +1 -2
- data/lib/verizon/models/v3_account_device.rb +5 -15
- data/lib/verizon/models/v3_account_device_list.rb +2 -5
- data/lib/verizon/models/v3_add_or_remove_device_request.rb +1 -2
- data/lib/verizon/models/v3_add_or_remove_device_result.rb +1 -3
- data/lib/verizon/models/v3_campaign_device.rb +2 -5
- data/lib/verizon/models/v3_campaign_history.rb +1 -2
- data/lib/verizon/models/v3_campaign_meta_info.rb +4 -11
- data/lib/verizon/models/v3_change_campaign_dates_request.rb +1 -2
- data/lib/verizon/models/v3_device.rb +6 -18
- data/lib/verizon/models/v3_device_list_item.rb +1 -3
- data/lib/verizon/models/v3_device_status.rb +2 -5
- data/lib/verizon/models/v3_license_assigned_removed_result.rb +1 -3
- data/lib/verizon/models/v3_license_device.rb +1 -2
- data/lib/verizon/models/v3_license_summary.rb +3 -6
- data/lib/verizon/models/v3_software_info.rb +1 -3
- data/lib/verizon/models/v3_time_window.rb +1 -2
- data/lib/verizon/utilities/file_wrapper.rb +9 -9
- data/lib/verizon.rb +78 -31
- metadata +83 -35
- data/lib/verizon/http/auth/oauth_2.rb +0 -98
- data/lib/verizon/models/change_pmec_device_profile_bulk_request.rb +0 -75
- data/lib/verizon/models/change_pmec_device_state_bulk_activate_request.rb +0 -75
- data/lib/verizon/models/change_pmec_device_state_bulk_deactivate_request.rb +0 -66
- data/lib/verizon/models/change_pmec_device_state_deactivate_request.rb +0 -66
- data/lib/verizon/models/device_list1.rb +0 -75
- data/lib/verizon/models/esim_status_response.rb +0 -79
- data/lib/verizon/models/status1_enum.rb +0 -23
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sdksio-verizon-apis-sdk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- developer-sdksio
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-10-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: apimatic_core_interfaces
|
@@ -16,42 +16,42 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.2.
|
19
|
+
version: 0.2.1
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.2.
|
26
|
+
version: 0.2.1
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: apimatic_core
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.3.
|
33
|
+
version: 0.3.9
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 0.3.
|
40
|
+
version: 0.3.9
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: apimatic_faraday_client_adapter
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 0.1.
|
47
|
+
version: 0.1.4
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 0.1.
|
54
|
+
version: 0.1.4
|
55
55
|
description: Use the Verizon API for connectivity management, device diagnostics,
|
56
56
|
device location, edge discovery service, edge performance, software management and
|
57
57
|
much more.
|
@@ -108,12 +108,14 @@ files:
|
|
108
108
|
- lib/verizon/controllers/fixed_wireless_qualification_controller.rb
|
109
109
|
- lib/verizon/controllers/global_reporting_controller.rb
|
110
110
|
- lib/verizon/controllers/hyper_precise_location_callbacks_controller.rb
|
111
|
+
- lib/verizon/controllers/m_5g_bi_device_actions_controller.rb
|
111
112
|
- lib/verizon/controllers/m_5g_edge_platforms_controller.rb
|
113
|
+
- lib/verizon/controllers/m_v2_triggers_controller.rb
|
112
114
|
- lib/verizon/controllers/managing_esim_profiles_controller.rb
|
113
|
-
- lib/verizon/controllers/mec_controller.rb
|
114
115
|
- lib/verizon/controllers/oauth_authorization_controller.rb
|
115
116
|
- lib/verizon/controllers/performance_metrics_controller.rb
|
116
117
|
- lib/verizon/controllers/promotion_period_information_controller.rb
|
118
|
+
- lib/verizon/controllers/pwn_controller.rb
|
117
119
|
- lib/verizon/controllers/retrieve_the_triggers_controller.rb
|
118
120
|
- lib/verizon/controllers/server_logging_controller.rb
|
119
121
|
- lib/verizon/controllers/service_endpoints_controller.rb
|
@@ -154,23 +156,32 @@ files:
|
|
154
156
|
- lib/verizon/exceptions/gio_rest_error_response_exception.rb
|
155
157
|
- lib/verizon/exceptions/hyper_precise_location_result_exception.rb
|
156
158
|
- lib/verizon/exceptions/intelligence_result_exception.rb
|
159
|
+
- lib/verizon/exceptions/m_5g_bi_rest_error_response_exception.rb
|
157
160
|
- lib/verizon/exceptions/oauth_provider_exception.rb
|
158
161
|
- lib/verizon/exceptions/ready_sim_rest_error_response_exception.rb
|
159
162
|
- lib/verizon/exceptions/rest_error_response_exception.rb
|
163
|
+
- lib/verizon/exceptions/rules_engine_rest_error_response_exception.rb
|
160
164
|
- lib/verizon/exceptions/security_result_exception.rb
|
161
165
|
- lib/verizon/exceptions/wnp_rest_error_response_exception.rb
|
162
166
|
- lib/verizon/http/api_response.rb
|
163
|
-
- lib/verizon/http/auth/
|
167
|
+
- lib/verizon/http/auth/thingspace_oauth.rb
|
168
|
+
- lib/verizon/http/auth/vz_m2m_token.rb
|
164
169
|
- lib/verizon/http/http_call_back.rb
|
165
170
|
- lib/verizon/http/http_method_enum.rb
|
166
171
|
- lib/verizon/http/http_request.rb
|
167
172
|
- lib/verizon/http/http_response.rb
|
173
|
+
- lib/verizon/models/a_request_body_for_usage.rb
|
168
174
|
- lib/verizon/models/acceleration.rb
|
169
175
|
- lib/verizon/models/account.rb
|
176
|
+
- lib/verizon/models/account_consent_create.rb
|
177
|
+
- lib/verizon/models/account_consent_update.rb
|
178
|
+
- lib/verizon/models/account_details.rb
|
170
179
|
- lib/verizon/models/account_device_list.rb
|
171
180
|
- lib/verizon/models/account_device_list_filter.rb
|
172
181
|
- lib/verizon/models/account_device_list_request.rb
|
173
182
|
- lib/verizon/models/account_device_list_result.rb
|
183
|
+
- lib/verizon/models/account_group_share.rb
|
184
|
+
- lib/verizon/models/account_group_share_individual.rb
|
174
185
|
- lib/verizon/models/account_identifier.rb
|
175
186
|
- lib/verizon/models/account_labels.rb
|
176
187
|
- lib/verizon/models/account_lead.rb
|
@@ -180,6 +191,7 @@ files:
|
|
180
191
|
- lib/verizon/models/account_service.rb
|
181
192
|
- lib/verizon/models/account_states_and_services.rb
|
182
193
|
- lib/verizon/models/accuracy_mode_enum.rb
|
194
|
+
- lib/verizon/models/action_account_group_share.rb
|
183
195
|
- lib/verizon/models/activate.rb
|
184
196
|
- lib/verizon/models/activate_device_profile_request.rb
|
185
197
|
- lib/verizon/models/active_anomaly_indicator.rb
|
@@ -191,6 +203,7 @@ files:
|
|
191
203
|
- lib/verizon/models/addressquery.rb
|
192
204
|
- lib/verizon/models/aggregate_session_report.rb
|
193
205
|
- lib/verizon/models/aggregate_session_report_request.rb
|
206
|
+
- lib/verizon/models/aggregate_usage.rb
|
194
207
|
- lib/verizon/models/aggregate_usage_error.rb
|
195
208
|
- lib/verizon/models/aggregate_usage_item.rb
|
196
209
|
- lib/verizon/models/aggregated_report_callback_result.rb
|
@@ -230,29 +243,29 @@ files:
|
|
230
243
|
- lib/verizon/models/campaign_software.rb
|
231
244
|
- lib/verizon/models/campaign_software_upgrade.rb
|
232
245
|
- lib/verizon/models/campaign_status_enum.rb
|
246
|
+
- lib/verizon/models/carrier.rb
|
233
247
|
- lib/verizon/models/carrier_actions_request.rb
|
234
248
|
- lib/verizon/models/carrier_activate_request.rb
|
235
249
|
- lib/verizon/models/carrier_deactivate_request.rb
|
236
250
|
- lib/verizon/models/carrier_information.rb
|
251
|
+
- lib/verizon/models/carrier_service_plan.rb
|
237
252
|
- lib/verizon/models/change_configuration_request.rb
|
238
253
|
- lib/verizon/models/change_configuration_response.rb
|
239
254
|
- lib/verizon/models/change_device_id_request.rb
|
240
|
-
- lib/verizon/models/
|
241
|
-
- lib/verizon/models/
|
242
|
-
- lib/verizon/models/
|
243
|
-
- lib/verizon/models/
|
244
|
-
- lib/verizon/models/
|
245
|
-
- lib/verizon/models/
|
246
|
-
- lib/verizon/models/
|
247
|
-
- lib/verizon/models/
|
248
|
-
- lib/verizon/models/change_pmec_device_state_bulk_activate_request.rb
|
249
|
-
- lib/verizon/models/change_pmec_device_state_bulk_deactivate_request.rb
|
250
|
-
- lib/verizon/models/change_pmec_device_state_deactivate_request.rb
|
255
|
+
- lib/verizon/models/change_plan.rb
|
256
|
+
- lib/verizon/models/change_pwn_device_ipaddress_request.rb
|
257
|
+
- lib/verizon/models/change_pwn_device_ipaddress_response.rb
|
258
|
+
- lib/verizon/models/change_pwn_device_profile_request.rb
|
259
|
+
- lib/verizon/models/change_pwn_device_profile_response.rb
|
260
|
+
- lib/verizon/models/change_pwn_device_state_activate_request.rb
|
261
|
+
- lib/verizon/models/change_pwn_device_state_deactivate_request.rb
|
262
|
+
- lib/verizon/models/change_pwn_device_state_response.rb
|
251
263
|
- lib/verizon/models/check_in_history_item.rb
|
252
264
|
- lib/verizon/models/check_order_status_request.rb
|
253
265
|
- lib/verizon/models/client_type_enum.rb
|
254
266
|
- lib/verizon/models/compute_resources_type.rb
|
255
267
|
- lib/verizon/models/condition.rb
|
268
|
+
- lib/verizon/models/condition_account_group_share.rb
|
256
269
|
- lib/verizon/models/configuration.rb
|
257
270
|
- lib/verizon/models/connection_event.rb
|
258
271
|
- lib/verizon/models/connection_history_result.rb
|
@@ -260,6 +273,7 @@ files:
|
|
260
273
|
- lib/verizon/models/connectivity_management_success_result.rb
|
261
274
|
- lib/verizon/models/consent_delete_request.rb
|
262
275
|
- lib/verizon/models/consent_request.rb
|
276
|
+
- lib/verizon/models/consent_transaction_id.rb
|
263
277
|
- lib/verizon/models/contact_info_update_request.rb
|
264
278
|
- lib/verizon/models/coordinates.rb
|
265
279
|
- lib/verizon/models/create_device_group_request.rb
|
@@ -271,12 +285,16 @@ files:
|
|
271
285
|
- lib/verizon/models/create_target_request_fields.rb
|
272
286
|
- lib/verizon/models/create_trigger_request.rb
|
273
287
|
- lib/verizon/models/create_trigger_request_options.rb
|
288
|
+
- lib/verizon/models/create_trigger_v2_request.rb
|
274
289
|
- lib/verizon/models/custom_fields.rb
|
275
290
|
- lib/verizon/models/custom_fields_update_request.rb
|
276
291
|
- lib/verizon/models/customer_name.rb
|
277
292
|
- lib/verizon/models/customernamequery.rb
|
278
293
|
- lib/verizon/models/cycle_type_enum.rb
|
294
|
+
- lib/verizon/models/daily_usage.rb
|
295
|
+
- lib/verizon/models/daily_usage_history.rb
|
279
296
|
- lib/verizon/models/daily_usage_item.rb
|
297
|
+
- lib/verizon/models/daily_usage_response.rb
|
280
298
|
- lib/verizon/models/data_percentage100_trigger_attribute.rb
|
281
299
|
- lib/verizon/models/data_percentage50_trigger_attribute.rb
|
282
300
|
- lib/verizon/models/data_percentage75_trigger_attribute.rb
|
@@ -311,17 +329,19 @@ files:
|
|
311
329
|
- lib/verizon/models/device_id.rb
|
312
330
|
- lib/verizon/models/device_id2.rb
|
313
331
|
- lib/verizon/models/device_id_search.rb
|
332
|
+
- lib/verizon/models/device_idarray.rb
|
314
333
|
- lib/verizon/models/device_identifier.rb
|
315
334
|
- lib/verizon/models/device_imei.rb
|
316
335
|
- lib/verizon/models/device_info.rb
|
317
336
|
- lib/verizon/models/device_labels.rb
|
318
337
|
- lib/verizon/models/device_list.rb
|
319
|
-
- lib/verizon/models/device_list1.rb
|
320
338
|
- lib/verizon/models/device_list2.rb
|
321
|
-
- lib/verizon/models/
|
339
|
+
- lib/verizon/models/device_list_ip.rb
|
322
340
|
- lib/verizon/models/device_list_query_item.rb
|
323
341
|
- lib/verizon/models/device_list_query_result.rb
|
324
342
|
- lib/verizon/models/device_list_result.rb
|
343
|
+
- lib/verizon/models/device_list_with_service_address.rb
|
344
|
+
- lib/verizon/models/device_list_with_service_address1.rb
|
325
345
|
- lib/verizon/models/device_location_callback.rb
|
326
346
|
- lib/verizon/models/device_location_subscription.rb
|
327
347
|
- lib/verizon/models/device_location_success_result.rb
|
@@ -357,18 +377,22 @@ files:
|
|
357
377
|
- lib/verizon/models/enable_promo_exp1.rb
|
358
378
|
- lib/verizon/models/engagement.rb
|
359
379
|
- lib/verizon/models/error_response_code_enum.rb
|
360
|
-
- lib/verizon/models/esi_msubrequest.rb
|
361
380
|
- lib/verizon/models/esim_device_id.rb
|
362
381
|
- lib/verizon/models/esim_device_list.rb
|
382
|
+
- lib/verizon/models/esim_global_device_list.rb
|
363
383
|
- lib/verizon/models/esim_profile_request.rb
|
384
|
+
- lib/verizon/models/esim_profile_request2.rb
|
364
385
|
- lib/verizon/models/esim_provhistory_request.rb
|
365
386
|
- lib/verizon/models/esim_request_response.rb
|
366
|
-
- lib/verizon/models/
|
387
|
+
- lib/verizon/models/extended_attribute.rb
|
367
388
|
- lib/verizon/models/extended_attributes.rb
|
389
|
+
- lib/verizon/models/fall_back.rb
|
390
|
+
- lib/verizon/models/feature.rb
|
368
391
|
- lib/verizon/models/fields.rb
|
369
392
|
- lib/verizon/models/fields1.rb
|
370
393
|
- lib/verizon/models/fields2.rb
|
371
394
|
- lib/verizon/models/fields_http_headers.rb
|
395
|
+
- lib/verizon/models/filter_criteria_account_group_share.rb
|
372
396
|
- lib/verizon/models/filtercriteria.rb
|
373
397
|
- lib/verizon/models/filtercriteria2.rb
|
374
398
|
- lib/verizon/models/find_device_by_property_response.rb
|
@@ -399,11 +423,12 @@ files:
|
|
399
423
|
- lib/verizon/models/fota_v3_success_result.rb
|
400
424
|
- lib/verizon/models/generate_external_id_request.rb
|
401
425
|
- lib/verizon/models/generate_external_id_result.rb
|
426
|
+
- lib/verizon/models/get_account_device_consent.rb
|
402
427
|
- lib/verizon/models/get_device_experience_score_bulk_request.rb
|
403
428
|
- lib/verizon/models/get_device_experience_score_history_request.rb
|
404
429
|
- lib/verizon/models/get_device_list_with_profiles_request.rb
|
405
|
-
- lib/verizon/models/get_mec_performance_consent_response.rb
|
406
430
|
- lib/verizon/models/get_network_conditions_request.rb
|
431
|
+
- lib/verizon/models/get_pwn_performance_consent_response.rb
|
407
432
|
- lib/verizon/models/get_trigger_response.rb
|
408
433
|
- lib/verizon/models/get_trigger_response_list.rb
|
409
434
|
- lib/verizon/models/get_wireless_coverage_request.rb
|
@@ -417,6 +442,7 @@ files:
|
|
417
442
|
- lib/verizon/models/giosms_send_request.rb
|
418
443
|
- lib/verizon/models/go_to_state_request.rb
|
419
444
|
- lib/verizon/models/gpu.rb
|
445
|
+
- lib/verizon/models/group_name.rb
|
420
446
|
- lib/verizon/models/history.rb
|
421
447
|
- lib/verizon/models/history_attribute_value.rb
|
422
448
|
- lib/verizon/models/history_search_filter.rb
|
@@ -456,6 +482,23 @@ files:
|
|
456
482
|
- lib/verizon/models/log_in_result.rb
|
457
483
|
- lib/verizon/models/log_out_request.rb
|
458
484
|
- lib/verizon/models/m201success.rb
|
485
|
+
- lib/verizon/models/m_5g_bi_address.rb
|
486
|
+
- lib/verizon/models/m_5g_bi_carrier_information.rb
|
487
|
+
- lib/verizon/models/m_5g_bi_customer_name.rb
|
488
|
+
- lib/verizon/models/m_5g_bi_request_response.rb
|
489
|
+
- lib/verizon/models/m_5g_biaccount_nameobject.rb
|
490
|
+
- lib/verizon/models/m_5g_biactivate_request.rb
|
491
|
+
- lib/verizon/models/m_5g_biaddress_andcustomerinfo.rb
|
492
|
+
- lib/verizon/models/m_5g_biaddress_andcustomerinfo2.rb
|
493
|
+
- lib/verizon/models/m_5g_biattribute1.rb
|
494
|
+
- lib/verizon/models/m_5g_biattribute2.rb
|
495
|
+
- lib/verizon/models/m_5g_bichange_request.rb
|
496
|
+
- lib/verizon/models/m_5g_bidevice_detailsresponse.rb
|
497
|
+
- lib/verizon/models/m_5g_bidevice_id.rb
|
498
|
+
- lib/verizon/models/m_5g_bidevice_id1.rb
|
499
|
+
- lib/verizon/models/m_5g_bidevice_idarray.rb
|
500
|
+
- lib/verizon/models/m_5g_bikey_value1.rb
|
501
|
+
- lib/verizon/models/m_5g_biprimary_placeofuse.rb
|
459
502
|
- lib/verizon/models/managed_acc_added_list.rb
|
460
503
|
- lib/verizon/models/managed_acc_provisioned_list.rb
|
461
504
|
- lib/verizon/models/managed_account_cancel_request.rb
|
@@ -465,16 +508,12 @@ files:
|
|
465
508
|
- lib/verizon/models/managed_accounts_get_all_response.rb
|
466
509
|
- lib/verizon/models/managed_accounts_provision_request.rb
|
467
510
|
- lib/verizon/models/managed_accounts_provision_response.rb
|
468
|
-
- lib/verizon/models/mec_device_id.rb
|
469
|
-
- lib/verizon/models/mec_device_list.rb
|
470
511
|
- lib/verizon/models/mec_performance_metrics.rb
|
471
512
|
- lib/verizon/models/mec_performance_query_result.rb
|
472
513
|
- lib/verizon/models/mec_platform_resource.rb
|
473
514
|
- lib/verizon/models/mec_platform_status_enum.rb
|
474
515
|
- lib/verizon/models/mec_platforms_additional_support_info.rb
|
475
516
|
- lib/verizon/models/mec_platforms_additional_support_info_data.rb
|
476
|
-
- lib/verizon/models/mec_profile.rb
|
477
|
-
- lib/verizon/models/mec_profile_list.rb
|
478
517
|
- lib/verizon/models/mismatched_device.rb
|
479
518
|
- lib/verizon/models/move_device_request.rb
|
480
519
|
- lib/verizon/models/network_resources_type.rb
|
@@ -487,23 +526,30 @@ files:
|
|
487
526
|
- lib/verizon/models/numerical_data.rb
|
488
527
|
- lib/verizon/models/numerical_data_unit_enum.rb
|
489
528
|
- lib/verizon/models/oauth_provider_error_enum.rb
|
490
|
-
- lib/verizon/models/
|
529
|
+
- lib/verizon/models/oauth_scope_thingspace_oauth_enum.rb
|
491
530
|
- lib/verizon/models/oauth_token.rb
|
492
531
|
- lib/verizon/models/observation_request.rb
|
493
532
|
- lib/verizon/models/observation_request_attribute.rb
|
494
533
|
- lib/verizon/models/place_of_use.rb
|
495
534
|
- lib/verizon/models/position_data.rb
|
496
535
|
- lib/verizon/models/position_error.rb
|
536
|
+
- lib/verizon/models/price_plan_trigger.rb
|
497
537
|
- lib/verizon/models/primary_place_of_use.rb
|
498
538
|
- lib/verizon/models/profile_change_state_request.rb
|
499
539
|
- lib/verizon/models/profile_request.rb
|
500
540
|
- lib/verizon/models/profile_request2.rb
|
541
|
+
- lib/verizon/models/profile_status_filter_enum.rb
|
501
542
|
- lib/verizon/models/promo_alert.rb
|
502
543
|
- lib/verizon/models/promo_alert1.rb
|
503
544
|
- lib/verizon/models/promo_alert_trigger_request.rb
|
504
545
|
- lib/verizon/models/property_device_id.rb
|
505
546
|
- lib/verizon/models/provhistory_request.rb
|
506
547
|
- lib/verizon/models/provisioning_history.rb
|
548
|
+
- lib/verizon/models/provisioning_status_filter_enum.rb
|
549
|
+
- lib/verizon/models/pwn_device_id.rb
|
550
|
+
- lib/verizon/models/pwn_device_list.rb
|
551
|
+
- lib/verizon/models/pwn_profile.rb
|
552
|
+
- lib/verizon/models/pwn_profile_list.rb
|
507
553
|
- lib/verizon/models/qos_device_id.rb
|
508
554
|
- lib/verizon/models/qos_device_info.rb
|
509
555
|
- lib/verizon/models/query_mec_performance_metrics_request.rb
|
@@ -557,18 +603,18 @@ files:
|
|
557
603
|
- lib/verizon/models/session_reset_password_result.rb
|
558
604
|
- lib/verizon/models/session_trigger_request.rb
|
559
605
|
- lib/verizon/models/set_fallback_attribute_request.rb
|
606
|
+
- lib/verizon/models/share_plan.rb
|
560
607
|
- lib/verizon/models/sms_event_history_request.rb
|
561
608
|
- lib/verizon/models/sms_message.rb
|
562
609
|
- lib/verizon/models/sms_messages_query_result.rb
|
563
610
|
- lib/verizon/models/sms_messages_response.rb
|
564
611
|
- lib/verizon/models/sms_number.rb
|
612
|
+
- lib/verizon/models/sms_numbers.rb
|
565
613
|
- lib/verizon/models/sms_options_send_request.rb
|
566
614
|
- lib/verizon/models/sms_send_request.rb
|
567
615
|
- lib/verizon/models/sms_trigger_request.rb
|
568
616
|
- lib/verizon/models/software_package.rb
|
569
617
|
- lib/verizon/models/state.rb
|
570
|
-
- lib/verizon/models/status.rb
|
571
|
-
- lib/verizon/models/status1_enum.rb
|
572
618
|
- lib/verizon/models/status_list.rb
|
573
619
|
- lib/verizon/models/status_response.rb
|
574
620
|
- lib/verizon/models/stop_monitor_request.rb
|
@@ -586,9 +632,11 @@ files:
|
|
586
632
|
- lib/verizon/models/thingspace_device.rb
|
587
633
|
- lib/verizon/models/transaction_id.rb
|
588
634
|
- lib/verizon/models/trigger_attributes_options.rb
|
635
|
+
- lib/verizon/models/trigger_notification.rb
|
589
636
|
- lib/verizon/models/trigger_type1.rb
|
590
637
|
- lib/verizon/models/trigger_type2.rb
|
591
638
|
- lib/verizon/models/trigger_type3.rb
|
639
|
+
- lib/verizon/models/trigger_v2_response.rb
|
592
640
|
- lib/verizon/models/trigger_value_response.rb
|
593
641
|
- lib/verizon/models/trigger_value_response2.rb
|
594
642
|
- lib/verizon/models/triggers_list_options.rb
|
@@ -598,6 +646,7 @@ files:
|
|
598
646
|
- lib/verizon/models/update_service_profile_result.rb
|
599
647
|
- lib/verizon/models/update_trigger_request.rb
|
600
648
|
- lib/verizon/models/update_trigger_request_options.rb
|
649
|
+
- lib/verizon/models/update_trigger_v2_request.rb
|
601
650
|
- lib/verizon/models/upgrade_list_query_result.rb
|
602
651
|
- lib/verizon/models/upgrade_status_enum.rb
|
603
652
|
- lib/verizon/models/upload_and_schedule_file_request.rb
|
@@ -607,7 +656,6 @@ files:
|
|
607
656
|
- lib/verizon/models/usage.rb
|
608
657
|
- lib/verizon/models/usage_anomaly_attributes.rb
|
609
658
|
- lib/verizon/models/usage_history.rb
|
610
|
-
- lib/verizon/models/usage_request_body.rb
|
611
659
|
- lib/verizon/models/usage_request_response.rb
|
612
660
|
- lib/verizon/models/usage_trigger_add_request.rb
|
613
661
|
- lib/verizon/models/usage_trigger_response.rb
|
@@ -658,7 +706,7 @@ files:
|
|
658
706
|
- lib/verizon/models/wnp_request_response.rb
|
659
707
|
- lib/verizon/utilities/date_time_helper.rb
|
660
708
|
- lib/verizon/utilities/file_wrapper.rb
|
661
|
-
homepage: https://www.verizon.com/
|
709
|
+
homepage: https://www.verizon.com/business/5g-edge-portal
|
662
710
|
licenses:
|
663
711
|
- MIT
|
664
712
|
metadata: {}
|
@@ -1,98 +0,0 @@
|
|
1
|
-
# verizon
|
2
|
-
#
|
3
|
-
# This file was automatically generated by APIMATIC v2.0
|
4
|
-
# ( https://apimatic.io ).
|
5
|
-
|
6
|
-
module Verizon
|
7
|
-
# Utility class for OAuth 2 authorization and token management.
|
8
|
-
class OAuth2 < CoreLibrary::HeaderAuth
|
9
|
-
include CoreLibrary
|
10
|
-
# Display error message on occurrence of authentication failure.
|
11
|
-
# @returns [String] The oAuth error message.
|
12
|
-
def error_message
|
13
|
-
'ClientCredentialsAuth: OAuthToken is undefined or expired.'
|
14
|
-
end
|
15
|
-
|
16
|
-
# Initialization constructor.
|
17
|
-
def initialize(client_credentials_auth_credentials, config)
|
18
|
-
auth_params = {}
|
19
|
-
@_oauth_client_id = client_credentials_auth_credentials.oauth_client_id unless
|
20
|
-
client_credentials_auth_credentials.nil? || client_credentials_auth_credentials.oauth_client_id.nil?
|
21
|
-
@_oauth_client_secret = client_credentials_auth_credentials.oauth_client_secret unless
|
22
|
-
client_credentials_auth_credentials.nil? || client_credentials_auth_credentials.oauth_client_secret.nil?
|
23
|
-
@_oauth_token = client_credentials_auth_credentials.oauth_token unless
|
24
|
-
client_credentials_auth_credentials.nil? || client_credentials_auth_credentials.oauth_token.nil?
|
25
|
-
@_oauth_scopes = client_credentials_auth_credentials.oauth_scopes unless
|
26
|
-
client_credentials_auth_credentials.nil? || client_credentials_auth_credentials.oauth_scopes.nil?
|
27
|
-
@_o_auth_api = OauthAuthorizationController.new(config)
|
28
|
-
auth_params['Authorization'] = "Bearer #{@_oauth_token.access_token}" unless @_oauth_token.nil?
|
29
|
-
|
30
|
-
super auth_params
|
31
|
-
end
|
32
|
-
|
33
|
-
# Validates the oAuth token.
|
34
|
-
# @return [Boolean] true if the token is present and not expired.
|
35
|
-
def valid
|
36
|
-
!@_oauth_token.nil? && !token_expired?(@_oauth_token)
|
37
|
-
end
|
38
|
-
|
39
|
-
# Builds the basic auth header for endpoints in the OAuth Authorization Controller.
|
40
|
-
# @return [String] The value of the Authentication header.
|
41
|
-
def build_basic_auth_header
|
42
|
-
"Basic #{AuthHelper.get_base64_encoded_value(@_oauth_client_id, @_oauth_client_secret)}"
|
43
|
-
end
|
44
|
-
|
45
|
-
# Fetches the token.
|
46
|
-
# @param [Hash] additional_params Any additional form parameters.
|
47
|
-
# @return [OAuthToken] The oAuth token instance.
|
48
|
-
def fetch_token(additional_params: nil)
|
49
|
-
token = @_o_auth_api.request_token(
|
50
|
-
build_basic_auth_header,
|
51
|
-
scope: !@_oauth_scopes.nil? ? Array(@_oauth_scopes).compact.join(' ') : @_oauth_scopes,
|
52
|
-
_field_parameters: additional_params
|
53
|
-
).data
|
54
|
-
if token.respond_to?('expires_in') && !token.expires_in.nil?
|
55
|
-
token.expiry = AuthHelper.get_token_expiry(token.expires_in, Time.now.utc.to_i)
|
56
|
-
end
|
57
|
-
token
|
58
|
-
end
|
59
|
-
|
60
|
-
# Checks if OAuth token has expired.
|
61
|
-
# @param [OAuthToken] token The oAuth token instance.
|
62
|
-
# @return [Boolean] true if the token's expiry exist and also the token is expired, false otherwise.
|
63
|
-
def token_expired?(token)
|
64
|
-
token.respond_to?('expiry') && AuthHelper.token_expired?(token.expiry)
|
65
|
-
end
|
66
|
-
end
|
67
|
-
|
68
|
-
# Data class for ClientCredentialsAuthCredentials.
|
69
|
-
class ClientCredentialsAuthCredentials
|
70
|
-
attr_reader :oauth_client_id, :oauth_client_secret, :oauth_token,
|
71
|
-
:oauth_scopes
|
72
|
-
|
73
|
-
def initialize(oauth_client_id:, oauth_client_secret:, oauth_token: nil,
|
74
|
-
oauth_scopes: nil)
|
75
|
-
raise ArgumentError, 'oauth_client_id cannot be nil' if oauth_client_id.nil?
|
76
|
-
raise ArgumentError, 'oauth_client_secret cannot be nil' if oauth_client_secret.nil?
|
77
|
-
|
78
|
-
@oauth_client_id = oauth_client_id
|
79
|
-
@oauth_client_secret = oauth_client_secret
|
80
|
-
@oauth_token = oauth_token
|
81
|
-
@oauth_scopes = oauth_scopes
|
82
|
-
end
|
83
|
-
|
84
|
-
def clone_with(oauth_client_id: nil, oauth_client_secret: nil,
|
85
|
-
oauth_token: nil, oauth_scopes: nil)
|
86
|
-
oauth_client_id ||= self.oauth_client_id
|
87
|
-
oauth_client_secret ||= self.oauth_client_secret
|
88
|
-
oauth_token ||= self.oauth_token
|
89
|
-
oauth_scopes ||= self.oauth_scopes
|
90
|
-
|
91
|
-
ClientCredentialsAuthCredentials.new(
|
92
|
-
oauth_client_id: oauth_client_id,
|
93
|
-
oauth_client_secret: oauth_client_secret, oauth_token: oauth_token,
|
94
|
-
oauth_scopes: oauth_scopes
|
95
|
-
)
|
96
|
-
end
|
97
|
-
end
|
98
|
-
end
|
@@ -1,75 +0,0 @@
|
|
1
|
-
# verizon
|
2
|
-
#
|
3
|
-
# This file was automatically generated by APIMATIC v2.0
|
4
|
-
# ( https://apimatic.io ).
|
5
|
-
|
6
|
-
module Verizon
|
7
|
-
# ChangePmecDeviceProfileBulkRequest Model.
|
8
|
-
class ChangePmecDeviceProfileBulkRequest < BaseModel
|
9
|
-
SKIP = Object.new
|
10
|
-
private_constant :SKIP
|
11
|
-
|
12
|
-
# TODO: Write general description for this method
|
13
|
-
# @return [String]
|
14
|
-
attr_accessor :account_name
|
15
|
-
|
16
|
-
# TODO: Write general description for this method
|
17
|
-
# @return [Array[MECDeviceList]]
|
18
|
-
attr_accessor :device_list
|
19
|
-
|
20
|
-
# TODO: Write general description for this method
|
21
|
-
# @return [String]
|
22
|
-
attr_accessor :new_profile
|
23
|
-
|
24
|
-
# A mapping from model property names to API property names.
|
25
|
-
def self.names
|
26
|
-
@_hash = {} if @_hash.nil?
|
27
|
-
@_hash['account_name'] = 'accountName'
|
28
|
-
@_hash['device_list'] = 'deviceList'
|
29
|
-
@_hash['new_profile'] = 'newProfile'
|
30
|
-
@_hash
|
31
|
-
end
|
32
|
-
|
33
|
-
# An array for optional fields
|
34
|
-
def self.optionals
|
35
|
-
[]
|
36
|
-
end
|
37
|
-
|
38
|
-
# An array for nullable fields
|
39
|
-
def self.nullables
|
40
|
-
[]
|
41
|
-
end
|
42
|
-
|
43
|
-
def initialize(account_name = nil,
|
44
|
-
device_list = nil,
|
45
|
-
new_profile = nil)
|
46
|
-
@account_name = account_name
|
47
|
-
@device_list = device_list
|
48
|
-
@new_profile = new_profile
|
49
|
-
end
|
50
|
-
|
51
|
-
# Creates an instance of the object from a hash.
|
52
|
-
def self.from_hash(hash)
|
53
|
-
return nil unless hash
|
54
|
-
|
55
|
-
# Extract variables from the hash.
|
56
|
-
account_name = hash.key?('accountName') ? hash['accountName'] : nil
|
57
|
-
# Parameter is an array, so we need to iterate through it
|
58
|
-
device_list = nil
|
59
|
-
unless hash['deviceList'].nil?
|
60
|
-
device_list = []
|
61
|
-
hash['deviceList'].each do |structure|
|
62
|
-
device_list << (MECDeviceList.from_hash(structure) if structure)
|
63
|
-
end
|
64
|
-
end
|
65
|
-
|
66
|
-
device_list = nil unless hash.key?('deviceList')
|
67
|
-
new_profile = hash.key?('newProfile') ? hash['newProfile'] : nil
|
68
|
-
|
69
|
-
# Create object from extracted values.
|
70
|
-
ChangePmecDeviceProfileBulkRequest.new(account_name,
|
71
|
-
device_list,
|
72
|
-
new_profile)
|
73
|
-
end
|
74
|
-
end
|
75
|
-
end
|
@@ -1,75 +0,0 @@
|
|
1
|
-
# verizon
|
2
|
-
#
|
3
|
-
# This file was automatically generated by APIMATIC v2.0
|
4
|
-
# ( https://apimatic.io ).
|
5
|
-
|
6
|
-
module Verizon
|
7
|
-
# ChangePmecDeviceStateBulkActivateRequest Model.
|
8
|
-
class ChangePmecDeviceStateBulkActivateRequest < BaseModel
|
9
|
-
SKIP = Object.new
|
10
|
-
private_constant :SKIP
|
11
|
-
|
12
|
-
# TODO: Write general description for this method
|
13
|
-
# @return [String]
|
14
|
-
attr_accessor :account_name
|
15
|
-
|
16
|
-
# TODO: Write general description for this method
|
17
|
-
# @return [Array[DeviceList1]]
|
18
|
-
attr_accessor :device_list
|
19
|
-
|
20
|
-
# TODO: Write general description for this method
|
21
|
-
# @return [Activate]
|
22
|
-
attr_accessor :activate
|
23
|
-
|
24
|
-
# A mapping from model property names to API property names.
|
25
|
-
def self.names
|
26
|
-
@_hash = {} if @_hash.nil?
|
27
|
-
@_hash['account_name'] = 'accountName'
|
28
|
-
@_hash['device_list'] = 'deviceList'
|
29
|
-
@_hash['activate'] = 'activate'
|
30
|
-
@_hash
|
31
|
-
end
|
32
|
-
|
33
|
-
# An array for optional fields
|
34
|
-
def self.optionals
|
35
|
-
[]
|
36
|
-
end
|
37
|
-
|
38
|
-
# An array for nullable fields
|
39
|
-
def self.nullables
|
40
|
-
[]
|
41
|
-
end
|
42
|
-
|
43
|
-
def initialize(account_name = nil,
|
44
|
-
device_list = nil,
|
45
|
-
activate = nil)
|
46
|
-
@account_name = account_name
|
47
|
-
@device_list = device_list
|
48
|
-
@activate = activate
|
49
|
-
end
|
50
|
-
|
51
|
-
# Creates an instance of the object from a hash.
|
52
|
-
def self.from_hash(hash)
|
53
|
-
return nil unless hash
|
54
|
-
|
55
|
-
# Extract variables from the hash.
|
56
|
-
account_name = hash.key?('accountName') ? hash['accountName'] : nil
|
57
|
-
# Parameter is an array, so we need to iterate through it
|
58
|
-
device_list = nil
|
59
|
-
unless hash['deviceList'].nil?
|
60
|
-
device_list = []
|
61
|
-
hash['deviceList'].each do |structure|
|
62
|
-
device_list << (DeviceList1.from_hash(structure) if structure)
|
63
|
-
end
|
64
|
-
end
|
65
|
-
|
66
|
-
device_list = nil unless hash.key?('deviceList')
|
67
|
-
activate = Activate.from_hash(hash['activate']) if hash['activate']
|
68
|
-
|
69
|
-
# Create object from extracted values.
|
70
|
-
ChangePmecDeviceStateBulkActivateRequest.new(account_name,
|
71
|
-
device_list,
|
72
|
-
activate)
|
73
|
-
end
|
74
|
-
end
|
75
|
-
end
|