Class: MicrosoftGraph::Models::MobileThreatDefenseConnector
- Includes:
- MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/mobile_threat_defense_connector.rb
Overview
Entity which represents a connection to Mobile Threat Defense partner.
Class Method Summary collapse
-
.create_from_discriminator_value(parse_node) ⇒ Object
Creates a new instance of the appropriate class based on discriminator value.
Instance Method Summary collapse
-
#allow_partner_to_collect_i_o_s_application_metadata ⇒ Object
Gets the allowPartnerToCollectIOSApplicationMetadata property value.
-
#allow_partner_to_collect_i_o_s_application_metadata=(value) ⇒ Object
Sets the allowPartnerToCollectIOSApplicationMetadata property value.
-
#allow_partner_to_collect_i_o_s_personal_application_metadata ⇒ Object
Gets the allowPartnerToCollectIOSPersonalApplicationMetadata property value.
-
#allow_partner_to_collect_i_o_s_personal_application_metadata=(value) ⇒ Object
Sets the allowPartnerToCollectIOSPersonalApplicationMetadata property value.
-
#android_device_blocked_on_missing_partner_data ⇒ Object
Gets the androidDeviceBlockedOnMissingPartnerData property value.
-
#android_device_blocked_on_missing_partner_data=(value) ⇒ Object
Sets the androidDeviceBlockedOnMissingPartnerData property value.
-
#android_enabled ⇒ Object
Gets the androidEnabled property value.
-
#android_enabled=(value) ⇒ Object
Sets the androidEnabled property value.
-
#android_mobile_application_management_enabled ⇒ Object
Gets the androidMobileApplicationManagementEnabled property value.
-
#android_mobile_application_management_enabled=(value) ⇒ Object
Sets the androidMobileApplicationManagementEnabled property value.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#initialize ⇒ Object
constructor
Instantiates a new mobileThreatDefenseConnector and sets the default values.
-
#ios_device_blocked_on_missing_partner_data ⇒ Object
Gets the iosDeviceBlockedOnMissingPartnerData property value.
-
#ios_device_blocked_on_missing_partner_data=(value) ⇒ Object
Sets the iosDeviceBlockedOnMissingPartnerData property value.
-
#ios_enabled ⇒ Object
Gets the iosEnabled property value.
-
#ios_enabled=(value) ⇒ Object
Sets the iosEnabled property value.
-
#ios_mobile_application_management_enabled ⇒ Object
Gets the iosMobileApplicationManagementEnabled property value.
-
#ios_mobile_application_management_enabled=(value) ⇒ Object
Sets the iosMobileApplicationManagementEnabled property value.
-
#last_heartbeat_date_time ⇒ Object
Gets the lastHeartbeatDateTime property value.
-
#last_heartbeat_date_time=(value) ⇒ Object
Sets the lastHeartbeatDateTime property value.
-
#microsoft_defender_for_endpoint_attach_enabled ⇒ Object
Gets the microsoftDefenderForEndpointAttachEnabled property value.
-
#microsoft_defender_for_endpoint_attach_enabled=(value) ⇒ Object
Sets the microsoftDefenderForEndpointAttachEnabled property value.
-
#partner_state ⇒ Object
Gets the partnerState property value.
-
#partner_state=(value) ⇒ Object
Sets the partnerState property value.
-
#partner_unresponsiveness_threshold_in_days ⇒ Object
Gets the partnerUnresponsivenessThresholdInDays property value.
-
#partner_unresponsiveness_threshold_in_days=(value) ⇒ Object
Sets the partnerUnresponsivenessThresholdInDays property value.
-
#partner_unsupported_os_version_blocked ⇒ Object
Gets the partnerUnsupportedOsVersionBlocked property value.
-
#partner_unsupported_os_version_blocked=(value) ⇒ Object
Sets the partnerUnsupportedOsVersionBlocked property value.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
-
#windows_device_blocked_on_missing_partner_data ⇒ Object
Gets the windowsDeviceBlockedOnMissingPartnerData property value.
-
#windows_device_blocked_on_missing_partner_data=(value) ⇒ Object
Sets the windowsDeviceBlockedOnMissingPartnerData property value.
-
#windows_enabled ⇒ Object
Gets the windowsEnabled property value.
-
#windows_enabled=(value) ⇒ Object
Sets the windowsEnabled property value.
Methods inherited from Entity
#additional_data, #additional_data=, #id, #id=, #odata_type, #odata_type=
Constructor Details
#initialize ⇒ Object
Instantiates a new mobileThreatDefenseConnector and sets the default values.
136 137 138 |
# File 'lib/models/mobile_threat_defense_connector.rb', line 136 def initialize() super end |
Class Method Details
.create_from_discriminator_value(parse_node) ⇒ Object
Creates a new instance of the appropriate class based on discriminator value
144 145 146 147 |
# File 'lib/models/mobile_threat_defense_connector.rb', line 144 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return MobileThreatDefenseConnector.new end |
Instance Method Details
#allow_partner_to_collect_i_o_s_application_metadata ⇒ Object
Gets the allowPartnerToCollectIOSApplicationMetadata property value. When TRUE, indicates the Mobile Threat Defense partner may collect metadata about installed applications from Intune for IOS devices. When FALSE, indicates the Mobile Threat Defense partner may not collect metadata about installed applications from Intune for IOS devices. Default value is FALSE.
61 62 63 |
# File 'lib/models/mobile_threat_defense_connector.rb', line 61 def return @allow_partner_to_collect_i_o_s_application_metadata end |
#allow_partner_to_collect_i_o_s_application_metadata=(value) ⇒ Object
Sets the allowPartnerToCollectIOSApplicationMetadata property value. When TRUE, indicates the Mobile Threat Defense partner may collect metadata about installed applications from Intune for IOS devices. When FALSE, indicates the Mobile Threat Defense partner may not collect metadata about installed applications from Intune for IOS devices. Default value is FALSE.
69 70 71 |
# File 'lib/models/mobile_threat_defense_connector.rb', line 69 def (value) @allow_partner_to_collect_i_o_s_application_metadata = value end |
#allow_partner_to_collect_i_o_s_personal_application_metadata ⇒ Object
Gets the allowPartnerToCollectIOSPersonalApplicationMetadata property value. When TRUE, indicates the Mobile Threat Defense partner may collect metadata about personally installed applications from Intune for IOS devices. When FALSE, indicates the Mobile Threat Defense partner may not collect metadata about personally installed applications from Intune for IOS devices. Default value is FALSE.
76 77 78 |
# File 'lib/models/mobile_threat_defense_connector.rb', line 76 def return @allow_partner_to_collect_i_o_s_personal_application_metadata end |
#allow_partner_to_collect_i_o_s_personal_application_metadata=(value) ⇒ Object
Sets the allowPartnerToCollectIOSPersonalApplicationMetadata property value. When TRUE, indicates the Mobile Threat Defense partner may collect metadata about personally installed applications from Intune for IOS devices. When FALSE, indicates the Mobile Threat Defense partner may not collect metadata about personally installed applications from Intune for IOS devices. Default value is FALSE.
84 85 86 |
# File 'lib/models/mobile_threat_defense_connector.rb', line 84 def (value) @allow_partner_to_collect_i_o_s_personal_application_metadata = value end |
#android_device_blocked_on_missing_partner_data ⇒ Object
Gets the androidDeviceBlockedOnMissingPartnerData property value. For Android, set whether Intune must receive data from the Mobile Threat Defense partner prior to marking a device compliant
91 92 93 |
# File 'lib/models/mobile_threat_defense_connector.rb', line 91 def android_device_blocked_on_missing_partner_data return @android_device_blocked_on_missing_partner_data end |
#android_device_blocked_on_missing_partner_data=(value) ⇒ Object
Sets the androidDeviceBlockedOnMissingPartnerData property value. For Android, set whether Intune must receive data from the Mobile Threat Defense partner prior to marking a device compliant
99 100 101 |
# File 'lib/models/mobile_threat_defense_connector.rb', line 99 def android_device_blocked_on_missing_partner_data=(value) @android_device_blocked_on_missing_partner_data = value end |
#android_enabled ⇒ Object
Gets the androidEnabled property value. For Android, set whether data from the Mobile Threat Defense partner should be used during compliance evaluations
106 107 108 |
# File 'lib/models/mobile_threat_defense_connector.rb', line 106 def android_enabled return @android_enabled end |
#android_enabled=(value) ⇒ Object
Sets the androidEnabled property value. For Android, set whether data from the Mobile Threat Defense partner should be used during compliance evaluations
114 115 116 |
# File 'lib/models/mobile_threat_defense_connector.rb', line 114 def android_enabled=(value) @android_enabled = value end |
#android_mobile_application_management_enabled ⇒ Object
Gets the androidMobileApplicationManagementEnabled property value. When TRUE, inidicates that data from the Mobile Threat Defense partner can be used during Mobile Application Management (MAM) evaluations for Android devices. When FALSE, inidicates that data from the Mobile Threat Defense partner should not be used during Mobile Application Management (MAM) evaluations for Android devices. Only one partner per platform may be enabled for Mobile Application Management (MAM) evaluation. Default value is FALSE.
121 122 123 |
# File 'lib/models/mobile_threat_defense_connector.rb', line 121 def android_mobile_application_management_enabled return @android_mobile_application_management_enabled end |
#android_mobile_application_management_enabled=(value) ⇒ Object
Sets the androidMobileApplicationManagementEnabled property value. When TRUE, inidicates that data from the Mobile Threat Defense partner can be used during Mobile Application Management (MAM) evaluations for Android devices. When FALSE, inidicates that data from the Mobile Threat Defense partner should not be used during Mobile Application Management (MAM) evaluations for Android devices. Only one partner per platform may be enabled for Mobile Application Management (MAM) evaluation. Default value is FALSE.
129 130 131 |
# File 'lib/models/mobile_threat_defense_connector.rb', line 129 def android_mobile_application_management_enabled=(value) @android_mobile_application_management_enabled = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 |
# File 'lib/models/mobile_threat_defense_connector.rb', line 152 def get_field_deserializers() return super.merge({ "allowPartnerToCollectIOSApplicationMetadata" => lambda {|n| @allow_partner_to_collect_i_o_s_application_metadata = n.get_boolean_value() }, "allowPartnerToCollectIOSPersonalApplicationMetadata" => lambda {|n| @allow_partner_to_collect_i_o_s_personal_application_metadata = n.get_boolean_value() }, "androidDeviceBlockedOnMissingPartnerData" => lambda {|n| @android_device_blocked_on_missing_partner_data = n.get_boolean_value() }, "androidEnabled" => lambda {|n| @android_enabled = n.get_boolean_value() }, "androidMobileApplicationManagementEnabled" => lambda {|n| @android_mobile_application_management_enabled = n.get_boolean_value() }, "iosDeviceBlockedOnMissingPartnerData" => lambda {|n| @ios_device_blocked_on_missing_partner_data = n.get_boolean_value() }, "iosEnabled" => lambda {|n| @ios_enabled = n.get_boolean_value() }, "iosMobileApplicationManagementEnabled" => lambda {|n| @ios_mobile_application_management_enabled = n.get_boolean_value() }, "lastHeartbeatDateTime" => lambda {|n| @last_heartbeat_date_time = n.get_date_time_value() }, "microsoftDefenderForEndpointAttachEnabled" => lambda {|n| @microsoft_defender_for_endpoint_attach_enabled = n.get_boolean_value() }, "partnerState" => lambda {|n| @partner_state = n.get_enum_value(MicrosoftGraph::Models::MobileThreatPartnerTenantState) }, "partnerUnresponsivenessThresholdInDays" => lambda {|n| @partner_unresponsiveness_threshold_in_days = n.get_number_value() }, "partnerUnsupportedOsVersionBlocked" => lambda {|n| @partner_unsupported_os_version_blocked = n.get_boolean_value() }, "windowsDeviceBlockedOnMissingPartnerData" => lambda {|n| @windows_device_blocked_on_missing_partner_data = n.get_boolean_value() }, "windowsEnabled" => lambda {|n| @windows_enabled = n.get_boolean_value() }, }) end |
#ios_device_blocked_on_missing_partner_data ⇒ Object
Gets the iosDeviceBlockedOnMissingPartnerData property value. For IOS, set whether Intune must receive data from the Mobile Threat Defense partner prior to marking a device compliant
175 176 177 |
# File 'lib/models/mobile_threat_defense_connector.rb', line 175 def ios_device_blocked_on_missing_partner_data return @ios_device_blocked_on_missing_partner_data end |
#ios_device_blocked_on_missing_partner_data=(value) ⇒ Object
Sets the iosDeviceBlockedOnMissingPartnerData property value. For IOS, set whether Intune must receive data from the Mobile Threat Defense partner prior to marking a device compliant
183 184 185 |
# File 'lib/models/mobile_threat_defense_connector.rb', line 183 def ios_device_blocked_on_missing_partner_data=(value) @ios_device_blocked_on_missing_partner_data = value end |
#ios_enabled ⇒ Object
Gets the iosEnabled property value. For IOS, get or set whether data from the Mobile Threat Defense partner should be used during compliance evaluations
190 191 192 |
# File 'lib/models/mobile_threat_defense_connector.rb', line 190 def ios_enabled return @ios_enabled end |
#ios_enabled=(value) ⇒ Object
Sets the iosEnabled property value. For IOS, get or set whether data from the Mobile Threat Defense partner should be used during compliance evaluations
198 199 200 |
# File 'lib/models/mobile_threat_defense_connector.rb', line 198 def ios_enabled=(value) @ios_enabled = value end |
#ios_mobile_application_management_enabled ⇒ Object
Gets the iosMobileApplicationManagementEnabled property value. When TRUE, inidicates that data from the Mobile Threat Defense partner can be used during Mobile Application Management (MAM) evaluations for IOS devices. When FALSE, inidicates that data from the Mobile Threat Defense partner should not be used during Mobile Application Management (MAM) evaluations for IOS devices. Only one partner per platform may be enabled for Mobile Application Management (MAM) evaluation. Default value is FALSE.
205 206 207 |
# File 'lib/models/mobile_threat_defense_connector.rb', line 205 def ios_mobile_application_management_enabled return @ios_mobile_application_management_enabled end |
#ios_mobile_application_management_enabled=(value) ⇒ Object
Sets the iosMobileApplicationManagementEnabled property value. When TRUE, inidicates that data from the Mobile Threat Defense partner can be used during Mobile Application Management (MAM) evaluations for IOS devices. When FALSE, inidicates that data from the Mobile Threat Defense partner should not be used during Mobile Application Management (MAM) evaluations for IOS devices. Only one partner per platform may be enabled for Mobile Application Management (MAM) evaluation. Default value is FALSE.
213 214 215 |
# File 'lib/models/mobile_threat_defense_connector.rb', line 213 def ios_mobile_application_management_enabled=(value) @ios_mobile_application_management_enabled = value end |
#last_heartbeat_date_time ⇒ Object
Gets the lastHeartbeatDateTime property value. DateTime of last Heartbeat recieved from the Mobile Threat Defense partner
220 221 222 |
# File 'lib/models/mobile_threat_defense_connector.rb', line 220 def last_heartbeat_date_time return @last_heartbeat_date_time end |
#last_heartbeat_date_time=(value) ⇒ Object
Sets the lastHeartbeatDateTime property value. DateTime of last Heartbeat recieved from the Mobile Threat Defense partner
228 229 230 |
# File 'lib/models/mobile_threat_defense_connector.rb', line 228 def last_heartbeat_date_time=(value) @last_heartbeat_date_time = value end |
#microsoft_defender_for_endpoint_attach_enabled ⇒ Object
Gets the microsoftDefenderForEndpointAttachEnabled property value. When TRUE, inidicates that configuration profile management via Microsoft Defender for Endpoint is enabled. When FALSE, inidicates that configuration profile management via Microsoft Defender for Endpoint is disabled. Default value is FALSE.
235 236 237 |
# File 'lib/models/mobile_threat_defense_connector.rb', line 235 def microsoft_defender_for_endpoint_attach_enabled return @microsoft_defender_for_endpoint_attach_enabled end |
#microsoft_defender_for_endpoint_attach_enabled=(value) ⇒ Object
Sets the microsoftDefenderForEndpointAttachEnabled property value. When TRUE, inidicates that configuration profile management via Microsoft Defender for Endpoint is enabled. When FALSE, inidicates that configuration profile management via Microsoft Defender for Endpoint is disabled. Default value is FALSE.
243 244 245 |
# File 'lib/models/mobile_threat_defense_connector.rb', line 243 def microsoft_defender_for_endpoint_attach_enabled=(value) @microsoft_defender_for_endpoint_attach_enabled = value end |
#partner_state ⇒ Object
Gets the partnerState property value. Partner state of this tenant.
250 251 252 |
# File 'lib/models/mobile_threat_defense_connector.rb', line 250 def partner_state return @partner_state end |
#partner_state=(value) ⇒ Object
Sets the partnerState property value. Partner state of this tenant.
258 259 260 |
# File 'lib/models/mobile_threat_defense_connector.rb', line 258 def partner_state=(value) @partner_state = value end |
#partner_unresponsiveness_threshold_in_days ⇒ Object
Gets the partnerUnresponsivenessThresholdInDays property value. Get or Set days the per tenant tolerance to unresponsiveness for this partner integration
265 266 267 |
# File 'lib/models/mobile_threat_defense_connector.rb', line 265 def partner_unresponsiveness_threshold_in_days return @partner_unresponsiveness_threshold_in_days end |
#partner_unresponsiveness_threshold_in_days=(value) ⇒ Object
Sets the partnerUnresponsivenessThresholdInDays property value. Get or Set days the per tenant tolerance to unresponsiveness for this partner integration
273 274 275 |
# File 'lib/models/mobile_threat_defense_connector.rb', line 273 def partner_unresponsiveness_threshold_in_days=(value) @partner_unresponsiveness_threshold_in_days = value end |
#partner_unsupported_os_version_blocked ⇒ Object
Gets the partnerUnsupportedOsVersionBlocked property value. Get or set whether to block devices on the enabled platforms that do not meet the minimum version requirements of the Mobile Threat Defense partner
280 281 282 |
# File 'lib/models/mobile_threat_defense_connector.rb', line 280 def partner_unsupported_os_version_blocked return @partner_unsupported_os_version_blocked end |
#partner_unsupported_os_version_blocked=(value) ⇒ Object
Sets the partnerUnsupportedOsVersionBlocked property value. Get or set whether to block devices on the enabled platforms that do not meet the minimum version requirements of the Mobile Threat Defense partner
288 289 290 |
# File 'lib/models/mobile_threat_defense_connector.rb', line 288 def partner_unsupported_os_version_blocked=(value) @partner_unsupported_os_version_blocked = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 |
# File 'lib/models/mobile_threat_defense_connector.rb', line 296 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? super writer.write_boolean_value("allowPartnerToCollectIOSApplicationMetadata", @allow_partner_to_collect_i_o_s_application_metadata) writer.write_boolean_value("allowPartnerToCollectIOSPersonalApplicationMetadata", @allow_partner_to_collect_i_o_s_personal_application_metadata) writer.write_boolean_value("androidDeviceBlockedOnMissingPartnerData", @android_device_blocked_on_missing_partner_data) writer.write_boolean_value("androidEnabled", @android_enabled) writer.write_boolean_value("androidMobileApplicationManagementEnabled", @android_mobile_application_management_enabled) writer.write_boolean_value("iosDeviceBlockedOnMissingPartnerData", @ios_device_blocked_on_missing_partner_data) writer.write_boolean_value("iosEnabled", @ios_enabled) writer.write_boolean_value("iosMobileApplicationManagementEnabled", @ios_mobile_application_management_enabled) writer.write_date_time_value("lastHeartbeatDateTime", @last_heartbeat_date_time) writer.write_boolean_value("microsoftDefenderForEndpointAttachEnabled", @microsoft_defender_for_endpoint_attach_enabled) writer.write_enum_value("partnerState", @partner_state) writer.write_number_value("partnerUnresponsivenessThresholdInDays", @partner_unresponsiveness_threshold_in_days) writer.write_boolean_value("partnerUnsupportedOsVersionBlocked", @partner_unsupported_os_version_blocked) writer.write_boolean_value("windowsDeviceBlockedOnMissingPartnerData", @windows_device_blocked_on_missing_partner_data) writer.write_boolean_value("windowsEnabled", @windows_enabled) end |
#windows_device_blocked_on_missing_partner_data ⇒ Object
Gets the windowsDeviceBlockedOnMissingPartnerData property value. When TRUE, inidicates that Intune must receive data from the Mobile Threat Defense partner prior to marking a device compliant for Windows. When FALSE, inidicates that Intune may make a device compliant without receiving data from the Mobile Threat Defense partner for Windows. Default value is FALSE.
319 320 321 |
# File 'lib/models/mobile_threat_defense_connector.rb', line 319 def windows_device_blocked_on_missing_partner_data return @windows_device_blocked_on_missing_partner_data end |
#windows_device_blocked_on_missing_partner_data=(value) ⇒ Object
Sets the windowsDeviceBlockedOnMissingPartnerData property value. When TRUE, inidicates that Intune must receive data from the Mobile Threat Defense partner prior to marking a device compliant for Windows. When FALSE, inidicates that Intune may make a device compliant without receiving data from the Mobile Threat Defense partner for Windows. Default value is FALSE.
327 328 329 |
# File 'lib/models/mobile_threat_defense_connector.rb', line 327 def windows_device_blocked_on_missing_partner_data=(value) @windows_device_blocked_on_missing_partner_data = value end |
#windows_enabled ⇒ Object
Gets the windowsEnabled property value. When TRUE, inidicates that data from the Mobile Threat Defense partner can be used during compliance evaluations for Windows. When FALSE, inidicates that data from the Mobile Threat Defense partner should not be used during compliance evaluations for Windows. Default value is FALSE.
334 335 336 |
# File 'lib/models/mobile_threat_defense_connector.rb', line 334 def windows_enabled return @windows_enabled end |
#windows_enabled=(value) ⇒ Object
Sets the windowsEnabled property value. When TRUE, inidicates that data from the Mobile Threat Defense partner can be used during compliance evaluations for Windows. When FALSE, inidicates that data from the Mobile Threat Defense partner should not be used during compliance evaluations for Windows. Default value is FALSE.
342 343 344 |
# File 'lib/models/mobile_threat_defense_connector.rb', line 342 def windows_enabled=(value) @windows_enabled = value end |