public Proxy_VM_appliance ToProxy() { Proxy_VM_appliance result_ = new Proxy_VM_appliance(); result_.uuid = uuid ?? ""; result_.name_label = name_label ?? ""; result_.name_description = name_description ?? ""; result_.allowed_operations = allowed_operations == null ? new string[] {} : Helper.ObjectListToStringArray(allowed_operations); result_.current_operations = Maps.convert_to_proxy_string_vm_appliance_operation(current_operations); result_.VMs = VMs == null ? new string[] {} : Helper.RefListToStringArray(VMs); return result_; }
public Proxy_VM_appliance ToProxy() { Proxy_VM_appliance result_ = new Proxy_VM_appliance(); result_.uuid = (uuid != null) ? uuid : ""; result_.name_label = (name_label != null) ? name_label : ""; result_.name_description = (name_description != null) ? name_description : ""; result_.allowed_operations = (allowed_operations != null) ? Helper.ObjectListToStringArray(allowed_operations) : new string[] {}; result_.current_operations = Maps.convert_to_proxy_string_vm_appliance_operation(current_operations); result_.VMs = (VMs != null) ? Helper.RefListToStringArray(VMs) : new string[] {}; return(result_); }