Exemplo n.º 1
0
        public Proxy_DR_task ToProxy()
        {
            Proxy_DR_task result_ = new Proxy_DR_task();

            result_.uuid           = uuid ?? "";
            result_.introduced_SRs = introduced_SRs == null ? new string[] {} : Helper.RefListToStringArray(introduced_SRs);
            return(result_);
        }
Exemplo n.º 2
0
        public Proxy_DR_task ToProxy()
        {
            Proxy_DR_task result_ = new Proxy_DR_task();

            result_.uuid           = (uuid != null) ? uuid : "";
            result_.introduced_SRs = (introduced_SRs != null) ? Helper.RefListToStringArray(introduced_SRs) : new string[] {};
            return(result_);
        }
Exemplo n.º 3
0
 internal void UpdateFrom(Proxy_DR_task proxy)
 {
     uuid           = proxy.uuid == null ? null : proxy.uuid;
     introduced_SRs = proxy.introduced_SRs == null ? null : XenRef <SR> .Create(proxy.introduced_SRs);
 }
Exemplo n.º 4
0
 /// <summary>
 /// Creates a new DR_task from a Proxy_DR_task.
 /// </summary>
 /// <param name="proxy"></param>
 public DR_task(Proxy_DR_task proxy)
 {
     UpdateFrom(proxy);
 }
Exemplo n.º 5
0
 /// <summary>
 /// Creates a new DR_task from a Proxy_DR_task.
 /// </summary>
 /// <param name="proxy"></param>
 public DR_task(Proxy_DR_task proxy)
 {
     this.UpdateFromProxy(proxy);
 }