Class: MicrosoftGraph::Models::ExtensionProperty
- Inherits:
-
DirectoryObject
- Object
- Entity
- DirectoryObject
- MicrosoftGraph::Models::ExtensionProperty
- Includes:
- MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/extension_property.rb
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
-
#app_display_name ⇒ Object
Gets the appDisplayName property value.
-
#app_display_name=(value) ⇒ Object
Sets the appDisplayName property value.
-
#data_type ⇒ Object
Gets the dataType property value.
-
#data_type=(value) ⇒ Object
Sets the dataType property value.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#initialize ⇒ Object
constructor
Instantiates a new extensionProperty and sets the default values.
-
#is_synced_from_on_premises ⇒ Object
Gets the isSyncedFromOnPremises property value.
-
#is_synced_from_on_premises=(value) ⇒ Object
Sets the isSyncedFromOnPremises property value.
-
#name ⇒ Object
Gets the name property value.
-
#name=(value) ⇒ Object
Sets the name property value.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
-
#target_objects ⇒ Object
Gets the targetObjects property value.
-
#target_objects=(value) ⇒ Object
Sets the targetObjects property value.
Methods inherited from DirectoryObject
#deleted_date_time, #deleted_date_time=
Methods inherited from Entity
#additional_data, #additional_data=, #id, #id=, #odata_type, #odata_type=
Constructor Details
#initialize ⇒ Object
Instantiates a new extensionProperty and sets the default values.
43 44 45 46 |
# File 'lib/models/extension_property.rb', line 43 def initialize() super @odata_type = "#microsoft.graph.extensionProperty" end |
Class Method Details
.create_from_discriminator_value(parse_node) ⇒ Object
Creates a new instance of the appropriate class based on discriminator value
52 53 54 55 |
# File 'lib/models/extension_property.rb', line 52 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return ExtensionProperty.new end |
Instance Method Details
#app_display_name ⇒ Object
Gets the appDisplayName property value. Display name of the application object on which this extension property is defined. Read-only.
28 29 30 |
# File 'lib/models/extension_property.rb', line 28 def app_display_name return @app_display_name end |
#app_display_name=(value) ⇒ Object
Sets the appDisplayName property value. Display name of the application object on which this extension property is defined. Read-only.
36 37 38 |
# File 'lib/models/extension_property.rb', line 36 def app_display_name=(value) @app_display_name = value end |
#data_type ⇒ Object
Gets the dataType property value. Specifies the data type of the value the extension property can hold. Following values are supported. Not nullable. Binary - 256 bytes maximumBooleanDateTime - Must be specified in ISO 8601 format. Will be stored in UTC.Integer - 32-bit value.LargeInteger - 64-bit value.String - 256 characters maximum
60 61 62 |
# File 'lib/models/extension_property.rb', line 60 def data_type return @data_type end |
#data_type=(value) ⇒ Object
Sets the dataType property value. Specifies the data type of the value the extension property can hold. Following values are supported. Not nullable. Binary - 256 bytes maximumBooleanDateTime - Must be specified in ISO 8601 format. Will be stored in UTC.Integer - 32-bit value.LargeInteger - 64-bit value.String - 256 characters maximum
68 69 70 |
# File 'lib/models/extension_property.rb', line 68 def data_type=(value) @data_type = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
75 76 77 78 79 80 81 82 83 |
# File 'lib/models/extension_property.rb', line 75 def get_field_deserializers() return super.merge({ "appDisplayName" => lambda {|n| @app_display_name = n.get_string_value() }, "dataType" => lambda {|n| @data_type = n.get_string_value() }, "isSyncedFromOnPremises" => lambda {|n| @is_synced_from_on_premises = n.get_boolean_value() }, "name" => lambda {|n| @name = n.get_string_value() }, "targetObjects" => lambda {|n| @target_objects = n.get_collection_of_primitive_values(String) }, }) end |
#is_synced_from_on_premises ⇒ Object
Gets the isSyncedFromOnPremises property value. Indicates if this extension property was synced from on-premises active directory using Azure AD Connect. Read-only.
88 89 90 |
# File 'lib/models/extension_property.rb', line 88 def is_synced_from_on_premises return @is_synced_from_on_premises end |
#is_synced_from_on_premises=(value) ⇒ Object
Sets the isSyncedFromOnPremises property value. Indicates if this extension property was synced from on-premises active directory using Azure AD Connect. Read-only.
96 97 98 |
# File 'lib/models/extension_property.rb', line 96 def is_synced_from_on_premises=(value) @is_synced_from_on_premises = value end |
#name ⇒ Object
Gets the name property value. Name of the extension property. Not nullable. Supports $filter (eq).
103 104 105 |
# File 'lib/models/extension_property.rb', line 103 def name return @name end |
#name=(value) ⇒ Object
Sets the name property value. Name of the extension property. Not nullable. Supports $filter (eq).
111 112 113 |
# File 'lib/models/extension_property.rb', line 111 def name=(value) @name = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
119 120 121 122 123 124 125 126 127 |
# File 'lib/models/extension_property.rb', line 119 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? super writer.write_string_value("appDisplayName", @app_display_name) writer.write_string_value("dataType", @data_type) writer.write_boolean_value("isSyncedFromOnPremises", @is_synced_from_on_premises) writer.write_string_value("name", @name) writer.write_collection_of_primitive_values("targetObjects", @target_objects) end |
#target_objects ⇒ Object
Gets the targetObjects property value. Following values are supported. Not nullable. UserGroupAdministrativeUnitApplicationDeviceOrganization
132 133 134 |
# File 'lib/models/extension_property.rb', line 132 def target_objects return @target_objects end |
#target_objects=(value) ⇒ Object
Sets the targetObjects property value. Following values are supported. Not nullable. UserGroupAdministrativeUnitApplicationDeviceOrganization
140 141 142 |
# File 'lib/models/extension_property.rb', line 140 def target_objects=(value) @target_objects = value end |