The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Name

        asposeomrcloud::ApiFactory - constructs APIs to retrieve asposeomrcloud objects

Synopsis

        package My::Petstore::App;
        
        use asposeomrcloud::ApiFactory;
        
        my $api_factory = asposeomrcloud::ApiFactory->new( ... ); # any args for ApiClient constructor
                                                          
        # later...
        my $pet_api = $api_factory->get_api('Pet');  
        
        # $pet_api isa asposeomrcloud::PetApi
        
        my $pet = $pet_api->get_pet_by_id(pet_id => $pet_id);
        
        # object attributes have proper accessors:
        printf "Pet's name is %s", $pet->name;
        
        # change the value stored on the object:
        $pet->name('Dave'); 

new($api_client)

        create a new asposeomrcloud::ApiFactory instance with the given asposeomrcloud::ApiClient instance.

new(%paramters)

        Any parameters are optional, and are passed to and stored on the api_client object.
        
        See L<asposeomrcloud::ApiClient> and L<asposeomrcloud::Configuration> for valid paramters

get_api($which)

        Returns an API object of the requested type. 
        
        $which is a nickname for the class: 
        
                FooBarClient::BazApi has nickname 'Baz'
                

api_client()

        Returns the api_client object, should you ever need it.
        

apis_available()

classname_for()