def format_additional_features_server_configurations(result):
    '''
    Formats the AdditionalFeaturesServerConfigurations object removing arguments that are empty
    '''
    from collections import OrderedDict
    # Only display parameters that have content
    order_dict = OrderedDict()
    if result.is_rservices_enabled is not None:
        order_dict['isRServicesEnabled'] = result.is_rservices_enabled
    if result.backup_permissions_for_azure_backup_svc is not None:
        order_dict['backupPermissionsForAzureBackupSvc'] = result.backup_permissions_for_azure_backup_svc

    return order_dict
def format_additional_features_server_configurations ( result ) : from collections import OrderedDict order_dict = OrderedDict ( ) if result . is_rservices_enabled is not None : order_dict [ 'isRServicesEnabled' ] = result . is_rservices_enabled if result . backup_permissions_for_azure_backup_svc is not None : order_dict [ 'backupPermissionsForAzureBackupSvc' ] = result . backup_permissions_for_azure_backup_svc return order_dict
Formats the AdditionalFeaturesServerConfigurations object removing arguments that are empty