|
VMware vSphere Automation SDK Perl
The VMware vSphere Automation SDK for Perl supports the client-side vSphere Automation API for access to vSphere services and capabilities
|
Avaliable Methods | |
| public method | set_bytes_transferred () |
| public method | get_checksum_info () |
| public method | get_bytes_transferred () |
| public method | set_name () |
| public method | set_error_message () |
| public method | set_size () |
| public method | get_error_message () |
| public method | set_checksum_info () |
| public method | set_download_endpoint () |
| public method | new () |
| public method | get_download_endpoint () |
| public method | get_name () |
| public method | get_size () |
| public method | set_status () |
| public method | get_status () |
The Com::Vmware::Content::Library::Item::Downloadsession::File::Info class defines the downloaded file.
| public method Com::Vmware::Content::Library::Item::Downloadsession::File::Info::get_bytes_transferred | ( | ) |
Gets the value of 'bytes_transferred' property.
| bytes_transferred | - The current value of the field. The number of bytes that have been transferred by the server so far for making this file prepared for download. This value may stay at zero till the client starts downloading the file. long# |
Code:
| public method Com::Vmware::Content::Library::Item::Downloadsession::File::Info::get_checksum_info | ( | ) |
Gets the value of 'checksum_info' property.
| checksum_info | - The current value of the field. The checksum information of the file. When the download is complete, you can retrieve the checksum from the :func:Com::Vmware::Content::Library::Item::Downloadsession::File.get method to verify the checksum for the downloaded file. Optional# |
Code:
| public method Com::Vmware::Content::Library::Item::Downloadsession::File::Info::get_download_endpoint | ( | ) |
Gets the value of 'download_endpoint' property.
| download_endpoint | - The current value of the field. Endpoint at which the file is available for download. The value is valid only when the :attr:Com::Vmware::Content::Library::Item::Downloadsession::File::Info.status is :attr:Com::Vmware::Content::Library::Item::Downloadsession::File::PrepareStatus.PREPAREDOptional# |
Code:
| public method Com::Vmware::Content::Library::Item::Downloadsession::File::Info::get_error_message | ( | ) |
Gets the value of 'error_message' property.
| error_message | - The current value of the field. Error message for a failed preparation when the prepare status is :attr:Com::Vmware::Content::Library::Item::Downloadsession::File::PrepareStatus.ERROROptional# |
Code:
| public method Com::Vmware::Content::Library::Item::Downloadsession::File::Info::get_name | ( | ) |
Gets the value of 'name' property.
| name | - The current value of the field. The name of the file. String# |
Code:
| public method Com::Vmware::Content::Library::Item::Downloadsession::File::Info::get_size | ( | ) |
Gets the value of 'size' property.
| size | - The current value of the field. The file size, in bytes. Optional# |
Code:
| public method Com::Vmware::Content::Library::Item::Downloadsession::File::Info::get_status | ( | ) |
Gets the value of 'status' property.
| status | - The current value of the field. The preparation status (UNPREPARED, PREPARE_REQUESTED, PREPARING, PREPARED, ERROR) of the file. PrepareStatus# |
Code:
| public method Com::Vmware::Content::Library::Item::Downloadsession::File::Info::new | ( | ) |
Constructor to initialize the Com::Vmware::Content::Library::Item::Downloadsession::File::Info structure
| Blessed | object |
Code:
| public method Com::Vmware::Content::Library::Item::Downloadsession::File::Info::set_bytes_transferred | ( | ) |
Sets the given value for 'bytes_transferred' property.
| bytes_transferred | - New value for the field. The number of bytes that have been transferred by the server so far for making this file prepared for download. This value may stay at zero till the client starts downloading the file. |
Code:
| public method Com::Vmware::Content::Library::Item::Downloadsession::File::Info::set_checksum_info | ( | ) |
Sets the given value for 'checksum_info' property.
| checksum_info | - New value for the field. The checksum information of the file. When the download is complete, you can retrieve the checksum from the :func:Com::Vmware::Content::Library::Item::Downloadsession::File.get method to verify the checksum for the downloaded file. |
Code:
| public method Com::Vmware::Content::Library::Item::Downloadsession::File::Info::set_download_endpoint | ( | ) |
Sets the given value for 'download_endpoint' property.
| download_endpoint | - New value for the field. Endpoint at which the file is available for download. The value is valid only when the :attr:Com::Vmware::Content::Library::Item::Downloadsession::File::Info.status is :attr:Com::Vmware::Content::Library::Item::Downloadsession::File::PrepareStatus.PREPARED
Code:
click to view
|
| public method Com::Vmware::Content::Library::Item::Downloadsession::File::Info::set_error_message | ( | ) |
Sets the given value for 'error_message' property.
| error_message | - New value for the field. Error message for a failed preparation when the prepare status is :attr:Com::Vmware::Content::Library::Item::Downloadsession::File::PrepareStatus.ERROR
Code:
click to view
|
| public method Com::Vmware::Content::Library::Item::Downloadsession::File::Info::set_name | ( | ) |
Sets the given value for 'name' property.
| name | - New value for the field. The name of the file. |
Code:
| public method Com::Vmware::Content::Library::Item::Downloadsession::File::Info::set_size | ( | ) |
Sets the given value for 'size' property.
| size | - New value for the field. The file size, in bytes. |
Code:
| public method Com::Vmware::Content::Library::Item::Downloadsession::File::Info::set_status | ( | ) |
Sets the given value for 'status' property.
| status | - New value for the field. The preparation status (UNPREPARED, PREPARE_REQUESTED, PREPARING, PREPARED, ERROR) of the file. |
Code: