Exemplo n.º 1
0
 public void MergeFrom(GetKCEConfigResponse other)
 {
     if (other == null)
     {
         return;
     }
     if (other.kabaConfiguration_ != null)
     {
         if (kabaConfiguration_ == null)
         {
             kabaConfiguration_ = new global::HOLMS.Types.TenancyConfig.KabaEncoderConfig();
         }
         KabaConfiguration.MergeFrom(other.KabaConfiguration);
     }
     if (other.miwaConfiguration_ != null)
     {
         if (miwaConfiguration_ == null)
         {
             miwaConfiguration_ = new global::HOLMS.Types.TenancyConfig.MiwaEncoderConfig();
         }
         MiwaConfiguration.MergeFrom(other.MiwaConfiguration);
     }
     if (other.ActiveKcSystem != 0)
     {
         ActiveKcSystem = other.ActiveKcSystem;
     }
 }
Exemplo n.º 2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (kabaConfiguration_ != null)
            {
                hash ^= KabaConfiguration.GetHashCode();
            }
            if (miwaConfiguration_ != null)
            {
                hash ^= MiwaConfiguration.GetHashCode();
            }
            if (ActiveKcSystem != 0)
            {
                hash ^= ActiveKcSystem.GetHashCode();
            }
            return(hash);
        }