|
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
|
Classes | |
| class | State |
Avaliable Methods | |
| public method | set_client_progress () |
| public method | get_library_item_id () |
| public method | get_id () |
| public method | set_id () |
| public method | set_error_message () |
| public method | set_expiration_time () |
| public method | set_state () |
| public method | get_client_progress () |
| public method | set_library_item_content_version () |
| public method | get_error_message () |
| public method | set_library_item_id () |
| public method | new () |
| public method | get_library_item_content_version () |
| public method | get_state () |
| public method | get_expiration_time () |
The Com::Vmware::Content::Library::Item::UpdateSessionModel class provides information on an active class Com::Vmware::Content::Library::Item::UpdateSession resource.
| public method Com::Vmware::Content::Library::Item::UpdateSessionModel::get_client_progress | ( | ) |
Gets the value of 'client_progress' property.
| client_progress | - The current value of the field. The progress that has been made with the upload. This property is to be updated by the client during the upload process to indicate the progress of its work in completing the upload. The initial progress is 0 until updated by the client. The maximum value is 100, which indicates that the update is complete. optional# |
Code:
| public method Com::Vmware::Content::Library::Item::UpdateSessionModel::get_error_message | ( | ) |
Gets the value of 'error_message' property.
| error_message | - The current value of the field. If the session is in the :attr:Com::Vmware::Content::Library::Item::UpdateSessionModel::State.ERROR status this property will have more details about the error. optional# |
Code:
| public method Com::Vmware::Content::Library::Item::UpdateSessionModel::get_expiration_time | ( | ) |
Gets the value of 'expiration_time' property.
| expiration_time | - The current value of the field. Indicates the time after which the session will expire. The session is guaranteed not to expire earlier than this time. optional# |
Code:
| public method Com::Vmware::Content::Library::Item::UpdateSessionModel::get_id | ( | ) |
Gets the value of 'id' property.
| id | - The current value of the field. The identifier of this update session. optional# |
Code:
| public method Com::Vmware::Content::Library::Item::UpdateSessionModel::get_library_item_content_version | ( | ) |
Gets the value of 'library_item_content_version' property.
| library_item_content_version | - The current value of the field. The content version of the library item whose content is being modified. This value is the :attr:Com::Vmware::Content::Library::ItemModel.content_version at the time when the session is created for the library item. optional# |
Code:
| public method Com::Vmware::Content::Library::Item::UpdateSessionModel::get_library_item_id | ( | ) |
Gets the value of 'library_item_id' property.
| library_item_id | - The current value of the field. The identifier of the library item to which content will be uploaded or removed. optional# |
Code:
| public method Com::Vmware::Content::Library::Item::UpdateSessionModel::get_state | ( | ) |
Gets the value of 'state' property.
| state | - The current value of the field. The current state (ACTIVE, DONE, ERROR, CANCELED) of the update session. optional# |
Code:
| public method Com::Vmware::Content::Library::Item::UpdateSessionModel::new | ( | ) |
Constructor to initialize the Com::Vmware::Content::Library::Item::UpdateSessionModel structure
| Blessed | object |
Code:
| public method Com::Vmware::Content::Library::Item::UpdateSessionModel::set_client_progress | ( | ) |
Sets the given value for 'client_progress' property.
| client_progress | - New value for the field. The progress that has been made with the upload. This property is to be updated by the client during the upload process to indicate the progress of its work in completing the upload. The initial progress is 0 until updated by the client. The maximum value is 100, which indicates that the update is complete. |
Code:
| public method Com::Vmware::Content::Library::Item::UpdateSessionModel::set_error_message | ( | ) |
Sets the given value for 'error_message' property.
| error_message | - New value for the field. If the session is in the :attr:Com::Vmware::Content::Library::Item::UpdateSessionModel::State.ERROR status this property will have more details about the error. |
Code:
| public method Com::Vmware::Content::Library::Item::UpdateSessionModel::set_expiration_time | ( | ) |
Sets the given value for 'expiration_time' property.
| expiration_time | - New value for the field. Indicates the time after which the session will expire. The session is guaranteed not to expire earlier than this time. |
Code:
| public method Com::Vmware::Content::Library::Item::UpdateSessionModel::set_id | ( | ) |
Sets the given value for 'id' property.
| id | - New value for the field. The identifier of this update session. |
Code:
| public method Com::Vmware::Content::Library::Item::UpdateSessionModel::set_library_item_content_version | ( | ) |
Sets the given value for 'library_item_content_version' property.
| library_item_content_version | - New value for the field. The content version of the library item whose content is being modified. This value is the :attr:Com::Vmware::Content::Library::ItemModel.content_version at the time when the session is created for the library item. |
Code:
| public method Com::Vmware::Content::Library::Item::UpdateSessionModel::set_library_item_id | ( | ) |
Sets the given value for 'library_item_id' property.
| library_item_id | - New value for the field. The identifier of the library item to which content will be uploaded or removed. |
Code:
| public method Com::Vmware::Content::Library::Item::UpdateSessionModel::set_state | ( | ) |
Sets the given value for 'state' property.
| state | - New value for the field. The current state (ACTIVE, DONE, ERROR, CANCELED) of the update session. |
Code: