Class: MicrosoftGraph::Models::UnifiedRbacResourceAction
- Includes:
- MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/unified_rbac_resource_action.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
-
#action_verb ⇒ Object
Gets the actionVerb property value.
-
#action_verb=(value) ⇒ Object
Sets the actionVerb property value.
-
#authentication_context_id ⇒ Object
Gets the authenticationContextId property value.
-
#authentication_context_id=(value) ⇒ Object
Sets the authenticationContextId property value.
-
#description ⇒ Object
Gets the description property value.
-
#description=(value) ⇒ Object
Sets the description property value.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#initialize ⇒ Object
constructor
Instantiates a new unifiedRbacResourceAction and sets the default values.
-
#is_authentication_context_settable ⇒ Object
Gets the isAuthenticationContextSettable property value.
-
#is_authentication_context_settable=(value) ⇒ Object
Sets the isAuthenticationContextSettable property value.
-
#name ⇒ Object
Gets the name property value.
-
#name=(value) ⇒ Object
Sets the name property value.
-
#resource_scope_id ⇒ Object
Gets the resourceScopeId property value.
-
#resource_scope_id=(value) ⇒ Object
Sets the resourceScopeId property value.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
Methods inherited from Entity
#additional_data, #additional_data=, #id, #id=, #odata_type, #odata_type=
Constructor Details
#initialize ⇒ Object
Instantiates a new unifiedRbacResourceAction and sets the default values.
61 62 63 |
# File 'lib/models/unified_rbac_resource_action.rb', line 61 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
69 70 71 72 |
# File 'lib/models/unified_rbac_resource_action.rb', line 69 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return UnifiedRbacResourceAction.new end |
Instance Method Details
#action_verb ⇒ Object
Gets the actionVerb property value. The actionVerb property
31 32 33 |
# File 'lib/models/unified_rbac_resource_action.rb', line 31 def action_verb return @action_verb end |
#action_verb=(value) ⇒ Object
Sets the actionVerb property value. The actionVerb property
39 40 41 |
# File 'lib/models/unified_rbac_resource_action.rb', line 39 def action_verb=(value) @action_verb = value end |
#authentication_context_id ⇒ Object
Gets the authenticationContextId property value. The authenticationContextId property
46 47 48 |
# File 'lib/models/unified_rbac_resource_action.rb', line 46 def authentication_context_id return @authentication_context_id end |
#authentication_context_id=(value) ⇒ Object
Sets the authenticationContextId property value. The authenticationContextId property
54 55 56 |
# File 'lib/models/unified_rbac_resource_action.rb', line 54 def authentication_context_id=(value) @authentication_context_id = value end |
#description ⇒ Object
Gets the description property value. The description property
77 78 79 |
# File 'lib/models/unified_rbac_resource_action.rb', line 77 def description return @description end |
#description=(value) ⇒ Object
Sets the description property value. The description property
85 86 87 |
# File 'lib/models/unified_rbac_resource_action.rb', line 85 def description=(value) @description = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
92 93 94 95 96 97 98 99 100 101 |
# File 'lib/models/unified_rbac_resource_action.rb', line 92 def get_field_deserializers() return super.merge({ "actionVerb" => lambda {|n| @action_verb = n.get_string_value() }, "authenticationContextId" => lambda {|n| @authentication_context_id = n.get_string_value() }, "description" => lambda {|n| @description = n.get_string_value() }, "isAuthenticationContextSettable" => lambda {|n| @is_authentication_context_settable = n.get_boolean_value() }, "name" => lambda {|n| @name = n.get_string_value() }, "resourceScopeId" => lambda {|n| @resource_scope_id = n.get_string_value() }, }) end |
#is_authentication_context_settable ⇒ Object
Gets the isAuthenticationContextSettable property value. The isAuthenticationContextSettable property
106 107 108 |
# File 'lib/models/unified_rbac_resource_action.rb', line 106 def is_authentication_context_settable return @is_authentication_context_settable end |
#is_authentication_context_settable=(value) ⇒ Object
Sets the isAuthenticationContextSettable property value. The isAuthenticationContextSettable property
114 115 116 |
# File 'lib/models/unified_rbac_resource_action.rb', line 114 def is_authentication_context_settable=(value) @is_authentication_context_settable = value end |
#name ⇒ Object
Gets the name property value. The name property
121 122 123 |
# File 'lib/models/unified_rbac_resource_action.rb', line 121 def name return @name end |
#name=(value) ⇒ Object
Sets the name property value. The name property
129 130 131 |
# File 'lib/models/unified_rbac_resource_action.rb', line 129 def name=(value) @name = value end |
#resource_scope_id ⇒ Object
Gets the resourceScopeId property value. The resourceScopeId property
136 137 138 |
# File 'lib/models/unified_rbac_resource_action.rb', line 136 def resource_scope_id return @resource_scope_id end |
#resource_scope_id=(value) ⇒ Object
Sets the resourceScopeId property value. The resourceScopeId property
144 145 146 |
# File 'lib/models/unified_rbac_resource_action.rb', line 144 def resource_scope_id=(value) @resource_scope_id = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
152 153 154 155 156 157 158 159 160 161 |
# File 'lib/models/unified_rbac_resource_action.rb', line 152 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? super writer.write_string_value("actionVerb", @action_verb) writer.write_string_value("authenticationContextId", @authentication_context_id) writer.write_string_value("description", @description) writer.write_boolean_value("isAuthenticationContextSettable", @is_authentication_context_settable) writer.write_string_value("name", @name) writer.write_string_value("resourceScopeId", @resource_scope_id) end |