Class: MicrosoftGraph::Models::MdmWindowsInformationProtectionPolicy

Inherits:
WindowsInformationProtection show all
Includes:
MicrosoftKiotaAbstractions::Parsable
Defined in:
lib/models/mdm_windows_information_protection_policy.rb

Overview

Policy for Windows information protection with MDM

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from WindowsInformationProtection

#assignments, #assignments=, #azure_rights_management_services_allowed, #azure_rights_management_services_allowed=, #data_recovery_certificate, #data_recovery_certificate=, #enforcement_level, #enforcement_level=, #enterprise_domain, #enterprise_domain=, #enterprise_i_p_ranges, #enterprise_i_p_ranges=, #enterprise_i_p_ranges_are_authoritative, #enterprise_i_p_ranges_are_authoritative=, #enterprise_internal_proxy_servers, #enterprise_internal_proxy_servers=, #enterprise_network_domain_names, #enterprise_network_domain_names=, #enterprise_protected_domain_names, #enterprise_protected_domain_names=, #enterprise_proxied_domains, #enterprise_proxied_domains=, #enterprise_proxy_servers, #enterprise_proxy_servers=, #enterprise_proxy_servers_are_authoritative, #enterprise_proxy_servers_are_authoritative=, #exempt_app_locker_files, #exempt_app_locker_files=, #exempt_apps, #exempt_apps=, #icons_visible, #icons_visible=, #indexing_encrypted_stores_or_items_blocked, #indexing_encrypted_stores_or_items_blocked=, #is_assigned, #is_assigned=, #neutral_domain_resources, #neutral_domain_resources=, #protected_app_locker_files, #protected_app_locker_files=, #protected_apps, #protected_apps=, #protection_under_lock_config_required, #protection_under_lock_config_required=, #revoke_on_unenroll_disabled, #revoke_on_unenroll_disabled=, #rights_management_services_template_id, #rights_management_services_template_id=, #smb_auto_encrypted_file_extensions, #smb_auto_encrypted_file_extensions=

Methods inherited from ManagedAppPolicy

#created_date_time, #created_date_time=, #description, #description=, #display_name, #display_name=, #last_modified_date_time, #last_modified_date_time=, #version, #version=

Methods inherited from Entity

#additional_data, #additional_data=, #id, #id=, #odata_type, #odata_type=

Constructor Details

#initializeObject

Instantiates a new mdmWindowsInformationProtectionPolicy and sets the default values.



15
16
17
18
# File 'lib/models/mdm_windows_information_protection_policy.rb', line 15

def initialize()
    super
    @odata_type = "#microsoft.graph.mdmWindowsInformationProtectionPolicy"
end

Class Method Details

.create_from_discriminator_value(parse_node) ⇒ Object

Creates a new instance of the appropriate class based on discriminator value

Parameters:

  • parse_node

    The parse node to use to read the discriminator value and create the object

Returns:

  • a mdm_windows_information_protection_policy

Raises:

  • (StandardError)


24
25
26
27
# File 'lib/models/mdm_windows_information_protection_policy.rb', line 24

def self.create_from_discriminator_value(parse_node)
    raise StandardError, 'parse_node cannot be null' if parse_node.nil?
    return MdmWindowsInformationProtectionPolicy.new
end

Instance Method Details

#get_field_deserializersObject

The deserialization information for the current model

Returns:

  • a i_dictionary



32
33
34
35
# File 'lib/models/mdm_windows_information_protection_policy.rb', line 32

def get_field_deserializers()
    return super.merge({
    })
end

#serialize(writer) ⇒ Object

Serializes information the current object

Parameters:

  • writer

    Serialization writer to use to serialize this model

Returns:

  • a void

Raises:

  • (StandardError)


41
42
43
44
# File 'lib/models/mdm_windows_information_protection_policy.rb', line 41

def serialize(writer)
    raise StandardError, 'writer cannot be null' if writer.nil?
    super
end