public Proxy_Cluster_host ToProxy() { Proxy_Cluster_host result_ = new Proxy_Cluster_host(); result_.uuid = uuid ?? ""; result_.cluster = cluster ?? ""; result_.host = host ?? ""; result_.enabled = enabled; result_.allowed_operations = allowed_operations == null ? new string[] {} : Helper.ObjectListToStringArray(allowed_operations); result_.current_operations = Maps.convert_to_proxy_string_cluster_host_operation(current_operations); result_.other_config = Maps.convert_to_proxy_string_string(other_config); return(result_); }