Class: MicrosoftGraph::Models::DriveItem
- Includes:
- MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/drive_item.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
-
#analytics ⇒ Object
Gets the analytics property value.
-
#analytics=(value) ⇒ Object
Sets the analytics property value.
-
#audio ⇒ Object
Gets the audio property value.
-
#audio=(value) ⇒ Object
Sets the audio property value.
-
#bundle ⇒ Object
Gets the bundle property value.
-
#bundle=(value) ⇒ Object
Sets the bundle property value.
-
#c_tag ⇒ Object
Gets the cTag property value.
-
#c_tag=(value) ⇒ Object
Sets the cTag property value.
-
#children ⇒ Object
Gets the children property value.
-
#children=(value) ⇒ Object
Sets the children property value.
-
#content ⇒ Object
Gets the content property value.
-
#content=(value) ⇒ Object
Sets the content property value.
-
#deleted ⇒ Object
Gets the deleted property value.
-
#deleted=(value) ⇒ Object
Sets the deleted property value.
-
#file ⇒ Object
Gets the file property value.
-
#file=(value) ⇒ Object
Sets the file property value.
-
#file_system_info ⇒ Object
Gets the fileSystemInfo property value.
-
#file_system_info=(value) ⇒ Object
Sets the fileSystemInfo property value.
-
#folder ⇒ Object
Gets the folder property value.
-
#folder=(value) ⇒ Object
Sets the folder property value.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#image ⇒ Object
Gets the image property value.
-
#image=(value) ⇒ Object
Sets the image property value.
-
#initialize ⇒ Object
constructor
Instantiates a new driveItem and sets the default values.
-
#list_item ⇒ Object
Gets the listItem property value.
-
#list_item=(value) ⇒ Object
Sets the listItem property value.
-
#location ⇒ Object
Gets the location property value.
-
#location=(value) ⇒ Object
Sets the location property value.
-
#malware ⇒ Object
Gets the malware property value.
-
#malware=(value) ⇒ Object
Sets the malware property value.
-
#package ⇒ Object
Gets the package property value.
-
#package=(value) ⇒ Object
Sets the package property value.
-
#pending_operations ⇒ Object
Gets the pendingOperations property value.
-
#pending_operations=(value) ⇒ Object
Sets the pendingOperations property value.
-
#permissions ⇒ Object
Gets the permissions property value.
-
#permissions=(value) ⇒ Object
Sets the permissions property value.
-
#photo ⇒ Object
Gets the photo property value.
-
#photo=(value) ⇒ Object
Sets the photo property value.
-
#publication ⇒ Object
Gets the publication property value.
-
#publication=(value) ⇒ Object
Sets the publication property value.
-
#remote_item ⇒ Object
Gets the remoteItem property value.
-
#remote_item=(value) ⇒ Object
Sets the remoteItem property value.
-
#root ⇒ Object
Gets the root property value.
-
#root=(value) ⇒ Object
Sets the root property value.
-
#search_result ⇒ Object
Gets the searchResult property value.
-
#search_result=(value) ⇒ Object
Sets the searchResult property value.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
-
#shared ⇒ Object
Gets the shared property value.
-
#shared=(value) ⇒ Object
Sets the shared property value.
-
#sharepoint_ids ⇒ Object
Gets the sharepointIds property value.
-
#sharepoint_ids=(value) ⇒ Object
Sets the sharepointIds property value.
-
#size ⇒ Object
Gets the size property value.
-
#size=(value) ⇒ Object
Sets the size property value.
-
#special_folder ⇒ Object
Gets the specialFolder property value.
-
#special_folder=(value) ⇒ Object
Sets the specialFolder property value.
-
#subscriptions ⇒ Object
Gets the subscriptions property value.
-
#subscriptions=(value) ⇒ Object
Sets the subscriptions property value.
-
#thumbnails ⇒ Object
Gets the thumbnails property value.
-
#thumbnails=(value) ⇒ Object
Sets the thumbnails property value.
-
#versions ⇒ Object
Gets the versions property value.
-
#versions=(value) ⇒ Object
Sets the versions property value.
-
#video ⇒ Object
Gets the video property value.
-
#video=(value) ⇒ Object
Sets the video property value.
-
#web_dav_url ⇒ Object
Gets the webDavUrl property value.
-
#web_dav_url=(value) ⇒ Object
Sets the webDavUrl property value.
-
#workbook ⇒ Object
Gets the workbook property value.
-
#workbook=(value) ⇒ Object
Sets the workbook property value.
Methods inherited from BaseItem
#created_by, #created_by=, #created_by_user, #created_by_user=, #created_date_time, #created_date_time=, #description, #description=, #e_tag, #e_tag=, #last_modified_by, #last_modified_by=, #last_modified_by_user, #last_modified_by_user=, #last_modified_date_time, #last_modified_date_time=, #name, #name=, #parent_reference, #parent_reference=, #web_url, #web_url=
Methods inherited from Entity
#additional_data, #additional_data=, #id, #id=, #odata_type, #odata_type=
Constructor Details
#initialize ⇒ Object
Instantiates a new driveItem and sets the default values.
184 185 186 187 |
# File 'lib/models/drive_item.rb', line 184 def initialize() super @odata_type = "#microsoft.graph.driveItem" end |
Class Method Details
.create_from_discriminator_value(parse_node) ⇒ Object
Creates a new instance of the appropriate class based on discriminator value
208 209 210 211 |
# File 'lib/models/drive_item.rb', line 208 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return DriveItem.new end |
Instance Method Details
#analytics ⇒ Object
Gets the analytics property value. Analytics about the view activities that took place on this item.
109 110 111 |
# File 'lib/models/drive_item.rb', line 109 def analytics return @analytics end |
#analytics=(value) ⇒ Object
Sets the analytics property value. Analytics about the view activities that took place on this item.
117 118 119 |
# File 'lib/models/drive_item.rb', line 117 def analytics=(value) @analytics = value end |
#audio ⇒ Object
Gets the audio property value. Audio metadata, if the item is an audio file. Read-only. Read-only. Only on OneDrive Personal.
124 125 126 |
# File 'lib/models/drive_item.rb', line 124 def audio return @audio end |
#audio=(value) ⇒ Object
Sets the audio property value. Audio metadata, if the item is an audio file. Read-only. Read-only. Only on OneDrive Personal.
132 133 134 |
# File 'lib/models/drive_item.rb', line 132 def audio=(value) @audio = value end |
#bundle ⇒ Object
Gets the bundle property value. Bundle metadata, if the item is a bundle. Read-only.
139 140 141 |
# File 'lib/models/drive_item.rb', line 139 def bundle return @bundle end |
#bundle=(value) ⇒ Object
Sets the bundle property value. Bundle metadata, if the item is a bundle. Read-only.
147 148 149 |
# File 'lib/models/drive_item.rb', line 147 def bundle=(value) @bundle = value end |
#c_tag ⇒ Object
Gets the cTag property value. An eTag for the content of the item. This eTag is not changed if only the metadata is changed. Note This property is not returned if the item is a folder. Read-only.
154 155 156 |
# File 'lib/models/drive_item.rb', line 154 def c_tag return @c_tag end |
#c_tag=(value) ⇒ Object
Sets the cTag property value. An eTag for the content of the item. This eTag is not changed if only the metadata is changed. Note This property is not returned if the item is a folder. Read-only.
162 163 164 |
# File 'lib/models/drive_item.rb', line 162 def c_tag=(value) @c_tag = value end |
#children ⇒ Object
Gets the children property value. Collection containing Item objects for the immediate children of Item. Only items representing folders have children. Read-only. Nullable.
169 170 171 |
# File 'lib/models/drive_item.rb', line 169 def children return @children end |
#children=(value) ⇒ Object
Sets the children property value. Collection containing Item objects for the immediate children of Item. Only items representing folders have children. Read-only. Nullable.
177 178 179 |
# File 'lib/models/drive_item.rb', line 177 def children=(value) @children = value end |
#content ⇒ Object
Gets the content property value. The content stream, if the item represents a file.
192 193 194 |
# File 'lib/models/drive_item.rb', line 192 def content return @content end |
#content=(value) ⇒ Object
Sets the content property value. The content stream, if the item represents a file.
200 201 202 |
# File 'lib/models/drive_item.rb', line 200 def content=(value) @content = value end |
#deleted ⇒ Object
Gets the deleted property value. Information about the deleted state of the item. Read-only.
216 217 218 |
# File 'lib/models/drive_item.rb', line 216 def deleted return @deleted end |
#deleted=(value) ⇒ Object
Sets the deleted property value. Information about the deleted state of the item. Read-only.
224 225 226 |
# File 'lib/models/drive_item.rb', line 224 def deleted=(value) @deleted = value end |
#file ⇒ Object
Gets the file property value. File metadata, if the item is a file. Read-only.
231 232 233 |
# File 'lib/models/drive_item.rb', line 231 def file return @file end |
#file=(value) ⇒ Object
Sets the file property value. File metadata, if the item is a file. Read-only.
239 240 241 |
# File 'lib/models/drive_item.rb', line 239 def file=(value) @file = value end |
#file_system_info ⇒ Object
Gets the fileSystemInfo property value. File system information on client. Read-write.
246 247 248 |
# File 'lib/models/drive_item.rb', line 246 def file_system_info return @file_system_info end |
#file_system_info=(value) ⇒ Object
Sets the fileSystemInfo property value. File system information on client. Read-write.
254 255 256 |
# File 'lib/models/drive_item.rb', line 254 def file_system_info=(value) @file_system_info = value end |
#folder ⇒ Object
Gets the folder property value. Folder metadata, if the item is a folder. Read-only.
261 262 263 |
# File 'lib/models/drive_item.rb', line 261 def folder return @folder end |
#folder=(value) ⇒ Object
Sets the folder property value. Folder metadata, if the item is a folder. Read-only.
269 270 271 |
# File 'lib/models/drive_item.rb', line 269 def folder=(value) @folder = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 |
# File 'lib/models/drive_item.rb', line 276 def get_field_deserializers() return super.merge({ "analytics" => lambda {|n| @analytics = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::ItemAnalytics.create_from_discriminator_value(pn) }) }, "audio" => lambda {|n| @audio = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::Audio.create_from_discriminator_value(pn) }) }, "bundle" => lambda {|n| @bundle = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::Bundle.create_from_discriminator_value(pn) }) }, "cTag" => lambda {|n| @c_tag = n.get_string_value() }, "children" => lambda {|n| @children = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::DriveItem.create_from_discriminator_value(pn) }) }, "content" => lambda {|n| @content = n.get_object_value(lambda {|pn| Base64url.create_from_discriminator_value(pn) }) }, "deleted" => lambda {|n| @deleted = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::Deleted.create_from_discriminator_value(pn) }) }, "file" => lambda {|n| @file = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::File.create_from_discriminator_value(pn) }) }, "fileSystemInfo" => lambda {|n| @file_system_info = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::FileSystemInfo.create_from_discriminator_value(pn) }) }, "folder" => lambda {|n| @folder = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::Folder.create_from_discriminator_value(pn) }) }, "image" => lambda {|n| @image = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::Image.create_from_discriminator_value(pn) }) }, "listItem" => lambda {|n| @list_item = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::ListItem.create_from_discriminator_value(pn) }) }, "location" => lambda {|n| @location = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::GeoCoordinates.create_from_discriminator_value(pn) }) }, "malware" => lambda {|n| @malware = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::Malware.create_from_discriminator_value(pn) }) }, "package" => lambda {|n| @package = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::Package.create_from_discriminator_value(pn) }) }, "pendingOperations" => lambda {|n| @pending_operations = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::PendingOperations.create_from_discriminator_value(pn) }) }, "permissions" => lambda {|n| = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::Permission.create_from_discriminator_value(pn) }) }, "photo" => lambda {|n| @photo = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::Photo.create_from_discriminator_value(pn) }) }, "publication" => lambda {|n| @publication = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::PublicationFacet.create_from_discriminator_value(pn) }) }, "remoteItem" => lambda {|n| @remote_item = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::RemoteItem.create_from_discriminator_value(pn) }) }, "root" => lambda {|n| @root = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::Root.create_from_discriminator_value(pn) }) }, "searchResult" => lambda {|n| @search_result = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::SearchResult.create_from_discriminator_value(pn) }) }, "shared" => lambda {|n| @shared = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::Shared.create_from_discriminator_value(pn) }) }, "sharepointIds" => lambda {|n| @sharepoint_ids = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::SharepointIds.create_from_discriminator_value(pn) }) }, "size" => lambda {|n| @size = n.get_object_value(lambda {|pn| Int64.create_from_discriminator_value(pn) }) }, "specialFolder" => lambda {|n| @special_folder = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::SpecialFolder.create_from_discriminator_value(pn) }) }, "subscriptions" => lambda {|n| @subscriptions = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::Subscription.create_from_discriminator_value(pn) }) }, "thumbnails" => lambda {|n| @thumbnails = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::ThumbnailSet.create_from_discriminator_value(pn) }) }, "versions" => lambda {|n| @versions = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::DriveItemVersion.create_from_discriminator_value(pn) }) }, "video" => lambda {|n| @video = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::Video.create_from_discriminator_value(pn) }) }, "webDavUrl" => lambda {|n| @web_dav_url = n.get_string_value() }, "workbook" => lambda {|n| @workbook = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::Workbook.create_from_discriminator_value(pn) }) }, }) end |
#image ⇒ Object
Gets the image property value. Image metadata, if the item is an image. Read-only.
316 317 318 |
# File 'lib/models/drive_item.rb', line 316 def image return @image end |
#image=(value) ⇒ Object
Sets the image property value. Image metadata, if the item is an image. Read-only.
324 325 326 |
# File 'lib/models/drive_item.rb', line 324 def image=(value) @image = value end |
#list_item ⇒ Object
Gets the listItem property value. For drives in SharePoint, the associated document library list item. Read-only. Nullable.
331 332 333 |
# File 'lib/models/drive_item.rb', line 331 def list_item return @list_item end |
#list_item=(value) ⇒ Object
Sets the listItem property value. For drives in SharePoint, the associated document library list item. Read-only. Nullable.
339 340 341 |
# File 'lib/models/drive_item.rb', line 339 def list_item=(value) @list_item = value end |
#location ⇒ Object
Gets the location property value. Location metadata, if the item has location data. Read-only.
346 347 348 |
# File 'lib/models/drive_item.rb', line 346 def location return @location end |
#location=(value) ⇒ Object
Sets the location property value. Location metadata, if the item has location data. Read-only.
354 355 356 |
# File 'lib/models/drive_item.rb', line 354 def location=(value) @location = value end |
#malware ⇒ Object
Gets the malware property value. Malware metadata, if the item was detected to contain malware. Read-only.
361 362 363 |
# File 'lib/models/drive_item.rb', line 361 def malware return @malware end |
#malware=(value) ⇒ Object
Sets the malware property value. Malware metadata, if the item was detected to contain malware. Read-only.
369 370 371 |
# File 'lib/models/drive_item.rb', line 369 def malware=(value) @malware = value end |
#package ⇒ Object
Gets the package property value. If present, indicates that this item is a package instead of a folder or file. Packages are treated like files in some contexts and folders in others. Read-only.
376 377 378 |
# File 'lib/models/drive_item.rb', line 376 def package return @package end |
#package=(value) ⇒ Object
Sets the package property value. If present, indicates that this item is a package instead of a folder or file. Packages are treated like files in some contexts and folders in others. Read-only.
384 385 386 |
# File 'lib/models/drive_item.rb', line 384 def package=(value) @package = value end |
#pending_operations ⇒ Object
Gets the pendingOperations property value. If present, indicates that one or more operations that might affect the state of the driveItem are pending completion. Read-only.
391 392 393 |
# File 'lib/models/drive_item.rb', line 391 def pending_operations return @pending_operations end |
#pending_operations=(value) ⇒ Object
Sets the pendingOperations property value. If present, indicates that one or more operations that might affect the state of the driveItem are pending completion. Read-only.
399 400 401 |
# File 'lib/models/drive_item.rb', line 399 def pending_operations=(value) @pending_operations = value end |
#permissions ⇒ Object
Gets the permissions property value. The set of permissions for the item. Read-only. Nullable.
406 407 408 |
# File 'lib/models/drive_item.rb', line 406 def return end |
#permissions=(value) ⇒ Object
Sets the permissions property value. The set of permissions for the item. Read-only. Nullable.
414 415 416 |
# File 'lib/models/drive_item.rb', line 414 def (value) = value end |
#photo ⇒ Object
Gets the photo property value. Photo metadata, if the item is a photo. Read-only.
421 422 423 |
# File 'lib/models/drive_item.rb', line 421 def photo return @photo end |
#photo=(value) ⇒ Object
Sets the photo property value. Photo metadata, if the item is a photo. Read-only.
429 430 431 |
# File 'lib/models/drive_item.rb', line 429 def photo=(value) @photo = value end |
#publication ⇒ Object
Gets the publication property value. Provides information about the published or checked-out state of an item, in locations that support such actions. This property is not returned by default. Read-only.
436 437 438 |
# File 'lib/models/drive_item.rb', line 436 def publication return @publication end |
#publication=(value) ⇒ Object
Sets the publication property value. Provides information about the published or checked-out state of an item, in locations that support such actions. This property is not returned by default. Read-only.
444 445 446 |
# File 'lib/models/drive_item.rb', line 444 def publication=(value) @publication = value end |
#remote_item ⇒ Object
Gets the remoteItem property value. Remote item data, if the item is shared from a drive other than the one being accessed. Read-only.
451 452 453 |
# File 'lib/models/drive_item.rb', line 451 def remote_item return @remote_item end |
#remote_item=(value) ⇒ Object
Sets the remoteItem property value. Remote item data, if the item is shared from a drive other than the one being accessed. Read-only.
459 460 461 |
# File 'lib/models/drive_item.rb', line 459 def remote_item=(value) @remote_item = value end |
#root ⇒ Object
Gets the root property value. If this property is non-null, it indicates that the driveItem is the top-most driveItem in the drive.
466 467 468 |
# File 'lib/models/drive_item.rb', line 466 def root return @root end |
#root=(value) ⇒ Object
Sets the root property value. If this property is non-null, it indicates that the driveItem is the top-most driveItem in the drive.
474 475 476 |
# File 'lib/models/drive_item.rb', line 474 def root=(value) @root = value end |
#search_result ⇒ Object
Gets the searchResult property value. Search metadata, if the item is from a search result. Read-only.
481 482 483 |
# File 'lib/models/drive_item.rb', line 481 def search_result return @search_result end |
#search_result=(value) ⇒ Object
Sets the searchResult property value. Search metadata, if the item is from a search result. Read-only.
489 490 491 |
# File 'lib/models/drive_item.rb', line 489 def search_result=(value) @search_result = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 |
# File 'lib/models/drive_item.rb', line 497 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? super writer.write_object_value("analytics", @analytics) writer.write_object_value("audio", @audio) writer.write_object_value("bundle", @bundle) writer.write_string_value("cTag", @c_tag) writer.write_collection_of_object_values("children", @children) writer.write_object_value("content", @content) writer.write_object_value("deleted", @deleted) writer.write_object_value("file", @file) writer.write_object_value("fileSystemInfo", @file_system_info) writer.write_object_value("folder", @folder) writer.write_object_value("image", @image) writer.write_object_value("listItem", @list_item) writer.write_object_value("location", @location) writer.write_object_value("malware", @malware) writer.write_object_value("package", @package) writer.write_object_value("pendingOperations", @pending_operations) writer.write_collection_of_object_values("permissions", ) writer.write_object_value("photo", @photo) writer.write_object_value("publication", @publication) writer.write_object_value("remoteItem", @remote_item) writer.write_object_value("root", @root) writer.write_object_value("searchResult", @search_result) writer.write_object_value("shared", @shared) writer.write_object_value("sharepointIds", @sharepoint_ids) writer.write_object_value("size", @size) writer.write_object_value("specialFolder", @special_folder) writer.write_collection_of_object_values("subscriptions", @subscriptions) writer.write_collection_of_object_values("thumbnails", @thumbnails) writer.write_collection_of_object_values("versions", @versions) writer.write_object_value("video", @video) writer.write_string_value("webDavUrl", @web_dav_url) writer.write_object_value("workbook", @workbook) end |
#shared ⇒ Object
Gets the shared property value. Indicates that the item has been shared with others and provides information about the shared state of the item. Read-only.
537 538 539 |
# File 'lib/models/drive_item.rb', line 537 def shared return @shared end |
#shared=(value) ⇒ Object
Sets the shared property value. Indicates that the item has been shared with others and provides information about the shared state of the item. Read-only.
545 546 547 |
# File 'lib/models/drive_item.rb', line 545 def shared=(value) @shared = value end |
#sharepoint_ids ⇒ Object
Gets the sharepointIds property value. Returns identifiers useful for SharePoint REST compatibility. Read-only.
552 553 554 |
# File 'lib/models/drive_item.rb', line 552 def sharepoint_ids return @sharepoint_ids end |
#sharepoint_ids=(value) ⇒ Object
Sets the sharepointIds property value. Returns identifiers useful for SharePoint REST compatibility. Read-only.
560 561 562 |
# File 'lib/models/drive_item.rb', line 560 def sharepoint_ids=(value) @sharepoint_ids = value end |
#size ⇒ Object
Gets the size property value. Size of the item in bytes. Read-only.
567 568 569 |
# File 'lib/models/drive_item.rb', line 567 def size return @size end |
#size=(value) ⇒ Object
Sets the size property value. Size of the item in bytes. Read-only.
575 576 577 |
# File 'lib/models/drive_item.rb', line 575 def size=(value) @size = value end |
#special_folder ⇒ Object
Gets the specialFolder property value. If the current item is also available as a special folder, this facet is returned. Read-only.
582 583 584 |
# File 'lib/models/drive_item.rb', line 582 def special_folder return @special_folder end |
#special_folder=(value) ⇒ Object
Sets the specialFolder property value. If the current item is also available as a special folder, this facet is returned. Read-only.
590 591 592 |
# File 'lib/models/drive_item.rb', line 590 def special_folder=(value) @special_folder = value end |
#subscriptions ⇒ Object
Gets the subscriptions property value. The set of subscriptions on the item. Only supported on the root of a drive.
597 598 599 |
# File 'lib/models/drive_item.rb', line 597 def subscriptions return @subscriptions end |
#subscriptions=(value) ⇒ Object
Sets the subscriptions property value. The set of subscriptions on the item. Only supported on the root of a drive.
605 606 607 |
# File 'lib/models/drive_item.rb', line 605 def subscriptions=(value) @subscriptions = value end |
#thumbnails ⇒ Object
Gets the thumbnails property value. Collection containing [ThumbnailSet][] objects associated with the item. For more info, see [getting thumbnails][]. Read-only. Nullable.
612 613 614 |
# File 'lib/models/drive_item.rb', line 612 def thumbnails return @thumbnails end |
#thumbnails=(value) ⇒ Object
Sets the thumbnails property value. Collection containing [ThumbnailSet][] objects associated with the item. For more info, see [getting thumbnails][]. Read-only. Nullable.
620 621 622 |
# File 'lib/models/drive_item.rb', line 620 def thumbnails=(value) @thumbnails = value end |
#versions ⇒ Object
Gets the versions property value. The list of previous versions of the item. For more info, see [getting previous versions][]. Read-only. Nullable.
627 628 629 |
# File 'lib/models/drive_item.rb', line 627 def versions return @versions end |
#versions=(value) ⇒ Object
Sets the versions property value. The list of previous versions of the item. For more info, see [getting previous versions][]. Read-only. Nullable.
635 636 637 |
# File 'lib/models/drive_item.rb', line 635 def versions=(value) @versions = value end |
#video ⇒ Object
Gets the video property value. Video metadata, if the item is a video. Read-only.
642 643 644 |
# File 'lib/models/drive_item.rb', line 642 def video return @video end |
#video=(value) ⇒ Object
Sets the video property value. Video metadata, if the item is a video. Read-only.
650 651 652 |
# File 'lib/models/drive_item.rb', line 650 def video=(value) @video = value end |
#web_dav_url ⇒ Object
Gets the webDavUrl property value. WebDAV compatible URL for the item.
657 658 659 |
# File 'lib/models/drive_item.rb', line 657 def web_dav_url return @web_dav_url end |
#web_dav_url=(value) ⇒ Object
Sets the webDavUrl property value. WebDAV compatible URL for the item.
665 666 667 |
# File 'lib/models/drive_item.rb', line 665 def web_dav_url=(value) @web_dav_url = value end |
#workbook ⇒ Object
Gets the workbook property value. For files that are Excel spreadsheets, accesses the workbook API to work with the spreadsheet’s contents. Nullable.
672 673 674 |
# File 'lib/models/drive_item.rb', line 672 def workbook return @workbook end |
#workbook=(value) ⇒ Object
Sets the workbook property value. For files that are Excel spreadsheets, accesses the workbook API to work with the spreadsheet’s contents. Nullable.
680 681 682 |
# File 'lib/models/drive_item.rb', line 680 def workbook=(value) @workbook = value end |