VMware vCloud Suite SDK Perl
The VMware vCloud Suite SDK for Perl supports the client-side vCloud Suite API for access to vCloud services and capabilities
 All Classes Files Functions
List of all members
Com::Vmware::Content::Library::Item::Updatesession::File::AddSpec Class Reference
Inheritance diagram for Com::Vmware::Content::Library::Item::Updatesession::File::AddSpec:

Avaliable Methods

public method get_source_type ()
 
public method get_checksum_info ()
 
public method set_name ()
 
public method set_size ()
 
public method set_checksum_info ()
 
public method set_source_endpoint ()
 
public method set_source_type ()
 
public method new ()
 
public method get_name ()
 
public method get_size ()
 
public method get_source_endpoint ()
 

Detailed Description

The Com::Vmware::Content::Library::Item::Updatesession::File::AddSpec class describes the properties of the file to be uploaded.

Member Function Documentation

public method Com::Vmware::Content::Library::Item::Updatesession::File::AddSpec::get_checksum_info ( )

Gets the value of 'checksum_info' property.

Return values
checksum_info- The current value of the field. The checksum of the file. If specified, the server will verify the checksum once the file is received. If there is a mismatch, the upload will fail. Optional#
Code:
click to view
public method Com::Vmware::Content::Library::Item::Updatesession::File::AddSpec::get_name ( )

Gets the value of 'name' property.

Return values
name- The current value of the field. The name of the file being uploaded. String#
Code:
click to view
public method Com::Vmware::Content::Library::Item::Updatesession::File::AddSpec::get_size ( )

Gets the value of 'size' property.

Return values
size- The current value of the field. The file size, in bytes. Optional#
Code:
click to view
public method Com::Vmware::Content::Library::Item::Updatesession::File::AddSpec::get_source_endpoint ( )

Gets the value of 'source_endpoint' property.

Return values
source_endpoint- The current value of the field. Location from which the Content Library Service will fetch the file, rather than requiring a client to upload the file. optional#
Code:
click to view
public method Com::Vmware::Content::Library::Item::Updatesession::File::AddSpec::get_source_type ( )

Gets the value of 'source_type' property.

Return values
source_type- The current value of the field. The source type (NONE, PUSH, PULL) from which the file content will be retrieved. SourceType#
Code:
click to view
public method Com::Vmware::Content::Library::Item::Updatesession::File::AddSpec::new ( )

Constructor to initialize the Com::Vmware::Content::Library::Item::Updatesession::File::AddSpec structure

Return values
Blessedobject
Code:
click to view
public method Com::Vmware::Content::Library::Item::Updatesession::File::AddSpec::set_checksum_info ( )

Sets the given value for 'checksum_info' property.

Parameters
checksum_info- New value for the field. The checksum of the file. If specified, the server will verify the checksum once the file is received. If there is a mismatch, the upload will fail.
Code:
click to view
public method Com::Vmware::Content::Library::Item::Updatesession::File::AddSpec::set_name ( )

Sets the given value for 'name' property.

Parameters
name- New value for the field. The name of the file being uploaded.
Code:
click to view
public method Com::Vmware::Content::Library::Item::Updatesession::File::AddSpec::set_size ( )

Sets the given value for 'size' property.

Parameters
size- New value for the field. The file size, in bytes.
Code:
click to view
public method Com::Vmware::Content::Library::Item::Updatesession::File::AddSpec::set_source_endpoint ( )

Sets the given value for 'source_endpoint' property.

Parameters
source_endpoint- New value for the field. Location from which the Content Library Service will fetch the file, rather than requiring a client to upload the file.
Code:
click to view
public method Com::Vmware::Content::Library::Item::Updatesession::File::AddSpec::set_source_type ( )

Sets the given value for 'source_type' property.

Parameters
source_type- New value for the field. The source type (NONE, PUSH, PULL) from which the file content will be retrieved.
Code:
click to view

The documentation for this class was generated from the following file: