Class: MicrosoftGraph::Models::EntitlementManagement
- Includes:
- MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/entitlement_management.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
-
#access_package_assignment_approvals ⇒ Object
Gets the accessPackageAssignmentApprovals property value.
-
#access_package_assignment_approvals=(value) ⇒ Object
Sets the accessPackageAssignmentApprovals property value.
-
#access_packages ⇒ Object
Gets the accessPackages property value.
-
#access_packages=(value) ⇒ Object
Sets the accessPackages property value.
-
#assignment_policies ⇒ Object
Gets the assignmentPolicies property value.
-
#assignment_policies=(value) ⇒ Object
Sets the assignmentPolicies property value.
-
#assignment_requests ⇒ Object
Gets the assignmentRequests property value.
-
#assignment_requests=(value) ⇒ Object
Sets the assignmentRequests property value.
-
#assignments ⇒ Object
Gets the assignments property value.
-
#assignments=(value) ⇒ Object
Sets the assignments property value.
-
#catalogs ⇒ Object
Gets the catalogs property value.
-
#catalogs=(value) ⇒ Object
Sets the catalogs property value.
-
#connected_organizations ⇒ Object
Gets the connectedOrganizations property value.
-
#connected_organizations=(value) ⇒ Object
Sets the connectedOrganizations property value.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#initialize ⇒ Object
constructor
Instantiates a new entitlementManagement and sets the default values.
-
#resource_environments ⇒ Object
Gets the resourceEnvironments property value.
-
#resource_environments=(value) ⇒ Object
Sets the resourceEnvironments property value.
-
#resource_requests ⇒ Object
Gets the resourceRequests property value.
-
#resource_requests=(value) ⇒ Object
Sets the resourceRequests property value.
-
#resource_role_scopes ⇒ Object
Gets the resourceRoleScopes property value.
-
#resource_role_scopes=(value) ⇒ Object
Sets the resourceRoleScopes property value.
-
#resources ⇒ Object
Gets the resources property value.
-
#resources=(value) ⇒ Object
Sets the resources property value.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
-
#settings ⇒ Object
Gets the settings property value.
-
#settings=(value) ⇒ Object
Sets the settings property value.
Methods inherited from Entity
#additional_data, #additional_data=, #id, #id=, #odata_type, #odata_type=
Constructor Details
#initialize ⇒ Object
Instantiates a new entitlementManagement and sets the default values.
154 155 156 |
# File 'lib/models/entitlement_management.rb', line 154 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
162 163 164 165 |
# File 'lib/models/entitlement_management.rb', line 162 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return EntitlementManagement.new end |
Instance Method Details
#access_package_assignment_approvals ⇒ Object
Gets the accessPackageAssignmentApprovals property value. Approval stages for decisions associated with access package assignment requests.
49 50 51 |
# File 'lib/models/entitlement_management.rb', line 49 def access_package_assignment_approvals return @access_package_assignment_approvals end |
#access_package_assignment_approvals=(value) ⇒ Object
Sets the accessPackageAssignmentApprovals property value. Approval stages for decisions associated with access package assignment requests.
57 58 59 |
# File 'lib/models/entitlement_management.rb', line 57 def access_package_assignment_approvals=(value) @access_package_assignment_approvals = value end |
#access_packages ⇒ Object
Gets the accessPackages property value. Access packages define the collection of resource roles and the policies for which subjects can request or be assigned access to those resources.
64 65 66 |
# File 'lib/models/entitlement_management.rb', line 64 def access_packages return @access_packages end |
#access_packages=(value) ⇒ Object
Sets the accessPackages property value. Access packages define the collection of resource roles and the policies for which subjects can request or be assigned access to those resources.
72 73 74 |
# File 'lib/models/entitlement_management.rb', line 72 def access_packages=(value) @access_packages = value end |
#assignment_policies ⇒ Object
Gets the assignmentPolicies property value. Access package assignment policies govern which subjects can request or be assigned an access package via an access package assignment.
79 80 81 |
# File 'lib/models/entitlement_management.rb', line 79 def assignment_policies return @assignment_policies end |
#assignment_policies=(value) ⇒ Object
Sets the assignmentPolicies property value. Access package assignment policies govern which subjects can request or be assigned an access package via an access package assignment.
87 88 89 |
# File 'lib/models/entitlement_management.rb', line 87 def assignment_policies=(value) @assignment_policies = value end |
#assignment_requests ⇒ Object
Gets the assignmentRequests property value. Access package assignment requests created by or on behalf of a subject.
94 95 96 |
# File 'lib/models/entitlement_management.rb', line 94 def assignment_requests return @assignment_requests end |
#assignment_requests=(value) ⇒ Object
Sets the assignmentRequests property value. Access package assignment requests created by or on behalf of a subject.
102 103 104 |
# File 'lib/models/entitlement_management.rb', line 102 def assignment_requests=(value) @assignment_requests = value end |
#assignments ⇒ Object
Gets the assignments property value. The assignment of an access package to a subject for a period of time.
109 110 111 |
# File 'lib/models/entitlement_management.rb', line 109 def assignments return @assignments end |
#assignments=(value) ⇒ Object
Sets the assignments property value. The assignment of an access package to a subject for a period of time.
117 118 119 |
# File 'lib/models/entitlement_management.rb', line 117 def assignments=(value) @assignments = value end |
#catalogs ⇒ Object
Gets the catalogs property value. A container for access packages.
124 125 126 |
# File 'lib/models/entitlement_management.rb', line 124 def catalogs return @catalogs end |
#catalogs=(value) ⇒ Object
Sets the catalogs property value. A container for access packages.
132 133 134 |
# File 'lib/models/entitlement_management.rb', line 132 def catalogs=(value) @catalogs = value end |
#connected_organizations ⇒ Object
Gets the connectedOrganizations property value. References to a directory or domain of another organization whose users can request access.
139 140 141 |
# File 'lib/models/entitlement_management.rb', line 139 def connected_organizations return @connected_organizations end |
#connected_organizations=(value) ⇒ Object
Sets the connectedOrganizations property value. References to a directory or domain of another organization whose users can request access.
147 148 149 |
# File 'lib/models/entitlement_management.rb', line 147 def connected_organizations=(value) @connected_organizations = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 |
# File 'lib/models/entitlement_management.rb', line 170 def get_field_deserializers() return super.merge({ "accessPackageAssignmentApprovals" => lambda {|n| @access_package_assignment_approvals = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::Approval.create_from_discriminator_value(pn) }) }, "accessPackages" => lambda {|n| @access_packages = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::AccessPackage.create_from_discriminator_value(pn) }) }, "assignmentPolicies" => lambda {|n| @assignment_policies = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::AccessPackageAssignmentPolicy.create_from_discriminator_value(pn) }) }, "assignmentRequests" => lambda {|n| @assignment_requests = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::AccessPackageAssignmentRequest.create_from_discriminator_value(pn) }) }, "assignments" => lambda {|n| @assignments = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::AccessPackageAssignment.create_from_discriminator_value(pn) }) }, "catalogs" => lambda {|n| @catalogs = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::AccessPackageCatalog.create_from_discriminator_value(pn) }) }, "connectedOrganizations" => lambda {|n| @connected_organizations = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::ConnectedOrganization.create_from_discriminator_value(pn) }) }, "resourceEnvironments" => lambda {|n| @resource_environments = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::AccessPackageResourceEnvironment.create_from_discriminator_value(pn) }) }, "resourceRequests" => lambda {|n| @resource_requests = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::AccessPackageResourceRequest.create_from_discriminator_value(pn) }) }, "resourceRoleScopes" => lambda {|n| @resource_role_scopes = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::AccessPackageResourceRoleScope.create_from_discriminator_value(pn) }) }, "resources" => lambda {|n| @resources = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::AccessPackageResource.create_from_discriminator_value(pn) }) }, "settings" => lambda {|n| @settings = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::EntitlementManagementSettings.create_from_discriminator_value(pn) }) }, }) end |
#resource_environments ⇒ Object
Gets the resourceEnvironments property value. A reference to the geolocation environments in which a resource is located.
190 191 192 |
# File 'lib/models/entitlement_management.rb', line 190 def resource_environments return @resource_environments end |
#resource_environments=(value) ⇒ Object
Sets the resourceEnvironments property value. A reference to the geolocation environments in which a resource is located.
198 199 200 |
# File 'lib/models/entitlement_management.rb', line 198 def resource_environments=(value) @resource_environments = value end |
#resource_requests ⇒ Object
Gets the resourceRequests property value. Represents a request to add or remove a resource to or from a catalog respectively.
205 206 207 |
# File 'lib/models/entitlement_management.rb', line 205 def resource_requests return @resource_requests end |
#resource_requests=(value) ⇒ Object
Sets the resourceRequests property value. Represents a request to add or remove a resource to or from a catalog respectively.
213 214 215 |
# File 'lib/models/entitlement_management.rb', line 213 def resource_requests=(value) @resource_requests = value end |
#resource_role_scopes ⇒ Object
Gets the resourceRoleScopes property value. The resourceRoleScopes property
220 221 222 |
# File 'lib/models/entitlement_management.rb', line 220 def resource_role_scopes return @resource_role_scopes end |
#resource_role_scopes=(value) ⇒ Object
Sets the resourceRoleScopes property value. The resourceRoleScopes property
228 229 230 |
# File 'lib/models/entitlement_management.rb', line 228 def resource_role_scopes=(value) @resource_role_scopes = value end |
#resources ⇒ Object
Gets the resources property value. The resources associated with the catalogs.
235 236 237 |
# File 'lib/models/entitlement_management.rb', line 235 def resources return @resources end |
#resources=(value) ⇒ Object
Sets the resources property value. The resources associated with the catalogs.
243 244 245 |
# File 'lib/models/entitlement_management.rb', line 243 def resources=(value) @resources = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 |
# File 'lib/models/entitlement_management.rb', line 251 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? super writer.write_collection_of_object_values("accessPackageAssignmentApprovals", @access_package_assignment_approvals) writer.write_collection_of_object_values("accessPackages", @access_packages) writer.write_collection_of_object_values("assignmentPolicies", @assignment_policies) writer.write_collection_of_object_values("assignmentRequests", @assignment_requests) writer.write_collection_of_object_values("assignments", @assignments) writer.write_collection_of_object_values("catalogs", @catalogs) writer.write_collection_of_object_values("connectedOrganizations", @connected_organizations) writer.write_collection_of_object_values("resourceEnvironments", @resource_environments) writer.write_collection_of_object_values("resourceRequests", @resource_requests) writer.write_collection_of_object_values("resourceRoleScopes", @resource_role_scopes) writer.write_collection_of_object_values("resources", @resources) writer.write_object_value("settings", @settings) end |
#settings ⇒ Object
Gets the settings property value. The settings that control the behavior of Azure AD entitlement management.
271 272 273 |
# File 'lib/models/entitlement_management.rb', line 271 def settings return @settings end |
#settings=(value) ⇒ Object
Sets the settings property value. The settings that control the behavior of Azure AD entitlement management.
279 280 281 |
# File 'lib/models/entitlement_management.rb', line 279 def settings=(value) @settings = value end |