Class: MicrosoftGraph::Models::RbacApplication
- Includes:
- MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/rbac_application.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
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#initialize ⇒ Object
constructor
Instantiates a new rbacApplication and sets the default values.
-
#resource_namespaces ⇒ Object
Gets the resourceNamespaces property value.
-
#resource_namespaces=(value) ⇒ Object
Sets the resourceNamespaces property value.
-
#role_assignment_schedule_instances ⇒ Object
Gets the roleAssignmentScheduleInstances property value.
-
#role_assignment_schedule_instances=(value) ⇒ Object
Sets the roleAssignmentScheduleInstances property value.
-
#role_assignment_schedule_requests ⇒ Object
Gets the roleAssignmentScheduleRequests property value.
-
#role_assignment_schedule_requests=(value) ⇒ Object
Sets the roleAssignmentScheduleRequests property value.
-
#role_assignment_schedules ⇒ Object
Gets the roleAssignmentSchedules property value.
-
#role_assignment_schedules=(value) ⇒ Object
Sets the roleAssignmentSchedules property value.
-
#role_assignments ⇒ Object
Gets the roleAssignments property value.
-
#role_assignments=(value) ⇒ Object
Sets the roleAssignments property value.
-
#role_definitions ⇒ Object
Gets the roleDefinitions property value.
-
#role_definitions=(value) ⇒ Object
Sets the roleDefinitions property value.
-
#role_eligibility_schedule_instances ⇒ Object
Gets the roleEligibilityScheduleInstances property value.
-
#role_eligibility_schedule_instances=(value) ⇒ Object
Sets the roleEligibilityScheduleInstances property value.
-
#role_eligibility_schedule_requests ⇒ Object
Gets the roleEligibilityScheduleRequests property value.
-
#role_eligibility_schedule_requests=(value) ⇒ Object
Sets the roleEligibilityScheduleRequests property value.
-
#role_eligibility_schedules ⇒ Object
Gets the roleEligibilitySchedules property value.
-
#role_eligibility_schedules=(value) ⇒ Object
Sets the roleEligibilitySchedules 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 rbacApplication and sets the default values.
40 41 42 |
# File 'lib/models/rbac_application.rb', line 40 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
48 49 50 51 |
# File 'lib/models/rbac_application.rb', line 48 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return RbacApplication.new end |
Instance Method Details
#get_field_deserializers ⇒ Object
The deserialization information for the current model
56 57 58 59 60 61 62 63 64 65 66 67 68 |
# File 'lib/models/rbac_application.rb', line 56 def get_field_deserializers() return super.merge({ "resourceNamespaces" => lambda {|n| @resource_namespaces = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::UnifiedRbacResourceNamespace.create_from_discriminator_value(pn) }) }, "roleAssignmentScheduleInstances" => lambda {|n| @role_assignment_schedule_instances = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::UnifiedRoleAssignmentScheduleInstance.create_from_discriminator_value(pn) }) }, "roleAssignmentScheduleRequests" => lambda {|n| @role_assignment_schedule_requests = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::UnifiedRoleAssignmentScheduleRequest.create_from_discriminator_value(pn) }) }, "roleAssignmentSchedules" => lambda {|n| @role_assignment_schedules = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::UnifiedRoleAssignmentSchedule.create_from_discriminator_value(pn) }) }, "roleAssignments" => lambda {|n| @role_assignments = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::UnifiedRoleAssignment.create_from_discriminator_value(pn) }) }, "roleDefinitions" => lambda {|n| @role_definitions = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::UnifiedRoleDefinition.create_from_discriminator_value(pn) }) }, "roleEligibilityScheduleInstances" => lambda {|n| @role_eligibility_schedule_instances = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::UnifiedRoleEligibilityScheduleInstance.create_from_discriminator_value(pn) }) }, "roleEligibilityScheduleRequests" => lambda {|n| @role_eligibility_schedule_requests = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::UnifiedRoleEligibilityScheduleRequest.create_from_discriminator_value(pn) }) }, "roleEligibilitySchedules" => lambda {|n| @role_eligibility_schedules = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::UnifiedRoleEligibilitySchedule.create_from_discriminator_value(pn) }) }, }) end |
#resource_namespaces ⇒ Object
Gets the resourceNamespaces property value. The resourceNamespaces property
73 74 75 |
# File 'lib/models/rbac_application.rb', line 73 def resource_namespaces return @resource_namespaces end |
#resource_namespaces=(value) ⇒ Object
Sets the resourceNamespaces property value. The resourceNamespaces property
81 82 83 |
# File 'lib/models/rbac_application.rb', line 81 def resource_namespaces=(value) @resource_namespaces = value end |
#role_assignment_schedule_instances ⇒ Object
Gets the roleAssignmentScheduleInstances property value. Instances for active role assignments.
88 89 90 |
# File 'lib/models/rbac_application.rb', line 88 def role_assignment_schedule_instances return @role_assignment_schedule_instances end |
#role_assignment_schedule_instances=(value) ⇒ Object
Sets the roleAssignmentScheduleInstances property value. Instances for active role assignments.
96 97 98 |
# File 'lib/models/rbac_application.rb', line 96 def role_assignment_schedule_instances=(value) @role_assignment_schedule_instances = value end |
#role_assignment_schedule_requests ⇒ Object
Gets the roleAssignmentScheduleRequests property value. Requests for active role assignments to principals through PIM.
103 104 105 |
# File 'lib/models/rbac_application.rb', line 103 def role_assignment_schedule_requests return @role_assignment_schedule_requests end |
#role_assignment_schedule_requests=(value) ⇒ Object
Sets the roleAssignmentScheduleRequests property value. Requests for active role assignments to principals through PIM.
111 112 113 |
# File 'lib/models/rbac_application.rb', line 111 def role_assignment_schedule_requests=(value) @role_assignment_schedule_requests = value end |
#role_assignment_schedules ⇒ Object
Gets the roleAssignmentSchedules property value. Schedules for active role assignment operations.
118 119 120 |
# File 'lib/models/rbac_application.rb', line 118 def role_assignment_schedules return @role_assignment_schedules end |
#role_assignment_schedules=(value) ⇒ Object
Sets the roleAssignmentSchedules property value. Schedules for active role assignment operations.
126 127 128 |
# File 'lib/models/rbac_application.rb', line 126 def role_assignment_schedules=(value) @role_assignment_schedules = value end |
#role_assignments ⇒ Object
Gets the roleAssignments property value. Resource to grant access to users or groups.
133 134 135 |
# File 'lib/models/rbac_application.rb', line 133 def role_assignments return @role_assignments end |
#role_assignments=(value) ⇒ Object
Sets the roleAssignments property value. Resource to grant access to users or groups.
141 142 143 |
# File 'lib/models/rbac_application.rb', line 141 def role_assignments=(value) @role_assignments = value end |
#role_definitions ⇒ Object
Gets the roleDefinitions property value. Resource representing the roles allowed by RBAC providers and the permissions assigned to the roles.
148 149 150 |
# File 'lib/models/rbac_application.rb', line 148 def role_definitions return @role_definitions end |
#role_definitions=(value) ⇒ Object
Sets the roleDefinitions property value. Resource representing the roles allowed by RBAC providers and the permissions assigned to the roles.
156 157 158 |
# File 'lib/models/rbac_application.rb', line 156 def role_definitions=(value) @role_definitions = value end |
#role_eligibility_schedule_instances ⇒ Object
Gets the roleEligibilityScheduleInstances property value. Instances for role eligibility requests.
163 164 165 |
# File 'lib/models/rbac_application.rb', line 163 def role_eligibility_schedule_instances return @role_eligibility_schedule_instances end |
#role_eligibility_schedule_instances=(value) ⇒ Object
Sets the roleEligibilityScheduleInstances property value. Instances for role eligibility requests.
171 172 173 |
# File 'lib/models/rbac_application.rb', line 171 def role_eligibility_schedule_instances=(value) @role_eligibility_schedule_instances = value end |
#role_eligibility_schedule_requests ⇒ Object
Gets the roleEligibilityScheduleRequests property value. Requests for role eligibilities for principals through PIM.
178 179 180 |
# File 'lib/models/rbac_application.rb', line 178 def role_eligibility_schedule_requests return @role_eligibility_schedule_requests end |
#role_eligibility_schedule_requests=(value) ⇒ Object
Sets the roleEligibilityScheduleRequests property value. Requests for role eligibilities for principals through PIM.
186 187 188 |
# File 'lib/models/rbac_application.rb', line 186 def role_eligibility_schedule_requests=(value) @role_eligibility_schedule_requests = value end |
#role_eligibility_schedules ⇒ Object
Gets the roleEligibilitySchedules property value. Schedules for role eligibility operations.
193 194 195 |
# File 'lib/models/rbac_application.rb', line 193 def role_eligibility_schedules return @role_eligibility_schedules end |
#role_eligibility_schedules=(value) ⇒ Object
Sets the roleEligibilitySchedules property value. Schedules for role eligibility operations.
201 202 203 |
# File 'lib/models/rbac_application.rb', line 201 def role_eligibility_schedules=(value) @role_eligibility_schedules = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
209 210 211 212 213 214 215 216 217 218 219 220 221 |
# File 'lib/models/rbac_application.rb', line 209 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? super writer.write_collection_of_object_values("resourceNamespaces", @resource_namespaces) writer.write_collection_of_object_values("roleAssignmentScheduleInstances", @role_assignment_schedule_instances) writer.write_collection_of_object_values("roleAssignmentScheduleRequests", @role_assignment_schedule_requests) writer.write_collection_of_object_values("roleAssignmentSchedules", @role_assignment_schedules) writer.write_collection_of_object_values("roleAssignments", @role_assignments) writer.write_collection_of_object_values("roleDefinitions", @role_definitions) writer.write_collection_of_object_values("roleEligibilityScheduleInstances", @role_eligibility_schedule_instances) writer.write_collection_of_object_values("roleEligibilityScheduleRequests", @role_eligibility_schedule_requests) writer.write_collection_of_object_values("roleEligibilitySchedules", @role_eligibility_schedules) end |