Here are the examples of the csharp api int.Equals(object) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
1492 Examples
19
Source : AzureManagedDiskParams.cs
with Apache License 2.0
from cohesity
with Apache License 2.0
from cohesity
public bool Equals(AzureManagedDiskParams input)
{
if (input == null)
return false;
return
(
this.DataDisksSkuType == input.DataDisksSkuType ||
(this.DataDisksSkuType != null &&
this.DataDisksSkuType.Equals(input.DataDisksSkuType))
) &&
(
this.OsDiskSkuType == input.OsDiskSkuType ||
(this.OsDiskSkuType != null &&
this.OsDiskSkuType.Equals(input.OsDiskSkuType))
);
}
19
Source : AzureProtectionSource.cs
with Apache License 2.0
from cohesity
with Apache License 2.0
from cohesity
public bool Equals(AzureProtectionSource input)
{
if (input == null)
return false;
return
(
this.ApplicationId == input.ApplicationId ||
(this.ApplicationId != null &&
this.ApplicationId.Equals(input.ApplicationId))
) &&
(
this.ApplicationKey == input.ApplicationKey ||
(this.ApplicationKey != null &&
this.ApplicationKey.Equals(input.ApplicationKey))
) &&
(
this.AzureType == input.AzureType ||
this.AzureType.Equals(input.AzureType)
) &&
(
this.HostType == input.HostType ||
this.HostType.Equals(input.HostType)
) &&
(
this.IpAddresses == input.IpAddresses ||
this.IpAddresses != null &&
input.IpAddresses != null &&
this.IpAddresses.SequenceEqual(input.IpAddresses)
) &&
(
this.IsManagedVm == input.IsManagedVm ||
(this.IsManagedVm != null &&
this.IsManagedVm.Equals(input.IsManagedVm))
) &&
(
this.Location == input.Location ||
(this.Location != null &&
this.Location.Equals(input.Location))
) &&
(
this.MemoryMbytes == input.MemoryMbytes ||
(this.MemoryMbytes != null &&
this.MemoryMbytes.Equals(input.MemoryMbytes))
) &&
(
this.Name == input.Name ||
(this.Name != null &&
this.Name.Equals(input.Name))
) &&
(
this.NumCores == input.NumCores ||
(this.NumCores != null &&
this.NumCores.Equals(input.NumCores))
) &&
(
this.PhysicalSourceId == input.PhysicalSourceId ||
(this.PhysicalSourceId != null &&
this.PhysicalSourceId.Equals(input.PhysicalSourceId))
) &&
(
this.ResourceId == input.ResourceId ||
(this.ResourceId != null &&
this.ResourceId.Equals(input.ResourceId))
) &&
(
this.RestoreTaskId == input.RestoreTaskId ||
(this.RestoreTaskId != null &&
this.RestoreTaskId.Equals(input.RestoreTaskId))
) &&
(
this.SubscriptionId == input.SubscriptionId ||
(this.SubscriptionId != null &&
this.SubscriptionId.Equals(input.SubscriptionId))
) &&
(
this.SubscriptionType == input.SubscriptionType ||
this.SubscriptionType.Equals(input.SubscriptionType)
) &&
(
this.TenantId == input.TenantId ||
(this.TenantId != null &&
this.TenantId.Equals(input.TenantId))
) &&
(
this.Type == input.Type ||
this.Type.Equals(input.Type)
);
}
19
Source : CassandraConnectParams.cs
with Apache License 2.0
from cohesity
with Apache License 2.0
from cohesity
public bool Equals(CreplacedandraConnectParams input)
{
if (input == null)
return false;
return
(
this.CreplacedandraPortsInfo == input.CreplacedandraPortsInfo ||
(this.CreplacedandraPortsInfo != null &&
this.CreplacedandraPortsInfo.Equals(input.CreplacedandraPortsInfo))
) &&
(
this.ConfigDirectory == input.ConfigDirectory ||
(this.ConfigDirectory != null &&
this.ConfigDirectory.Equals(input.ConfigDirectory))
) &&
(
this.DataCenters == input.DataCenters ||
this.DataCenters != null &&
input.DataCenters != null &&
this.DataCenters.SequenceEqual(input.DataCenters)
) &&
(
this.DseConfigDirectory == input.DseConfigDirectory ||
(this.DseConfigDirectory != null &&
this.DseConfigDirectory.Equals(input.DseConfigDirectory))
) &&
(
this.IsDseAuthenticator == input.IsDseAuthenticator ||
(this.IsDseAuthenticator != null &&
this.IsDseAuthenticator.Equals(input.IsDseAuthenticator))
) &&
(
this.IsDseTieredStorage == input.IsDseTieredStorage ||
(this.IsDseTieredStorage != null &&
this.IsDseTieredStorage.Equals(input.IsDseTieredStorage))
) &&
(
this.JaasConfigPath == input.JaasConfigPath ||
(this.JaasConfigPath != null &&
this.JaasConfigPath.Equals(input.JaasConfigPath))
) &&
(
this.PrimaryHost == input.PrimaryHost ||
(this.PrimaryHost != null &&
this.PrimaryHost.Equals(input.PrimaryHost))
) &&
(
this.Seeds == input.Seeds ||
this.Seeds != null &&
input.Seeds != null &&
this.Seeds.SequenceEqual(input.Seeds)
) &&
(
this.SolrNodes == input.SolrNodes ||
this.SolrNodes != null &&
input.SolrNodes != null &&
this.SolrNodes.SequenceEqual(input.SolrNodes)
) &&
(
this.SolrPort == input.SolrPort ||
(this.SolrPort != null &&
this.SolrPort.Equals(input.SolrPort))
);
}
19
Source : CloudDeployInfoProto.cs
with Apache License 2.0
from cohesity
with Apache License 2.0
from cohesity
public bool Equals(CloudDeployInfoProto input)
{
if (input == null)
return false;
return
(
this.CloudDeployEnreplacedyVec == input.CloudDeployEnreplacedyVec ||
this.CloudDeployEnreplacedyVec != null &&
input.CloudDeployEnreplacedyVec != null &&
this.CloudDeployEnreplacedyVec.SequenceEqual(input.CloudDeployEnreplacedyVec)
) &&
(
this.IsIncremental == input.IsIncremental ||
(this.IsIncremental != null &&
this.IsIncremental.Equals(input.IsIncremental))
) &&
(
this.RestoreInfo == input.RestoreInfo ||
(this.RestoreInfo != null &&
this.RestoreInfo.Equals(input.RestoreInfo))
) &&
(
this.TargetType == input.TargetType ||
(this.TargetType != null &&
this.TargetType.Equals(input.TargetType))
) &&
(
this.TotalBytesTransferredToSource == input.TotalBytesTransferredToSource ||
(this.TotalBytesTransferredToSource != null &&
this.TotalBytesTransferredToSource.Equals(input.TotalBytesTransferredToSource))
) &&
(
this.Type == input.Type ||
(this.Type != null &&
this.Type.Equals(input.Type))
);
}
19
Source : ClusterConfigProtoSubnet.cs
with Apache License 2.0
from cohesity
with Apache License 2.0
from cohesity
public bool Equals(ClusterConfigProtoSubnet input)
{
if (input == null)
return false;
return
(
this.Component == input.Component ||
(this.Component != null &&
this.Component.Equals(input.Component))
) &&
(
this.Description == input.Description ||
(this.Description != null &&
this.Description.Equals(input.Description))
) &&
(
this.Gateway == input.Gateway ||
(this.Gateway != null &&
this.Gateway.Equals(input.Gateway))
) &&
(
this.Id == input.Id ||
(this.Id != null &&
this.Id.Equals(input.Id))
) &&
(
this.Ip == input.Ip ||
(this.Ip != null &&
this.Ip.Equals(input.Ip))
) &&
(
this.NetmaskBits == input.NetmaskBits ||
(this.NetmaskBits != null &&
this.NetmaskBits.Equals(input.NetmaskBits))
) &&
(
this.NetmaskIp4 == input.NetmaskIp4 ||
(this.NetmaskIp4 != null &&
this.NetmaskIp4.Equals(input.NetmaskIp4))
) &&
(
this.NfsAccess == input.NfsAccess ||
(this.NfsAccess != null &&
this.NfsAccess.Equals(input.NfsAccess))
) &&
(
this.NfsAllSquash == input.NfsAllSquash ||
(this.NfsAllSquash != null &&
this.NfsAllSquash.Equals(input.NfsAllSquash))
) &&
(
this.NfsRootSquash == input.NfsRootSquash ||
(this.NfsRootSquash != null &&
this.NfsRootSquash.Equals(input.NfsRootSquash))
) &&
(
this.SmbAccess == input.SmbAccess ||
(this.SmbAccess != null &&
this.SmbAccess.Equals(input.SmbAccess))
);
}
19
Source : CompareADObjectsResultADAttribute.cs
with Apache License 2.0
from cohesity
with Apache License 2.0
from cohesity
public bool Equals(CompareADObjectsResultADAttribute input)
{
if (input == null)
return false;
return
(
this.AttrFlags == input.AttrFlags ||
(this.AttrFlags != null &&
this.AttrFlags.Equals(input.AttrFlags))
) &&
(
this.DestValue == input.DestValue ||
(this.DestValue != null &&
this.DestValue.Equals(input.DestValue))
) &&
(
this.LdapName == input.LdapName ||
(this.LdapName != null &&
this.LdapName.Equals(input.LdapName))
) &&
(
this.SameValue == input.SameValue ||
(this.SameValue != null &&
this.SameValue.Equals(input.SameValue))
) &&
(
this.SourceValue == input.SourceValue ||
(this.SourceValue != null &&
this.SourceValue.Equals(input.SourceValue))
) &&
(
this.Status == input.Status ||
(this.Status != null &&
this.Status.Equals(input.Status))
);
}
19
Source : CompareADObjectsResultADAttributeValue.cs
with Apache License 2.0
from cohesity
with Apache License 2.0
from cohesity
public bool Equals(CompareADObjectsResultADAttributeValue input)
{
if (input == null)
return false;
return
(
this.ValueFlags == input.ValueFlags ||
(this.ValueFlags != null &&
this.ValueFlags.Equals(input.ValueFlags))
) &&
(
this.ValueVec == input.ValueVec ||
this.ValueVec != null &&
input.ValueVec != null &&
this.ValueVec.SequenceEqual(input.ValueVec)
);
}
19
Source : CompareADObjectsResultADObject.cs
with Apache License 2.0
from cohesity
with Apache License 2.0
from cohesity
public bool Equals(CompareADObjectsResultADObject input)
{
if (input == null)
return false;
return
(
this.AttributeVec == input.AttributeVec ||
this.AttributeVec != null &&
input.AttributeVec != null &&
this.AttributeVec.SequenceEqual(input.AttributeVec)
) &&
(
this.DestGuid == input.DestGuid ||
(this.DestGuid != null &&
this.DestGuid.Equals(input.DestGuid))
) &&
(
this.DestPropCount == input.DestPropCount ||
(this.DestPropCount != null &&
this.DestPropCount.Equals(input.DestPropCount))
) &&
(
this.ExcludedPropCount == input.ExcludedPropCount ||
(this.ExcludedPropCount != null &&
this.ExcludedPropCount.Equals(input.ExcludedPropCount))
) &&
(
this.MismatchPropCount == input.MismatchPropCount ||
(this.MismatchPropCount != null &&
this.MismatchPropCount.Equals(input.MismatchPropCount))
) &&
(
this.ObjectFlags == input.ObjectFlags ||
(this.ObjectFlags != null &&
this.ObjectFlags.Equals(input.ObjectFlags))
) &&
(
this.SourceGuid == input.SourceGuid ||
(this.SourceGuid != null &&
this.SourceGuid.Equals(input.SourceGuid))
) &&
(
this.SourcePropCount == input.SourcePropCount ||
(this.SourcePropCount != null &&
this.SourcePropCount.Equals(input.SourcePropCount))
) &&
(
this.Status == input.Status ||
(this.Status != null &&
this.Status.Equals(input.Status))
);
}
19
Source : ConnectorParams.cs
with Apache License 2.0
from cohesity
with Apache License 2.0
from cohesity
public bool Equals(ConnectorParams input)
{
if (input == null)
return false;
return
(
this.AdditionalParams == input.AdditionalParams ||
(this.AdditionalParams != null &&
this.AdditionalParams.Equals(input.AdditionalParams))
) &&
(
this.AgentEndpoint == input.AgentEndpoint ||
(this.AgentEndpoint != null &&
this.AgentEndpoint.Equals(input.AgentEndpoint))
) &&
(
this.AgentPort == input.AgentPort ||
(this.AgentPort != null &&
this.AgentPort.Equals(input.AgentPort))
) &&
(
this.Credentials == input.Credentials ||
(this.Credentials != null &&
this.Credentials.Equals(input.Credentials))
) &&
(
this.Endpoint == input.Endpoint ||
(this.Endpoint != null &&
this.Endpoint.Equals(input.Endpoint))
) &&
(
this.Enreplacedy == input.Enreplacedy ||
(this.Enreplacedy != null &&
this.Enreplacedy.Equals(input.Enreplacedy))
) &&
(
this.HostType == input.HostType ||
(this.HostType != null &&
this.HostType.Equals(input.HostType))
) &&
(
this.Id == input.Id ||
(this.Id != null &&
this.Id.Equals(input.Id))
) &&
(
this.PopulateSubnetForAllClusterNodes == input.PopulateSubnetForAllClusterNodes ||
(this.PopulateSubnetForAllClusterNodes != null &&
this.PopulateSubnetForAllClusterNodes.Equals(input.PopulateSubnetForAllClusterNodes))
) &&
(
this.Port == input.Port ||
(this.Port != null &&
this.Port.Equals(input.Port))
) &&
(
this.TenantId == input.TenantId ||
(this.TenantId != null &&
this.TenantId.Equals(input.TenantId))
) &&
(
this.Type == input.Type ||
(this.Type != null &&
this.Type.Equals(input.Type))
) &&
(
this.Version == input.Version ||
(this.Version != null &&
this.Version.Equals(input.Version))
);
}
19
Source : CouchbaseConnectParams.cs
with Apache License 2.0
from cohesity
with Apache License 2.0
from cohesity
public bool Equals(CouchbaseConnectParams input)
{
if (input == null)
return false;
return
(
this.CarrierDirectPort == input.CarrierDirectPort ||
(this.CarrierDirectPort != null &&
this.CarrierDirectPort.Equals(input.CarrierDirectPort))
) &&
(
this.HttpDirectPort == input.HttpDirectPort ||
(this.HttpDirectPort != null &&
this.HttpDirectPort.Equals(input.HttpDirectPort))
) &&
(
this.RequiresSsl == input.RequiresSsl ||
(this.RequiresSsl != null &&
this.RequiresSsl.Equals(input.RequiresSsl))
) &&
(
this.Seeds == input.Seeds ||
this.Seeds != null &&
input.Seeds != null &&
this.Seeds.SequenceEqual(input.Seeds)
);
}
19
Source : CreateViewBoxParams.cs
with Apache License 2.0
from cohesity
with Apache License 2.0
from cohesity
public bool Equals(CreateViewBoxParams input)
{
if (input == null)
return false;
return
(
this.AdDomainName == input.AdDomainName ||
(this.AdDomainName != null &&
this.AdDomainName.Equals(input.AdDomainName))
) &&
(
this.ClientSubnetWhiteList == input.ClientSubnetWhiteList ||
this.ClientSubnetWhiteList != null &&
input.ClientSubnetWhiteList != null &&
this.ClientSubnetWhiteList.SequenceEqual(input.ClientSubnetWhiteList)
) &&
(
this.CloudDownWaterfallThresholdPct == input.CloudDownWaterfallThresholdPct ||
(this.CloudDownWaterfallThresholdPct != null &&
this.CloudDownWaterfallThresholdPct.Equals(input.CloudDownWaterfallThresholdPct))
) &&
(
this.CloudDownWaterfallThresholdSecs == input.CloudDownWaterfallThresholdSecs ||
(this.CloudDownWaterfallThresholdSecs != null &&
this.CloudDownWaterfallThresholdSecs.Equals(input.CloudDownWaterfallThresholdSecs))
) &&
(
this.ClusterParreplacedionId == input.ClusterParreplacedionId ||
(this.ClusterParreplacedionId != null &&
this.ClusterParreplacedionId.Equals(input.ClusterParreplacedionId))
) &&
(
this.DefaultUserQuotaPolicy == input.DefaultUserQuotaPolicy ||
(this.DefaultUserQuotaPolicy != null &&
this.DefaultUserQuotaPolicy.Equals(input.DefaultUserQuotaPolicy))
) &&
(
this.DefaultViewQuotaPolicy == input.DefaultViewQuotaPolicy ||
(this.DefaultViewQuotaPolicy != null &&
this.DefaultViewQuotaPolicy.Equals(input.DefaultViewQuotaPolicy))
) &&
(
this.DirectArchiveEnabled == input.DirectArchiveEnabled ||
(this.DirectArchiveEnabled != null &&
this.DirectArchiveEnabled.Equals(input.DirectArchiveEnabled))
) &&
(
this.LdapProviderId == input.LdapProviderId ||
(this.LdapProviderId != null &&
this.LdapProviderId.Equals(input.LdapProviderId))
) &&
(
this.Name == input.Name ||
(this.Name != null &&
this.Name.Equals(input.Name))
) &&
(
this.PhysicalQuota == input.PhysicalQuota ||
(this.PhysicalQuota != null &&
this.PhysicalQuota.Equals(input.PhysicalQuota))
) &&
(
this.S3BucketsAllowed == input.S3BucketsAllowed ||
(this.S3BucketsAllowed != null &&
this.S3BucketsAllowed.Equals(input.S3BucketsAllowed))
) &&
(
this.StoragePolicy == input.StoragePolicy ||
(this.StoragePolicy != null &&
this.StoragePolicy.Equals(input.StoragePolicy))
) &&
(
this.TenantIdVec == input.TenantIdVec ||
this.TenantIdVec != null &&
input.TenantIdVec != null &&
this.TenantIdVec.SequenceEqual(input.TenantIdVec)
);
}
19
Source : CreateVirtualClusterParameters.cs
with Apache License 2.0
from cohesity
with Apache License 2.0
from cohesity
public bool Equals(CreateVirtualClusterParameters input)
{
if (input == null)
return false;
return
(
this.ClusterName == input.ClusterName ||
(this.ClusterName != null &&
this.ClusterName.Equals(input.ClusterName))
) &&
(
this.EncryptionConfig == input.EncryptionConfig ||
(this.EncryptionConfig != null &&
this.EncryptionConfig.Equals(input.EncryptionConfig))
) &&
(
this.MetadataFaultTolerance == input.MetadataFaultTolerance ||
(this.MetadataFaultTolerance != null &&
this.MetadataFaultTolerance.Equals(input.MetadataFaultTolerance))
) &&
(
this.NetworkConfig == input.NetworkConfig ||
(this.NetworkConfig != null &&
this.NetworkConfig.Equals(input.NetworkConfig))
) &&
(
this.NodeConfigs == input.NodeConfigs ||
this.NodeConfigs != null &&
input.NodeConfigs != null &&
this.NodeConfigs.SequenceEqual(input.NodeConfigs)
);
}
19
Source : DataUptierJobParameters.cs
with Apache License 2.0
from cohesity
with Apache License 2.0
from cohesity
public bool Equals(DataUptierJobParameters input)
{
if (input == null)
return false;
return
(
this.FileSelectionPolicy == input.FileSelectionPolicy ||
this.FileSelectionPolicy.Equals(input.FileSelectionPolicy)
) &&
(
this.FileSizeBytes == input.FileSizeBytes ||
(this.FileSizeBytes != null &&
this.FileSizeBytes.Equals(input.FileSizeBytes))
) &&
(
this.FileSizePolicy == input.FileSizePolicy ||
this.FileSizePolicy.Equals(input.FileSizePolicy)
) &&
(
this.HotFileWindow == input.HotFileWindow ||
(this.HotFileWindow != null &&
this.HotFileWindow.Equals(input.HotFileWindow))
) &&
(
this.NumFileAccess == input.NumFileAccess ||
(this.NumFileAccess != null &&
this.NumFileAccess.Equals(input.NumFileAccess))
) &&
(
this.SourceViewName == input.SourceViewName ||
(this.SourceViewName != null &&
this.SourceViewName.Equals(input.SourceViewName))
);
}
19
Source : ADAttributeRestoreParam.cs
with Apache License 2.0
from cohesity
with Apache License 2.0
from cohesity
public bool Equals(ADAttributeRestoreParam input)
{
if (input == null)
return false;
return
(
this.ExcludedPropertyVec == input.ExcludedPropertyVec ||
this.ExcludedPropertyVec != null &&
input.ExcludedPropertyVec != null &&
this.ExcludedPropertyVec.SequenceEqual(input.ExcludedPropertyVec)
) &&
(
this.GuidpairVec == input.GuidpairVec ||
this.GuidpairVec != null &&
input.GuidpairVec != null &&
this.GuidpairVec.SequenceEqual(input.GuidpairVec)
) &&
(
this.OptionFlags == input.OptionFlags ||
(this.OptionFlags != null &&
this.OptionFlags.Equals(input.OptionFlags))
) &&
(
this.PropertyVec == input.PropertyVec ||
this.PropertyVec != null &&
input.PropertyVec != null &&
this.PropertyVec.SequenceEqual(input.PropertyVec)
) &&
(
this.SrcSysvolFolder == input.SrcSysvolFolder ||
(this.SrcSysvolFolder != null &&
this.SrcSysvolFolder.Equals(input.SrcSysvolFolder))
);
}
19
Source : AdDomain.cs
with Apache License 2.0
from cohesity
with Apache License 2.0
from cohesity
public bool Equals(AdDomain input)
{
if (input == null)
return false;
return
(
this.DnsRoot == input.DnsRoot ||
(this.DnsRoot != null &&
this.DnsRoot.Equals(input.DnsRoot))
) &&
(
this.Forest == input.Forest ||
(this.Forest != null &&
this.Forest.Equals(input.Forest))
) &&
(
this.Idenreplacedy == input.Idenreplacedy ||
(this.Idenreplacedy != null &&
this.Idenreplacedy.Equals(input.Idenreplacedy))
) &&
(
this.NetbiosName == input.NetbiosName ||
(this.NetbiosName != null &&
this.NetbiosName.Equals(input.NetbiosName))
) &&
(
this.ParentDomain == input.ParentDomain ||
(this.ParentDomain != null &&
this.ParentDomain.Equals(input.ParentDomain))
) &&
(
this.TombstoneDays == input.TombstoneDays ||
(this.TombstoneDays != null &&
this.TombstoneDays.Equals(input.TombstoneDays))
);
}
19
Source : AdDomainController.cs
with Apache License 2.0
from cohesity
with Apache License 2.0
from cohesity
public bool Equals(AdDomainController input)
{
if (input == null)
return false;
return
(
this.BackupSupported == input.BackupSupported ||
(this.BackupSupported != null &&
this.BackupSupported.Equals(input.BackupSupported))
) &&
(
this.BackupUnsupportedReasons == input.BackupUnsupportedReasons ||
this.BackupUnsupportedReasons != null &&
input.BackupUnsupportedReasons != null &&
this.BackupUnsupportedReasons.SequenceEqual(input.BackupUnsupportedReasons)
) &&
(
this.Domain == input.Domain ||
(this.Domain != null &&
this.Domain.Equals(input.Domain))
) &&
(
this.HostName == input.HostName ||
(this.HostName != null &&
this.HostName.Equals(input.HostName))
) &&
(
this.IsGlobalCatalog == input.IsGlobalCatalog ||
(this.IsGlobalCatalog != null &&
this.IsGlobalCatalog.Equals(input.IsGlobalCatalog))
) &&
(
this.IsReadOnly == input.IsReadOnly ||
(this.IsReadOnly != null &&
this.IsReadOnly.Equals(input.IsReadOnly))
) &&
(
this.UtcOffsetMin == input.UtcOffsetMin ||
(this.UtcOffsetMin != null &&
this.UtcOffsetMin.Equals(input.UtcOffsetMin))
);
}
19
Source : AdRestoreParameters.cs
with Apache License 2.0
from cohesity
with Apache License 2.0
from cohesity
public bool Equals(AdRestoreParameters input)
{
if (input == null)
return false;
return
(
this.AdOptions == input.AdOptions ||
(this.AdOptions != null &&
this.AdOptions.Equals(input.AdOptions))
) &&
(
this.Credentials == input.Credentials ||
(this.Credentials != null &&
this.Credentials.Equals(input.Credentials))
) &&
(
this.MountAndRestore == input.MountAndRestore ||
(this.MountAndRestore != null &&
this.MountAndRestore.Equals(input.MountAndRestore))
) &&
(
this.Port == input.Port ||
(this.Port != null &&
this.Port.Equals(input.Port))
);
}
19
Source : ADUpdateRestoreTaskOptions.cs
with Apache License 2.0
from cohesity
with Apache License 2.0
from cohesity
public bool Equals(ADUpdateRestoreTaskOptions input)
{
if (input == null)
return false;
return
(
this.ObjectAttributesParam == input.ObjectAttributesParam ||
(this.ObjectAttributesParam != null &&
this.ObjectAttributesParam.Equals(input.ObjectAttributesParam))
) &&
(
this.ObjectParam == input.ObjectParam ||
(this.ObjectParam != null &&
this.ObjectParam.Equals(input.ObjectParam))
) &&
(
this.Type == input.Type ||
(this.Type != null &&
this.Type.Equals(input.Type))
);
}
19
Source : Alert.cs
with Apache License 2.0
from cohesity
with Apache License 2.0
from cohesity
public bool Equals(Alert input)
{
if (input == null)
return false;
return
(
this.AlertCategory == input.AlertCategory ||
this.AlertCategory.Equals(input.AlertCategory)
) &&
(
this.AlertCode == input.AlertCode ||
(this.AlertCode != null &&
this.AlertCode.Equals(input.AlertCode))
) &&
(
this.AlertDoreplacedent == input.AlertDoreplacedent ||
(this.AlertDoreplacedent != null &&
this.AlertDoreplacedent.Equals(input.AlertDoreplacedent))
) &&
(
this.AlertState == input.AlertState ||
this.AlertState.Equals(input.AlertState)
) &&
(
this.AlertType == input.AlertType ||
(this.AlertType != null &&
this.AlertType.Equals(input.AlertType))
) &&
(
this.AlertTypeBucket == input.AlertTypeBucket ||
this.AlertTypeBucket.Equals(input.AlertTypeBucket)
) &&
(
this.ClusterId == input.ClusterId ||
(this.ClusterId != null &&
this.ClusterId.Equals(input.ClusterId))
) &&
(
this.ClusterName == input.ClusterName ||
(this.ClusterName != null &&
this.ClusterName.Equals(input.ClusterName))
) &&
(
this.DedupCount == input.DedupCount ||
(this.DedupCount != null &&
this.DedupCount.Equals(input.DedupCount))
) &&
(
this.DedupTimestamps == input.DedupTimestamps ||
this.DedupTimestamps != null &&
input.DedupTimestamps != null &&
this.DedupTimestamps.SequenceEqual(input.DedupTimestamps)
) &&
(
this.EventSource == input.EventSource ||
(this.EventSource != null &&
this.EventSource.Equals(input.EventSource))
) &&
(
this.FirstTimestampUsecs == input.FirstTimestampUsecs ||
(this.FirstTimestampUsecs != null &&
this.FirstTimestampUsecs.Equals(input.FirstTimestampUsecs))
) &&
(
this.Id == input.Id ||
(this.Id != null &&
this.Id.Equals(input.Id))
) &&
(
this.LatestTimestampUsecs == input.LatestTimestampUsecs ||
(this.LatestTimestampUsecs != null &&
this.LatestTimestampUsecs.Equals(input.LatestTimestampUsecs))
) &&
(
this.PropertyList == input.PropertyList ||
this.PropertyList != null &&
input.PropertyList != null &&
this.PropertyList.SequenceEqual(input.PropertyList)
) &&
(
this.ResolutionDetails == input.ResolutionDetails ||
(this.ResolutionDetails != null &&
this.ResolutionDetails.Equals(input.ResolutionDetails))
) &&
(
this.Severity == input.Severity ||
this.Severity.Equals(input.Severity)
) &&
(
this.SuppressionId == input.SuppressionId ||
(this.SuppressionId != null &&
this.SuppressionId.Equals(input.SuppressionId))
) &&
(
this.TenantIds == input.TenantIds ||
this.TenantIds != null &&
input.TenantIds != null &&
this.TenantIds.SequenceEqual(input.TenantIds)
);
}
19
Source : AmazonCloudCredentials.cs
with Apache License 2.0
from cohesity
with Apache License 2.0
from cohesity
public bool Equals(AmazonCloudCredentials input)
{
if (input == null)
return false;
return
(
this.AccessKeyId == input.AccessKeyId ||
(this.AccessKeyId != null &&
this.AccessKeyId.Equals(input.AccessKeyId))
) &&
(
this.C2sAccessPortal == input.C2sAccessPortal ||
(this.C2sAccessPortal != null &&
this.C2sAccessPortal.Equals(input.C2sAccessPortal))
) &&
(
this.Region == input.Region ||
(this.Region != null &&
this.Region.Equals(input.Region))
) &&
(
this.SecretAccessKey == input.SecretAccessKey ||
(this.SecretAccessKey != null &&
this.SecretAccessKey.Equals(input.SecretAccessKey))
) &&
(
this.ServiceUrl == input.ServiceUrl ||
(this.ServiceUrl != null &&
this.ServiceUrl.Equals(input.ServiceUrl))
) &&
(
this.SignatureVersion == input.SignatureVersion ||
(this.SignatureVersion != null &&
this.SignatureVersion.Equals(input.SignatureVersion))
) &&
(
this.TierType == input.TierType ||
this.TierType.Equals(input.TierType)
) &&
(
this.UseHttps == input.UseHttps ||
(this.UseHttps != null &&
this.UseHttps.Equals(input.UseHttps))
);
}
19
Source : AntivirusScanConfig.cs
with Apache License 2.0
from cohesity
with Apache License 2.0
from cohesity
public bool Equals(AntivirusScanConfig input)
{
if (input == null)
return false;
return
(
this.BlockAccessOnScanFailure == input.BlockAccessOnScanFailure ||
(this.BlockAccessOnScanFailure != null &&
this.BlockAccessOnScanFailure.Equals(input.BlockAccessOnScanFailure))
) &&
(
this.IsEnabled == input.IsEnabled ||
(this.IsEnabled != null &&
this.IsEnabled.Equals(input.IsEnabled))
) &&
(
this.MaximumScanFileSize == input.MaximumScanFileSize ||
(this.MaximumScanFileSize != null &&
this.MaximumScanFileSize.Equals(input.MaximumScanFileSize))
) &&
(
this.ScanFilter == input.ScanFilter ||
(this.ScanFilter != null &&
this.ScanFilter.Equals(input.ScanFilter))
) &&
(
this.ScanOnAccess == input.ScanOnAccess ||
(this.ScanOnAccess != null &&
this.ScanOnAccess.Equals(input.ScanOnAccess))
) &&
(
this.ScanOnClose == input.ScanOnClose ||
(this.ScanOnClose != null &&
this.ScanOnClose.Equals(input.ScanOnClose))
) &&
(
this.ScanTimeoutUsecs == input.ScanTimeoutUsecs ||
(this.ScanTimeoutUsecs != null &&
this.ScanTimeoutUsecs.Equals(input.ScanTimeoutUsecs))
);
}
19
Source : AppInstance.cs
with Apache License 2.0
from cohesity
with Apache License 2.0
from cohesity
public bool Equals(AppInstance input)
{
if (input == null)
return false;
return
(
this.AppAccessToken == input.AppAccessToken ||
(this.AppAccessToken != null &&
this.AppAccessToken.Equals(input.AppAccessToken))
) &&
(
this.AppInstanceId == input.AppInstanceId ||
(this.AppInstanceId != null &&
this.AppInstanceId.Equals(input.AppInstanceId))
) &&
(
this.AppName == input.AppName ||
(this.AppName != null &&
this.AppName.Equals(input.AppName))
) &&
(
this.AppUid == input.AppUid ||
(this.AppUid != null &&
this.AppUid.Equals(input.AppUid))
) &&
(
this.AppVersion == input.AppVersion ||
(this.AppVersion != null &&
this.AppVersion.Equals(input.AppVersion))
) &&
(
this.CreatedTimeUsecs == input.CreatedTimeUsecs ||
(this.CreatedTimeUsecs != null &&
this.CreatedTimeUsecs.Equals(input.CreatedTimeUsecs))
) &&
(
this.CreationUid == input.CreationUid ||
(this.CreationUid != null &&
this.CreationUid.Equals(input.CreationUid))
) &&
(
this.Description == input.Description ||
(this.Description != null &&
this.Description.Equals(input.Description))
) &&
(
this.DevVersion == input.DevVersion ||
(this.DevVersion != null &&
this.DevVersion.Equals(input.DevVersion))
) &&
(
this.DurationUsecs == input.DurationUsecs ||
(this.DurationUsecs != null &&
this.DurationUsecs.Equals(input.DurationUsecs))
) &&
(
this.HealthDetail == input.HealthDetail ||
(this.HealthDetail != null &&
this.HealthDetail.Equals(input.HealthDetail))
) &&
(
this.HealthStatus == input.HealthStatus ||
(this.HealthStatus != null &&
this.HealthStatus.Equals(input.HealthStatus))
) &&
(
this.HttpsUi == input.HttpsUi ||
(this.HttpsUi != null &&
this.HttpsUi.Equals(input.HttpsUi))
) &&
(
this.NodeIp == input.NodeIp ||
(this.NodeIp != null &&
this.NodeIp.Equals(input.NodeIp))
) &&
(
this.NodePort == input.NodePort ||
(this.NodePort != null &&
this.NodePort.Equals(input.NodePort))
) &&
(
this.Settings == input.Settings ||
(this.Settings != null &&
this.Settings.Equals(input.Settings))
) &&
(
this.State == input.State ||
this.State.Equals(input.State)
) &&
(
this.StateDetail == input.StateDetail ||
(this.StateDetail != null &&
this.StateDetail.Equals(input.StateDetail))
) &&
(
this.UserSshKey == input.UserSshKey ||
(this.UserSshKey != null &&
this.UserSshKey.Equals(input.UserSshKey))
) &&
(
this.VmGroups == input.VmGroups ||
this.VmGroups != null &&
input.VmGroups != null &&
this.VmGroups.SequenceEqual(input.VmGroups)
);
}
19
Source : AWSFleetParams.cs
with Apache License 2.0
from cohesity
with Apache License 2.0
from cohesity
public bool Equals(AWSFleetParams input)
{
if (input == null)
return false;
return
(
this.FleetSubnetType == input.FleetSubnetType ||
(this.FleetSubnetType != null &&
this.FleetSubnetType.Equals(input.FleetSubnetType))
) &&
(
this.FleetTagVec == input.FleetTagVec ||
this.FleetTagVec != null &&
input.FleetTagVec != null &&
this.FleetTagVec.SequenceEqual(input.FleetTagVec)
) &&
(
this.NetworkParams == input.NetworkParams ||
(this.NetworkParams != null &&
this.NetworkParams.Equals(input.NetworkParams))
);
}
19
Source : BackupJobProtoExclusionTimeRange.cs
with Apache License 2.0
from cohesity
with Apache License 2.0
from cohesity
public bool Equals(BackupJobProtoExclusionTimeRange input)
{
if (input == null)
return false;
return
(
this.Day == input.Day ||
(this.Day != null &&
this.Day.Equals(input.Day))
) &&
(
this.EndTime == input.EndTime ||
(this.EndTime != null &&
this.EndTime.Equals(input.EndTime))
) &&
(
this.StartTime == input.StartTime ||
(this.StartTime != null &&
this.StartTime.Equals(input.StartTime))
);
}
19
Source : BackupPolicyProto.cs
with Apache License 2.0
from cohesity
with Apache License 2.0
from cohesity
public bool Equals(BackupPolicyProto input)
{
if (input == null)
return false;
return
(
this.ContinuousSchedule == input.ContinuousSchedule ||
(this.ContinuousSchedule != null &&
this.ContinuousSchedule.Equals(input.ContinuousSchedule))
) &&
(
this.DailySchedule == input.DailySchedule ||
(this.DailySchedule != null &&
this.DailySchedule.Equals(input.DailySchedule))
) &&
(
this.MonthlySchedule == input.MonthlySchedule ||
(this.MonthlySchedule != null &&
this.MonthlySchedule.Equals(input.MonthlySchedule))
) &&
(
this.Name == input.Name ||
(this.Name != null &&
this.Name.Equals(input.Name))
) &&
(
this.NumDaysToKeep == input.NumDaysToKeep ||
(this.NumDaysToKeep != null &&
this.NumDaysToKeep.Equals(input.NumDaysToKeep))
) &&
(
this.NumRetries == input.NumRetries ||
(this.NumRetries != null &&
this.NumRetries.Equals(input.NumRetries))
) &&
(
this.OneOffSchedule == input.OneOffSchedule ||
(this.OneOffSchedule != null &&
this.OneOffSchedule.Equals(input.OneOffSchedule))
) &&
(
this.Periodicity == input.Periodicity ||
(this.Periodicity != null &&
this.Periodicity.Equals(input.Periodicity))
) &&
(
this.RetryDelayMins == input.RetryDelayMins ||
(this.RetryDelayMins != null &&
this.RetryDelayMins.Equals(input.RetryDelayMins))
) &&
(
this.ScheduleEnd == input.ScheduleEnd ||
(this.ScheduleEnd != null &&
this.ScheduleEnd.Equals(input.ScheduleEnd))
) &&
(
this.StartWindowIntervalMins == input.StartWindowIntervalMins ||
(this.StartWindowIntervalMins != null &&
this.StartWindowIntervalMins.Equals(input.StartWindowIntervalMins))
) &&
(
this.TruncateLogs == input.TruncateLogs ||
(this.TruncateLogs != null &&
this.TruncateLogs.Equals(input.TruncateLogs))
);
}
19
Source : BackupPolicyProtoExclusionTimeRange.cs
with Apache License 2.0
from cohesity
with Apache License 2.0
from cohesity
public bool Equals(BackupPolicyProtoExclusionTimeRange input)
{
if (input == null)
return false;
return
(
this.Day == input.Day ||
(this.Day != null &&
this.Day.Equals(input.Day))
) &&
(
this.EndTime == input.EndTime ||
(this.EndTime != null &&
this.EndTime.Equals(input.EndTime))
) &&
(
this.StartTime == input.StartTime ||
(this.StartTime != null &&
this.StartTime.Equals(input.StartTime))
);
}
19
Source : BackupPolicyProtoMonthlySchedule.cs
with Apache License 2.0
from cohesity
with Apache License 2.0
from cohesity
public bool Equals(BackupPolicyProtoMonthlySchedule input)
{
if (input == null)
return false;
return
(
this.Count == input.Count ||
(this.Count != null &&
this.Count.Equals(input.Count))
) &&
(
this.Day == input.Day ||
(this.Day != null &&
this.Day.Equals(input.Day))
) &&
(
this.Time == input.Time ||
(this.Time != null &&
this.Time.Equals(input.Time))
);
}
19
Source : BandwidthLimitOverride.cs
with Apache License 2.0
from cohesity
with Apache License 2.0
from cohesity
public bool Equals(BandwidthLimitOverride input)
{
if (input == null)
return false;
return
(
this.BytesPerSecond == input.BytesPerSecond ||
(this.BytesPerSecond != null &&
this.BytesPerSecond.Equals(input.BytesPerSecond))
) &&
(
this.IoRate == input.IoRate ||
(this.IoRate != null &&
this.IoRate.Equals(input.IoRate))
) &&
(
this.TimePeriods == input.TimePeriods ||
(this.TimePeriods != null &&
this.TimePeriods.Equals(input.TimePeriods))
);
}
19
Source : CassandraKeyspace.cs
with Apache License 2.0
from cohesity
with Apache License 2.0
from cohesity
public bool Equals(CreplacedandraKeyspace input)
{
if (input == null)
return false;
return
(
this.ChildrenCount == input.ChildrenCount ||
(this.ChildrenCount != null &&
this.ChildrenCount.Equals(input.ChildrenCount))
);
}
19
Source : CassandraPortsInfo.cs
with Apache License 2.0
from cohesity
with Apache License 2.0
from cohesity
public bool Equals(CreplacedandraPortsInfo input)
{
if (input == null)
return false;
return
(
this.JmxPort == input.JmxPort ||
(this.JmxPort != null &&
this.JmxPort.Equals(input.JmxPort))
) &&
(
this.NativeTransportPort == input.NativeTransportPort ||
(this.NativeTransportPort != null &&
this.NativeTransportPort.Equals(input.NativeTransportPort))
) &&
(
this.RpcPort == input.RpcPort ||
(this.RpcPort != null &&
this.RpcPort.Equals(input.RpcPort))
) &&
(
this.SslStoragePort == input.SslStoragePort ||
(this.SslStoragePort != null &&
this.SslStoragePort.Equals(input.SslStoragePort))
) &&
(
this.StoragePort == input.StoragePort ||
(this.StoragePort != null &&
this.StoragePort.Equals(input.StoragePort))
);
}
19
Source : ChangeProtectionJobStateParam.cs
with Apache License 2.0
from cohesity
with Apache License 2.0
from cohesity
public bool Equals(ChangeProtectionJobStateParam input)
{
if (input == null)
return false;
return
(
this.Pause == input.Pause ||
(this.Pause != null &&
this.Pause.Equals(input.Pause))
) &&
(
this.PauseReason == input.PauseReason ||
(this.PauseReason != null &&
this.PauseReason.Equals(input.PauseReason))
);
}
19
Source : CloudDeployInfoProtoCloudDeployEntity.cs
with Apache License 2.0
from cohesity
with Apache License 2.0
from cohesity
public bool Equals(CloudDeployInfoProtoCloudDeployEnreplacedy input)
{
if (input == null)
return false;
return
(
this.DeployedVmName == input.DeployedVmName ||
(this.DeployedVmName != null &&
this.DeployedVmName.Equals(input.DeployedVmName))
) &&
(
this.Enreplacedy == input.Enreplacedy ||
(this.Enreplacedy != null &&
this.Enreplacedy.Equals(input.Enreplacedy))
) &&
(
this.Error == input.Error ||
(this.Error != null &&
this.Error.Equals(input.Error))
) &&
(
this.PreviousRelativeCloneDirPath == input.PreviousRelativeCloneDirPath ||
(this.PreviousRelativeCloneDirPath != null &&
this.PreviousRelativeCloneDirPath.Equals(input.PreviousRelativeCloneDirPath))
) &&
(
this.PreviousRelativeClonePaths == input.PreviousRelativeClonePaths ||
this.PreviousRelativeClonePaths != null &&
input.PreviousRelativeClonePaths != null &&
this.PreviousRelativeClonePaths.SequenceEqual(input.PreviousRelativeClonePaths)
) &&
(
this.ProgressMonitorTaskPath == input.ProgressMonitorTaskPath ||
(this.ProgressMonitorTaskPath != null &&
this.ProgressMonitorTaskPath.Equals(input.ProgressMonitorTaskPath))
) &&
(
this.PublicStatus == input.PublicStatus ||
(this.PublicStatus != null &&
this.PublicStatus.Equals(input.PublicStatus))
) &&
(
this.RelativeClonePaths == input.RelativeClonePaths ||
this.RelativeClonePaths != null &&
input.RelativeClonePaths != null &&
this.RelativeClonePaths.SequenceEqual(input.RelativeClonePaths)
) &&
(
this.Status == input.Status ||
(this.Status != null &&
this.Status.Equals(input.Status))
);
}
19
Source : CloudDeployTarget.cs
with Apache License 2.0
from cohesity
with Apache License 2.0
from cohesity
public bool Equals(CloudDeployTarget input)
{
if (input == null)
return false;
return
(
this.DeployVmsToCloudParams == input.DeployVmsToCloudParams ||
(this.DeployVmsToCloudParams != null &&
this.DeployVmsToCloudParams.Equals(input.DeployVmsToCloudParams))
) &&
(
this.TargetEnreplacedy == input.TargetEnreplacedy ||
(this.TargetEnreplacedy != null &&
this.TargetEnreplacedy.Equals(input.TargetEnreplacedy))
) &&
(
this.Type == input.Type ||
(this.Type != null &&
this.Type.Equals(input.Type))
);
}
19
Source : ClusterAuditLogConfiguration.cs
with Apache License 2.0
from cohesity
with Apache License 2.0
from cohesity
public bool Equals(ClusterAuditLogConfiguration input)
{
if (input == null)
return false;
return
(
this.Enabled == input.Enabled ||
(this.Enabled != null &&
this.Enabled.Equals(input.Enabled))
) &&
(
this.RetentionPeriodDays == input.RetentionPeriodDays ||
(this.RetentionPeriodDays != null &&
this.RetentionPeriodDays.Equals(input.RetentionPeriodDays))
);
}
19
Source : ClusterConfigProtoQoSMappingQoSContext.cs
with Apache License 2.0
from cohesity
with Apache License 2.0
from cohesity
public bool Equals(ClusterConfigProtoQoSMappingQoSContext input)
{
if (input == null)
return false;
return
(
this.Component == input.Component ||
(this.Component != null &&
this.Component.Equals(input.Component))
) &&
(
this.Priority == input.Priority ||
(this.Priority != null &&
this.Priority.Equals(input.Priority))
) &&
(
this.Type == input.Type ||
(this.Type != null &&
this.Type.Equals(input.Type))
) &&
(
this.ViewBoxId == input.ViewBoxId ||
(this.ViewBoxId != null &&
this.ViewBoxId.Equals(input.ViewBoxId))
) &&
(
this.ViewId == input.ViewId ||
(this.ViewId != null &&
this.ViewId.Equals(input.ViewId))
);
}
19
Source : CreatePhysicalClusterParameters.cs
with Apache License 2.0
from cohesity
with Apache License 2.0
from cohesity
public bool Equals(CreatePhysicalClusterParameters input)
{
if (input == null)
return false;
return
(
this.ClusterName == input.ClusterName ||
(this.ClusterName != null &&
this.ClusterName.Equals(input.ClusterName))
) &&
(
this.EncryptionConfig == input.EncryptionConfig ||
(this.EncryptionConfig != null &&
this.EncryptionConfig.Equals(input.EncryptionConfig))
) &&
(
this.IpPreference == input.IpPreference ||
(this.IpPreference != null &&
this.IpPreference.Equals(input.IpPreference))
) &&
(
this.IpmiConfig == input.IpmiConfig ||
(this.IpmiConfig != null &&
this.IpmiConfig.Equals(input.IpmiConfig))
) &&
(
this.MetadataFaultTolerance == input.MetadataFaultTolerance ||
(this.MetadataFaultTolerance != null &&
this.MetadataFaultTolerance.Equals(input.MetadataFaultTolerance))
) &&
(
this.NetworkConfig == input.NetworkConfig ||
(this.NetworkConfig != null &&
this.NetworkConfig.Equals(input.NetworkConfig))
) &&
(
this.NodeConfigs == input.NodeConfigs ||
this.NodeConfigs != null &&
input.NodeConfigs != null &&
this.NodeConfigs.SequenceEqual(input.NodeConfigs)
);
}
19
Source : ExchangeDatabaseCopyInfo.cs
with Apache License 2.0
from cohesity
with Apache License 2.0
from cohesity
public bool Equals(ExchangeDatabaseCopyInfo input)
{
if (input == null)
return false;
return
(
this.ActivationPreferenceNumber == input.ActivationPreferenceNumber ||
(this.ActivationPreferenceNumber != null &&
this.ActivationPreferenceNumber.Equals(input.ActivationPreferenceNumber))
) &&
(
this.AppServerId == input.AppServerId ||
(this.AppServerId != null &&
this.AppServerId.Equals(input.AppServerId))
) &&
(
this.BackupSupported == input.BackupSupported ||
(this.BackupSupported != null &&
this.BackupSupported.Equals(input.BackupSupported))
) &&
(
this.BackupUnsupportedReasons == input.BackupUnsupportedReasons ||
this.BackupUnsupportedReasons != null &&
input.BackupUnsupportedReasons != null &&
this.BackupUnsupportedReasons.SequenceEqual(input.BackupUnsupportedReasons)
) &&
(
this.CopyGuid == input.CopyGuid ||
(this.CopyGuid != null &&
this.CopyGuid.Equals(input.CopyGuid))
) &&
(
this.CreatedTimeMsecs == input.CreatedTimeMsecs ||
(this.CreatedTimeMsecs != null &&
this.CreatedTimeMsecs.Equals(input.CreatedTimeMsecs))
) &&
(
this.DatabaseState == input.DatabaseState ||
this.DatabaseState.Equals(input.DatabaseState)
) &&
(
this.DbSizeBytes == input.DbSizeBytes ||
(this.DbSizeBytes != null &&
this.DbSizeBytes.Equals(input.DbSizeBytes))
) &&
(
this.Dbguid == input.Dbguid ||
(this.Dbguid != null &&
this.Dbguid.Equals(input.Dbguid))
) &&
(
this.Fqdn == input.Fqdn ||
(this.Fqdn != null &&
this.Fqdn.Equals(input.Fqdn))
) &&
(
this.IsActiveCopy == input.IsActiveCopy ||
(this.IsActiveCopy != null &&
this.IsActiveCopy.Equals(input.IsActiveCopy))
) &&
(
this.Name == input.Name ||
(this.Name != null &&
this.Name.Equals(input.Name))
) &&
(
this.OwnerId == input.OwnerId ||
(this.OwnerId != null &&
this.OwnerId.Equals(input.OwnerId))
) &&
(
this.ServerName == input.ServerName ||
(this.ServerName != null &&
this.ServerName.Equals(input.ServerName))
) &&
(
this.UtcOffsetMin == input.UtcOffsetMin ||
(this.UtcOffsetMin != null &&
this.UtcOffsetMin.Equals(input.UtcOffsetMin))
);
}
19
Source : ArchivalTarget.cs
with Apache License 2.0
from cohesity
with Apache License 2.0
from cohesity
public bool Equals(ArchivalTarget input)
{
if (input == null)
return false;
return
(
this.Name == input.Name ||
(this.Name != null &&
this.Name.Equals(input.Name))
) &&
(
this.Type == input.Type ||
(this.Type != null &&
this.Type.Equals(input.Type))
) &&
(
this.VaultId == input.VaultId ||
(this.VaultId != null &&
this.VaultId.Equals(input.VaultId))
);
}
19
Source : BandwidthLimit.cs
with Apache License 2.0
from cohesity
with Apache License 2.0
from cohesity
public bool Equals(BandwidthLimit input)
{
if (input == null)
return false;
return
(
this.BandwidthLimitOverrides == input.BandwidthLimitOverrides ||
this.BandwidthLimitOverrides != null &&
input.BandwidthLimitOverrides != null &&
this.BandwidthLimitOverrides.SequenceEqual(input.BandwidthLimitOverrides)
) &&
(
this.IoRate == input.IoRate ||
(this.IoRate != null &&
this.IoRate.Equals(input.IoRate))
) &&
(
this.RateLimitBytesPerSec == input.RateLimitBytesPerSec ||
(this.RateLimitBytesPerSec != null &&
this.RateLimitBytesPerSec.Equals(input.RateLimitBytesPerSec))
) &&
(
this.Timezone == input.Timezone ||
(this.Timezone != null &&
this.Timezone.Equals(input.Timezone))
);
}
19
Source : ClusterCreationProgressResult.cs
with Apache License 2.0
from cohesity
with Apache License 2.0
from cohesity
public bool Equals(ClusterCreationProgressResult input)
{
if (input == null)
return false;
return
(
this.CompletionPercentage == input.CompletionPercentage ||
(this.CompletionPercentage != null &&
this.CompletionPercentage.Equals(input.CompletionPercentage))
) &&
(
this.ErrorMessage == input.ErrorMessage ||
(this.ErrorMessage != null &&
this.ErrorMessage.Equals(input.ErrorMessage))
) &&
(
this.Events == input.Events ||
this.Events != null &&
input.Events != null &&
this.Events.SequenceEqual(input.Events)
) &&
(
this.InProgress == input.InProgress ||
(this.InProgress != null &&
this.InProgress.Equals(input.InProgress))
) &&
(
this.Message == input.Message ||
(this.Message != null &&
this.Message.Equals(input.Message))
) &&
(
this.SecondsRemaining == input.SecondsRemaining ||
(this.SecondsRemaining != null &&
this.SecondsRemaining.Equals(input.SecondsRemaining))
) &&
(
this.WarningsFound == input.WarningsFound ||
(this.WarningsFound != null &&
this.WarningsFound.Equals(input.WarningsFound))
);
}
19
Source : ComparedADObject.cs
with Apache License 2.0
from cohesity
with Apache License 2.0
from cohesity
public bool Equals(ComparedADObject input)
{
if (input == null)
return false;
return
(
this.AdAttributes == input.AdAttributes ||
this.AdAttributes != null &&
input.AdAttributes != null &&
this.AdAttributes.SequenceEqual(input.AdAttributes)
) &&
(
this.AdObjectFlags == input.AdObjectFlags ||
this.AdObjectFlags.SequenceEqual(input.AdObjectFlags)
) &&
(
this.DestinationGuid == input.DestinationGuid ||
(this.DestinationGuid != null &&
this.DestinationGuid.Equals(input.DestinationGuid))
) &&
(
this.ErrorMessage == input.ErrorMessage ||
(this.ErrorMessage != null &&
this.ErrorMessage.Equals(input.ErrorMessage))
) &&
(
this.MismatchAttrCount == input.MismatchAttrCount ||
(this.MismatchAttrCount != null &&
this.MismatchAttrCount.Equals(input.MismatchAttrCount))
) &&
(
this.SourceGuid == input.SourceGuid ||
(this.SourceGuid != null &&
this.SourceGuid.Equals(input.SourceGuid))
);
}
19
Source : CreateCloudClusterParameters.cs
with Apache License 2.0
from cohesity
with Apache License 2.0
from cohesity
public bool Equals(CreateCloudClusterParameters input)
{
if (input == null)
return false;
return
(
this.ClusterName == input.ClusterName ||
(this.ClusterName != null &&
this.ClusterName.Equals(input.ClusterName))
) &&
(
this.EncryptionConfig == input.EncryptionConfig ||
(this.EncryptionConfig != null &&
this.EncryptionConfig.Equals(input.EncryptionConfig))
) &&
(
this.IpPreference == input.IpPreference ||
(this.IpPreference != null &&
this.IpPreference.Equals(input.IpPreference))
) &&
(
this.MetadataFaultTolerance == input.MetadataFaultTolerance ||
(this.MetadataFaultTolerance != null &&
this.MetadataFaultTolerance.Equals(input.MetadataFaultTolerance))
) &&
(
this.NetworkConfig == input.NetworkConfig ||
(this.NetworkConfig != null &&
this.NetworkConfig.Equals(input.NetworkConfig))
) &&
(
this.NodeIps == input.NodeIps ||
this.NodeIps != null &&
input.NodeIps != null &&
this.NodeIps.SequenceEqual(input.NodeIps)
);
}
19
Source : CryptsoftKmsConfigResponse.cs
with Apache License 2.0
from cohesity
with Apache License 2.0
from cohesity
public bool Equals(CryptsoftKmsConfigResponse input)
{
if (input == null)
return false;
return
(
this.ClientCertificateExpiryDate == input.ClientCertificateExpiryDate ||
(this.ClientCertificateExpiryDate != null &&
this.ClientCertificateExpiryDate.Equals(input.ClientCertificateExpiryDate))
) &&
(
this.KmipProtocolVersion == input.KmipProtocolVersion ||
(this.KmipProtocolVersion != null &&
this.KmipProtocolVersion.Equals(input.KmipProtocolVersion))
) &&
(
this.ServerIp == input.ServerIp ||
(this.ServerIp != null &&
this.ServerIp.Equals(input.ServerIp))
) &&
(
this.ServerPort == input.ServerPort ||
(this.ServerPort != null &&
this.ServerPort.Equals(input.ServerPort))
);
}
19
Source : ClusterConfigProtoSID.cs
with Apache License 2.0
from cohesity
with Apache License 2.0
from cohesity
public bool Equals(ClusterConfigProtoSID input)
{
if (input == null)
return false;
return
(
this.IdentifierAuthority == input.IdentifierAuthority ||
this.IdentifierAuthority != null &&
input.IdentifierAuthority != null &&
this.IdentifierAuthority.SequenceEqual(input.IdentifierAuthority)
) &&
(
this.RevisionLevel == input.RevisionLevel ||
(this.RevisionLevel != null &&
this.RevisionLevel.Equals(input.RevisionLevel))
) &&
(
this.SubAuthority == input.SubAuthority ||
this.SubAuthority != null &&
input.SubAuthority != null &&
this.SubAuthority.SequenceEqual(input.SubAuthority)
);
}
19
Source : DeployDBInstancesToRDSParams.cs
with Apache License 2.0
from cohesity
with Apache License 2.0
from cohesity
public bool Equals(DeployDBInstancesToRDSParams input)
{
if (input == null)
return false;
return
(
this.AutoMinorVersionUpgrade == input.AutoMinorVersionUpgrade ||
(this.AutoMinorVersionUpgrade != null &&
this.AutoMinorVersionUpgrade.Equals(input.AutoMinorVersionUpgrade))
) &&
(
this.AvailabilityZone == input.AvailabilityZone ||
(this.AvailabilityZone != null &&
this.AvailabilityZone.Equals(input.AvailabilityZone))
) &&
(
this.CopyTagsToSnapshots == input.CopyTagsToSnapshots ||
(this.CopyTagsToSnapshots != null &&
this.CopyTagsToSnapshots.Equals(input.CopyTagsToSnapshots))
) &&
(
this.DbInstanceId == input.DbInstanceId ||
(this.DbInstanceId != null &&
this.DbInstanceId.Equals(input.DbInstanceId))
) &&
(
this.DbOptionGroup == input.DbOptionGroup ||
(this.DbOptionGroup != null &&
this.DbOptionGroup.Equals(input.DbOptionGroup))
) &&
(
this.DbParameterGroup == input.DbParameterGroup ||
(this.DbParameterGroup != null &&
this.DbParameterGroup.Equals(input.DbParameterGroup))
) &&
(
this.DbPort == input.DbPort ||
(this.DbPort != null &&
this.DbPort.Equals(input.DbPort))
) &&
(
this.IamDbAuthentication == input.IamDbAuthentication ||
(this.IamDbAuthentication != null &&
this.IamDbAuthentication.Equals(input.IamDbAuthentication))
) &&
(
this.MultiAzDeployment == input.MultiAzDeployment ||
(this.MultiAzDeployment != null &&
this.MultiAzDeployment.Equals(input.MultiAzDeployment))
) &&
(
this.PointInTimeParams == input.PointInTimeParams ||
(this.PointInTimeParams != null &&
this.PointInTimeParams.Equals(input.PointInTimeParams))
) &&
(
this.PublicAccessibility == input.PublicAccessibility ||
(this.PublicAccessibility != null &&
this.PublicAccessibility.Equals(input.PublicAccessibility))
);
}
19
Source : DestroyCloneAppTaskInfoProto.cs
with Apache License 2.0
from cohesity
with Apache License 2.0
from cohesity
public bool Equals(DestroyCloneAppTaskInfoProto input)
{
if (input == null)
return false;
return
(
this.AppEnv == input.AppEnv ||
(this.AppEnv != null &&
this.AppEnv.Equals(input.AppEnv))
) &&
(
this.Error == input.Error ||
(this.Error != null &&
this.Error.Equals(input.Error))
) &&
(
this.Finished == input.Finished ||
(this.Finished != null &&
this.Finished.Equals(input.Finished))
) &&
(
this.TargetEnreplacedy == input.TargetEnreplacedy ||
(this.TargetEnreplacedy != null &&
this.TargetEnreplacedy.Equals(input.TargetEnreplacedy))
) &&
(
this.TargetEnreplacedyCredentials == input.TargetEnreplacedyCredentials ||
(this.TargetEnreplacedyCredentials != null &&
this.TargetEnreplacedyCredentials.Equals(input.TargetEnreplacedyCredentials))
);
}
19
Source : DestroyClonedEntityInfoProto.cs
with Apache License 2.0
from cohesity
with Apache License 2.0
from cohesity
public bool Equals(DestroyClonedEnreplacedyInfoProto input)
{
if (input == null)
return false;
return
(
this.ClonedEnreplacedy == input.ClonedEnreplacedy ||
(this.ClonedEnreplacedy != null &&
this.ClonedEnreplacedy.Equals(input.ClonedEnreplacedy))
) &&
(
this.ClonedEnreplacedyStatus == input.ClonedEnreplacedyStatus ||
(this.ClonedEnreplacedyStatus != null &&
this.ClonedEnreplacedyStatus.Equals(input.ClonedEnreplacedyStatus))
) &&
(
this.DestroyClonedEnreplacedyState == input.DestroyClonedEnreplacedyState ||
(this.DestroyClonedEnreplacedyState != null &&
this.DestroyClonedEnreplacedyState.Equals(input.DestroyClonedEnreplacedyState))
) &&
(
this.Error == input.Error ||
(this.Error != null &&
this.Error.Equals(input.Error))
) &&
(
this.FullViewName == input.FullViewName ||
(this.FullViewName != null &&
this.FullViewName.Equals(input.FullViewName))
) &&
(
this.Type == input.Type ||
(this.Type != null &&
this.Type.Equals(input.Type))
);
}
19
Source : DestroyClonedTaskStateProto.cs
with Apache License 2.0
from cohesity
with Apache License 2.0
from cohesity
public bool Equals(DestroyClonedTaskStateProto input)
{
if (input == null)
return false;
return
(
this.ActionExecutorTargetType == input.ActionExecutorTargetType ||
(this.ActionExecutorTargetType != null &&
this.ActionExecutorTargetType.Equals(input.ActionExecutorTargetType))
) &&
(
this.CloneTaskName == input.CloneTaskName ||
(this.CloneTaskName != null &&
this.CloneTaskName.Equals(input.CloneTaskName))
) &&
(
this.DatastoreEnreplacedy == input.DatastoreEnreplacedy ||
(this.DatastoreEnreplacedy != null &&
this.DatastoreEnreplacedy.Equals(input.DatastoreEnreplacedy))
) &&
(
this.DeployVmsToCloudTaskState == input.DeployVmsToCloudTaskState ||
(this.DeployVmsToCloudTaskState != null &&
this.DeployVmsToCloudTaskState.Equals(input.DeployVmsToCloudTaskState))
) &&
(
this.DestroyCloneAppTaskInfo == input.DestroyCloneAppTaskInfo ||
(this.DestroyCloneAppTaskInfo != null &&
this.DestroyCloneAppTaskInfo.Equals(input.DestroyCloneAppTaskInfo))
) &&
(
this.DestroyCloneVmTaskInfo == input.DestroyCloneVmTaskInfo ||
(this.DestroyCloneVmTaskInfo != null &&
this.DestroyCloneVmTaskInfo.Equals(input.DestroyCloneVmTaskInfo))
) &&
(
this.DestroyMountVolumesTaskInfo == input.DestroyMountVolumesTaskInfo ||
(this.DestroyMountVolumesTaskInfo != null &&
this.DestroyMountVolumesTaskInfo.Equals(input.DestroyMountVolumesTaskInfo))
) &&
(
this.EndTimeUsecs == input.EndTimeUsecs ||
(this.EndTimeUsecs != null &&
this.EndTimeUsecs.Equals(input.EndTimeUsecs))
) &&
(
this.Error == input.Error ||
(this.Error != null &&
this.Error.Equals(input.Error))
) &&
(
this.FolderEnreplacedy == input.FolderEnreplacedy ||
(this.FolderEnreplacedy != null &&
this.FolderEnreplacedy.Equals(input.FolderEnreplacedy))
) &&
(
this.ForceDelete == input.ForceDelete ||
(this.ForceDelete != null &&
this.ForceDelete.Equals(input.ForceDelete))
) &&
(
this.FullViewName == input.FullViewName ||
(this.FullViewName != null &&
this.FullViewName.Equals(input.FullViewName))
) &&
(
this.ParentSourceConnectionParams == input.ParentSourceConnectionParams ||
(this.ParentSourceConnectionParams != null &&
this.ParentSourceConnectionParams.Equals(input.ParentSourceConnectionParams))
) &&
(
this.ParentTaskId == input.ParentTaskId ||
(this.ParentTaskId != null &&
this.ParentTaskId.Equals(input.ParentTaskId))
) &&
(
this.PerformCloneTaskId == input.PerformCloneTaskId ||
(this.PerformCloneTaskId != null &&
this.PerformCloneTaskId.Equals(input.PerformCloneTaskId))
) &&
(
this.RestoreType == input.RestoreType ||
(this.RestoreType != null &&
this.RestoreType.Equals(input.RestoreType))
) &&
(
this.ScheduledConsreplaceduentId == input.ScheduledConsreplaceduentId ||
(this.ScheduledConsreplaceduentId != null &&
this.ScheduledConsreplaceduentId.Equals(input.ScheduledConsreplaceduentId))
) &&
(
this.ScheduledGandalfSessionId == input.ScheduledGandalfSessionId ||
(this.ScheduledGandalfSessionId != null &&
this.ScheduledGandalfSessionId.Equals(input.ScheduledGandalfSessionId))
) &&
(
this.StartTimeUsecs == input.StartTimeUsecs ||
(this.StartTimeUsecs != null &&
this.StartTimeUsecs.Equals(input.StartTimeUsecs))
) &&
(
this.Status == input.Status ||
(this.Status != null &&
this.Status.Equals(input.Status))
) &&
(
this.TaskId == input.TaskId ||
(this.TaskId != null &&
this.TaskId.Equals(input.TaskId))
) &&
(
this.Type == input.Type ||
(this.Type != null &&
this.Type.Equals(input.Type))
) &&
(
this.User == input.User ||
(this.User != null &&
this.User.Equals(input.User))
) &&
(
this.UserInfo == input.UserInfo ||
(this.UserInfo != null &&
this.UserInfo.Equals(input.UserInfo))
) &&
(
this.VcdConfig == input.VcdConfig ||
(this.VcdConfig != null &&
this.VcdConfig.Equals(input.VcdConfig))
) &&
(
this.ViewBoxId == input.ViewBoxId ||
(this.ViewBoxId != null &&
this.ViewBoxId.Equals(input.ViewBoxId))
) &&
(
this.ViewNameDEPRECATED == input.ViewNameDEPRECATED ||
(this.ViewNameDEPRECATED != null &&
this.ViewNameDEPRECATED.Equals(input.ViewNameDEPRECATED))
);
}
19
Source : CreateIpConfigParameters.cs
with Apache License 2.0
from cohesity
with Apache License 2.0
from cohesity
public bool Equals(CreateIpConfigParameters input)
{
if (input == null)
return false;
return
(
this.Ips == input.Ips ||
this.Ips != null &&
input.Ips != null &&
this.Ips.SequenceEqual(input.Ips)
) &&
(
this.Mtu == input.Mtu ||
(this.Mtu != null &&
this.Mtu.Equals(input.Mtu))
) &&
(
this.Name == input.Name ||
(this.Name != null &&
this.Name.Equals(input.Name))
) &&
(
this.Role == input.Role ||
this.Role.Equals(input.Role)
) &&
(
this.SubnetGateway == input.SubnetGateway ||
(this.SubnetGateway != null &&
this.SubnetGateway.Equals(input.SubnetGateway))
) &&
(
this.SubnetMask == input.SubnetMask ||
(this.SubnetMask != null &&
this.SubnetMask.Equals(input.SubnetMask))
);
}
19
Source : CryptsoftKmsConfiguration.cs
with Apache License 2.0
from cohesity
with Apache License 2.0
from cohesity
public bool Equals(CryptsoftKmsConfiguration input)
{
if (input == null)
return false;
return
(
this.CaCertificate == input.CaCertificate ||
(this.CaCertificate != null &&
this.CaCertificate.Equals(input.CaCertificate))
) &&
(
this.ClientCertificate == input.ClientCertificate ||
(this.ClientCertificate != null &&
this.ClientCertificate.Equals(input.ClientCertificate))
) &&
(
this.ClientKey == input.ClientKey ||
(this.ClientKey != null &&
this.ClientKey.Equals(input.ClientKey))
) &&
(
this.KmipProtocolVersion == input.KmipProtocolVersion ||
(this.KmipProtocolVersion != null &&
this.KmipProtocolVersion.Equals(input.KmipProtocolVersion))
) &&
(
this.ServerIp == input.ServerIp ||
(this.ServerIp != null &&
this.ServerIp.Equals(input.ServerIp))
) &&
(
this.ServerPort == input.ServerPort ||
(this.ServerPort != null &&
this.ServerPort.Equals(input.ServerPort))
);
}
See More Examples