public bool Equals(DeployBinaryData other) { if (ReferenceEquals(other, null)) { return(false); } if (ReferenceEquals(other, this)) { return(true); } if (other.Settings != Settings) { return(false); } if (other.CopyBinaryBytes != CopyBinaryBytes) { return(false); } if (other.CopyExitCode != CopyExitCode) { return(false); } if (other.SshChmodExitCode != SshChmodExitCode) { return(false); } if (other.CustomDeploySuccess != CustomDeploySuccess) { return(false); } if (other.CopyLatencyMs != CopyLatencyMs) { return(false); } if (other.CustomLatencyMs != CustomLatencyMs) { return(false); } return(true); }
public void MergeFrom(DeployBinaryData other) { if (other.Settings.HasValue) { Settings = other.Settings; } if (other.CopyBinaryBytes.HasValue) { CopyBinaryBytes = other.CopyBinaryBytes; } if (other.CopyExitCode.HasValue) { CopyExitCode = other.CopyExitCode; } if (other.SshChmodExitCode.HasValue) { SshChmodExitCode = other.SshChmodExitCode; } if (other.CustomDeploySuccess.HasValue) { CustomDeploySuccess = other.CustomDeploySuccess; } if (other.CopyLatencyMs.HasValue) { CopyLatencyMs = other.CopyLatencyMs; } if (other.CustomLatencyMs.HasValue) { CustomLatencyMs = other.CustomLatencyMs; } }