Class: MicrosoftGraph::Models::AccessPackageCatalog
- Includes:
- MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/access_package_catalog.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_packages ⇒ Object
Gets the accessPackages property value.
-
#access_packages=(value) ⇒ Object
Sets the accessPackages property value.
-
#catalog_type ⇒ Object
Gets the catalogType property value.
-
#catalog_type=(value) ⇒ Object
Sets the catalogType property value.
-
#created_date_time ⇒ Object
Gets the createdDateTime property value.
-
#created_date_time=(value) ⇒ Object
Sets the createdDateTime property value.
-
#custom_workflow_extensions ⇒ Object
Gets the customWorkflowExtensions property value.
-
#custom_workflow_extensions=(value) ⇒ Object
Sets the customWorkflowExtensions property value.
-
#description ⇒ Object
Gets the description property value.
-
#description=(value) ⇒ Object
Sets the description property value.
-
#display_name ⇒ Object
Gets the displayName property value.
-
#display_name=(value) ⇒ Object
Sets the displayName property value.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#initialize ⇒ Object
constructor
Instantiates a new accessPackageCatalog and sets the default values.
-
#is_externally_visible ⇒ Object
Gets the isExternallyVisible property value.
-
#is_externally_visible=(value) ⇒ Object
Sets the isExternallyVisible property value.
-
#modified_date_time ⇒ Object
Gets the modifiedDateTime property value.
-
#modified_date_time=(value) ⇒ Object
Sets the modifiedDateTime property value.
-
#resource_roles ⇒ Object
Gets the resourceRoles property value.
-
#resource_roles=(value) ⇒ Object
Sets the resourceRoles property value.
-
#resource_scopes ⇒ Object
Gets the resourceScopes property value.
-
#resource_scopes=(value) ⇒ Object
Sets the resourceScopes 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.
-
#state ⇒ Object
Gets the state property value.
-
#state=(value) ⇒ Object
Sets the state property value.
Methods inherited from Entity
#additional_data, #additional_data=, #id, #id=, #odata_type, #odata_type=
Constructor Details
#initialize ⇒ Object
Instantiates a new accessPackageCatalog and sets the default values.
80 81 82 |
# File 'lib/models/access_package_catalog.rb', line 80 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
103 104 105 106 |
# File 'lib/models/access_package_catalog.rb', line 103 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return AccessPackageCatalog.new end |
Instance Method Details
#access_packages ⇒ Object
Gets the accessPackages property value. The access packages in this catalog. Read-only. Nullable.
50 51 52 |
# File 'lib/models/access_package_catalog.rb', line 50 def access_packages return @access_packages end |
#access_packages=(value) ⇒ Object
Sets the accessPackages property value. The access packages in this catalog. Read-only. Nullable.
58 59 60 |
# File 'lib/models/access_package_catalog.rb', line 58 def access_packages=(value) @access_packages = value end |
#catalog_type ⇒ Object
Gets the catalogType property value. Whether the catalog is created by a user or entitlement management. The possible values are: userManaged, serviceDefault, serviceManaged, unknownFutureValue.
65 66 67 |
# File 'lib/models/access_package_catalog.rb', line 65 def catalog_type return @catalog_type end |
#catalog_type=(value) ⇒ Object
Sets the catalogType property value. Whether the catalog is created by a user or entitlement management. The possible values are: userManaged, serviceDefault, serviceManaged, unknownFutureValue.
73 74 75 |
# File 'lib/models/access_package_catalog.rb', line 73 def catalog_type=(value) @catalog_type = value end |
#created_date_time ⇒ Object
Gets the createdDateTime property value. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only.
87 88 89 |
# File 'lib/models/access_package_catalog.rb', line 87 def created_date_time return @created_date_time end |
#created_date_time=(value) ⇒ Object
Sets the createdDateTime property value. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only.
95 96 97 |
# File 'lib/models/access_package_catalog.rb', line 95 def created_date_time=(value) @created_date_time = value end |
#custom_workflow_extensions ⇒ Object
Gets the customWorkflowExtensions property value. The customWorkflowExtensions property
111 112 113 |
# File 'lib/models/access_package_catalog.rb', line 111 def custom_workflow_extensions return @custom_workflow_extensions end |
#custom_workflow_extensions=(value) ⇒ Object
Sets the customWorkflowExtensions property value. The customWorkflowExtensions property
119 120 121 |
# File 'lib/models/access_package_catalog.rb', line 119 def custom_workflow_extensions=(value) @custom_workflow_extensions = value end |
#description ⇒ Object
Gets the description property value. The description of the access package catalog.
126 127 128 |
# File 'lib/models/access_package_catalog.rb', line 126 def description return @description end |
#description=(value) ⇒ Object
Sets the description property value. The description of the access package catalog.
134 135 136 |
# File 'lib/models/access_package_catalog.rb', line 134 def description=(value) @description = value end |
#display_name ⇒ Object
Gets the displayName property value. The display name of the access package catalog.
141 142 143 |
# File 'lib/models/access_package_catalog.rb', line 141 def display_name return @display_name end |
#display_name=(value) ⇒ Object
Sets the displayName property value. The display name of the access package catalog.
149 150 151 |
# File 'lib/models/access_package_catalog.rb', line 149 def display_name=(value) @display_name = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 |
# File 'lib/models/access_package_catalog.rb', line 156 def get_field_deserializers() return super.merge({ "accessPackages" => lambda {|n| @access_packages = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::AccessPackage.create_from_discriminator_value(pn) }) }, "catalogType" => lambda {|n| @catalog_type = n.get_enum_value(MicrosoftGraph::Models::AccessPackageCatalogType) }, "createdDateTime" => lambda {|n| @created_date_time = n.get_date_time_value() }, "customWorkflowExtensions" => lambda {|n| @custom_workflow_extensions = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::CustomCalloutExtension.create_from_discriminator_value(pn) }) }, "description" => lambda {|n| @description = n.get_string_value() }, "displayName" => lambda {|n| @display_name = n.get_string_value() }, "isExternallyVisible" => lambda {|n| @is_externally_visible = n.get_boolean_value() }, "modifiedDateTime" => lambda {|n| @modified_date_time = n.get_date_time_value() }, "resourceRoles" => lambda {|n| @resource_roles = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::AccessPackageResourceRole.create_from_discriminator_value(pn) }) }, "resourceScopes" => lambda {|n| @resource_scopes = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::AccessPackageResourceScope.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) }) }, "state" => lambda {|n| @state = n.get_enum_value(MicrosoftGraph::Models::AccessPackageCatalogState) }, }) end |
#is_externally_visible ⇒ Object
Gets the isExternallyVisible property value. Whether the access packages in this catalog can be requested by users outside of the tenant.
176 177 178 |
# File 'lib/models/access_package_catalog.rb', line 176 def is_externally_visible return @is_externally_visible end |
#is_externally_visible=(value) ⇒ Object
Sets the isExternallyVisible property value. Whether the access packages in this catalog can be requested by users outside of the tenant.
184 185 186 |
# File 'lib/models/access_package_catalog.rb', line 184 def is_externally_visible=(value) @is_externally_visible = value end |
#modified_date_time ⇒ Object
Gets the modifiedDateTime property value. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only.
191 192 193 |
# File 'lib/models/access_package_catalog.rb', line 191 def modified_date_time return @modified_date_time end |
#modified_date_time=(value) ⇒ Object
Sets the modifiedDateTime property value. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only.
199 200 201 |
# File 'lib/models/access_package_catalog.rb', line 199 def modified_date_time=(value) @modified_date_time = value end |
#resource_roles ⇒ Object
Gets the resourceRoles property value. The resourceRoles property
206 207 208 |
# File 'lib/models/access_package_catalog.rb', line 206 def resource_roles return @resource_roles end |
#resource_roles=(value) ⇒ Object
Sets the resourceRoles property value. The resourceRoles property
214 215 216 |
# File 'lib/models/access_package_catalog.rb', line 214 def resource_roles=(value) @resource_roles = value end |
#resource_scopes ⇒ Object
Gets the resourceScopes property value. The resourceScopes property
221 222 223 |
# File 'lib/models/access_package_catalog.rb', line 221 def resource_scopes return @resource_scopes end |
#resource_scopes=(value) ⇒ Object
Sets the resourceScopes property value. The resourceScopes property
229 230 231 |
# File 'lib/models/access_package_catalog.rb', line 229 def resource_scopes=(value) @resource_scopes = value end |
#resources ⇒ Object
Gets the resources property value. Access package resources in this catalog.
236 237 238 |
# File 'lib/models/access_package_catalog.rb', line 236 def resources return @resources end |
#resources=(value) ⇒ Object
Sets the resources property value. Access package resources in this catalog.
244 245 246 |
# File 'lib/models/access_package_catalog.rb', line 244 def resources=(value) @resources = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 |
# File 'lib/models/access_package_catalog.rb', line 252 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? super writer.write_collection_of_object_values("accessPackages", @access_packages) writer.write_enum_value("catalogType", @catalog_type) writer.write_date_time_value("createdDateTime", @created_date_time) writer.write_collection_of_object_values("customWorkflowExtensions", @custom_workflow_extensions) writer.write_string_value("description", @description) writer.write_string_value("displayName", @display_name) writer.write_boolean_value("isExternallyVisible", @is_externally_visible) writer.write_date_time_value("modifiedDateTime", @modified_date_time) writer.write_collection_of_object_values("resourceRoles", @resource_roles) writer.write_collection_of_object_values("resourceScopes", @resource_scopes) writer.write_collection_of_object_values("resources", @resources) writer.write_enum_value("state", @state) end |
#state ⇒ Object
Gets the state property value. Has the value published if the access packages are available for management. The possible values are: unpublished, published, unknownFutureValue.
272 273 274 |
# File 'lib/models/access_package_catalog.rb', line 272 def state return @state end |
#state=(value) ⇒ Object
Sets the state property value. Has the value published if the access packages are available for management. The possible values are: unpublished, published, unknownFutureValue.
280 281 282 |
# File 'lib/models/access_package_catalog.rb', line 280 def state=(value) @state = value end |