public FMessage.Builder Key(FMessage.FMessageIdentifierKey key)
 {
     this.remote_jid = key.remote_jid;
     this.from_me    = new bool?(key.from_me);
     this.id         = key.id;
     return(this);
 }
 public override bool Equals(object obj)
 {
     if (this != obj)
     {
         if (obj == null)
         {
             return(false);
         }
         if (base.GetType() != obj.GetType())
         {
             return(false);
         }
         FMessage.FMessageIdentifierKey key = (FMessage.FMessageIdentifierKey)obj;
         if (this.from_me != key.from_me)
         {
             return(false);
         }
         if (this.id == null)
         {
             if (key.id != null)
             {
                 return(false);
             }
         }
         else if (!this.id.Equals(key.id))
         {
             return(false);
         }
         if (this.remote_jid == null)
         {
             if (key.remote_jid != null)
             {
                 return(false);
             }
         }
         else if (!this.remote_jid.Equals(key.remote_jid))
         {
             return(false);
         }
     }
     return(true);
 }