/// <summary> /// Returns true if TransmissionsStateResponse200 instances are equal /// </summary> /// <param name="other">Instance of TransmissionsStateResponse200 to be compared</param> /// <returns>Boolean</returns> public bool Equals(TransmissionsStateResponse200 other) { if (other is null) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( Created == other.Created || Created != null && Created.Equals(other.Created) ) && ( Transferred == other.Transferred || Transferred != null && Transferred.Equals(other.Transferred) ) && ( Delivered == other.Delivered || Delivered != null && Delivered.Equals(other.Delivered) )); }
/// <summary> /// Returns true if SysObject instances are equal /// </summary> /// <param name="other">Instance of SysObject to be compared</param> /// <returns>Boolean</returns> public bool Equals(SysObject other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( Id == other.Id || Id != null && Id.Equals(other.Id) ) && ( Created == other.Created || Created != null && Created.Equals(other.Created) ) && ( Updated == other.Updated || Updated != null && Updated.Equals(other.Updated) )); }
public void SetCreatedDate(DateTime dateTime) { if (Created.Equals(DateTime.MinValue)) { Created = dateTime; } }
private bool Equals(TextNoteModel other) { return(string.Equals(Title, other.Title) && string.Equals(Content, other.Content) && Created.Equals(other.Created) && State == other.State && BackgroundColor.Equals(other.BackgroundColor)); }
/// <summary> /// Returns true if InventoryOrder instances are equal /// </summary> /// <param name="other">Instance of InventoryOrder to be compared</param> /// <returns>Boolean</returns> public bool Equals(InventoryOrder other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( Id == other.Id || Id != null && Id.Equals(other.Id) ) && ( Description == other.Description || Description != null && Description.Equals(other.Description) ) && ( InventoryVariantName == other.InventoryVariantName || InventoryVariantName != null && InventoryVariantName.Equals(other.InventoryVariantName) ) && ( Created == other.Created || Created != null && Created.Equals(other.Created) ) && ( ReportDate == other.ReportDate || ReportDate != null && ReportDate.Equals(other.ReportDate) ) && ( Creator == other.Creator || Creator != null && Creator.Equals(other.Creator) ) && ( Assignees == other.Assignees || Assignees != null && Assignees.SequenceEqual(other.Assignees) ) && ( Status == other.Status || Status != null && Status.Equals(other.Status) ) && ( HasOnlyUntaggedAssets == other.HasOnlyUntaggedAssets || HasOnlyUntaggedAssets != null && HasOnlyUntaggedAssets.Equals(other.HasOnlyUntaggedAssets) )); }
public override bool Equals(object obj) { var from = obj as ClassEntityDeeperOne; return(Name == from.Name && Index == from.Index && Created.Equals(from.Created) && MoreDeeper.Equals(from.MoreDeeper)); }
protected bool Equals(Transaction other) { return(Id == other.Id && TransactionDate.Equals(other.TransactionDate) && Created.Equals(other.Created) && string.Equals(Payee, other.Payee) && string.Equals(Reference, other.Reference) && Amount == other.Amount); }
private bool Equals(StorageEventTableEntity other) { return(string.Equals(PartitionKey, other.PartitionKey) && string.Equals(RowKey, other.RowKey) && Created.Equals(other.Created) && Modified.Equals(other.Modified) && Deleted.Equals(other.Deleted) && string.Equals(Data, other.Data)); }
public bool Equals(KeyValueEntry other) { return(bucketAndKey.Equals(other.bucketAndKey) && Created.Equals(other.Created) && Revision == other.Revision && Delta == other.Delta && Operation.Equals(other.Operation) && DataLength == other.DataLength && Validator.Equal(Value, other.Value)); }
private bool Equals(EventHistoryTableEntity other) { return(string.Equals(PartitionKey, other.PartitionKey) && string.Equals(RowKey, other.RowKey) && Created.Equals(other.Created) && string.Equals(EventType, other.EventType) && string.Equals(OperationName, other.OperationName) && OrganizationId.Equals(other.OrganizationId) && SubscriptionId.Equals(other.SubscriptionId) && string.Equals(Data, other.Data)); }
public bool Equals(Document other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(Created.Equals(other.Created) && string.Equals(Office, other.Office) && string.Equals(RegistrationNumber, other.RegistrationNumber) && string.Equals(TachographMake, other.TachographMake) && string.Equals(TachographModel, other.TachographModel) && string.Equals(SerialNumber, other.SerialNumber) && InspectionDate.Equals(other.InspectionDate) && string.Equals(Technician, other.Technician) && string.Equals(CustomerContact, other.CustomerContact) && string.Equals(DepotName, other.DepotName) && string.Equals(CompanyName, other.CompanyName) && UserId == other.UserId && Uploaded.Equals(other.Uploaded)); }
public bool Equals(GV212Report other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(Created.Equals(other.Created) && Equals(SerializedData, other.SerializedData)); }
protected bool Equals(User other) { if (other == null) { return(false); } return(Guid.Equals(other.Guid) && Email.Equals(other.Email) && FirstName == other.FirstName && LastName == other.LastName && Created.Equals(other.Created)); }
public bool Equals(WorkspaceBranch other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(string.Equals(Id, other.Id) && VersionCounter == other.VersionCounter && Created.Equals(other.Created) && LastUpdated.Equals(other.LastUpdated) && string.Equals(CreatedBy, other.CreatedBy) && string.Equals(WorkspaceId, other.WorkspaceId) && string.Equals(BranchName, other.BranchName)); }
private bool Diff(LiveThread compare) { return(!(Id.Equals(compare.Id) && Description.Equals(compare.Description) && NSFW.Equals(compare.NSFW) && Resources.Equals(compare.Resources) && TotalViews.Equals(compare.TotalViews) && Created.Equals(compare.Created) && Fullname.Equals(compare.Fullname) && IsAnnouncement.Equals(compare.IsAnnouncement) && AnnouncementURL.Equals(compare.AnnouncementURL) && State.Equals(compare.State) && ViewerCount.Equals(compare.ViewerCount) && Icon.Equals(compare.Icon))); }
public bool Equals(Attachment other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(string.Equals(Id, other.Id) && VersionCounter == other.VersionCounter && Created.Equals(other.Created) && LastUpdated.Equals(other.LastUpdated) && string.Equals(CreatedBy, other.CreatedBy) && string.Equals(ContentType, other.ContentType) && string.Equals(Filename, other.Filename) && string.Equals(Url, other.Url) && Size == other.Size); }
/// <summary> /// Returns true if RecipeObjectMeta instances are equal /// </summary> /// <param name="other">Instance of RecipeObjectMeta to be compared</param> /// <returns>Boolean</returns> public bool Equals(RecipeObjectMeta other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( Url == other.Url || Url != null && Url.Equals(other.Url) ) && ( Images == other.Images || Images != null && Images.Equals(other.Images) ) && ( Source == other.Source || Source != null && Source.Equals(other.Source) ) && ( Cuisine == other.Cuisine || Cuisine != null && Cuisine.Equals(other.Cuisine) ) && ( Created == other.Created || Created != null && Created.Equals(other.Created) ) && ( Modified == other.Modified || Modified != null && Modified.Equals(other.Modified) ) && ( NutrientsNotice == other.NutrientsNotice || NutrientsNotice != null && NutrientsNotice.Equals(other.NutrientsNotice) )); }
public bool Equals(Field other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(string.Equals(Id, other.Id) && VersionCounter == other.VersionCounter && Created.Equals(other.Created) && string.Equals(Name, other.Name) && string.Equals(CreatedBy, other.CreatedBy) && LastUpdated.Equals(other.LastUpdated) && string.Equals(Model, other.Model) && Type == other.Type && string.Equals(Label, other.Label) && Equals(ComponentType, other.ComponentType) && string.Equals(Description, other.Description)); }
public bool Equals(Tag other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(string.Equals(Name, other.Name) && string.Equals(CreatedBy, other.CreatedBy) && Created.Equals(other.Created) && LastUpdated.Equals(other.LastUpdated) && string.Equals(Id, other.Id) && VersionCounter == other.VersionCounter && string.Equals(RootWorkspace, other.RootWorkspace) && Equals(Components, other.Components) && Equals(References, other.References) && string.Equals(Description, other.Description)); }
public bool Equals(Reference other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(string.Equals(CreatedBy, other.CreatedBy) && Created.Equals(other.Created) && LastUpdated.Equals(other.LastUpdated) && string.Equals(Id, other.Id) && VersionCounter == other.VersionCounter && string.Equals(RootWorkspace, other.RootWorkspace) && string.Equals(Source, other.Source) && string.Equals(Target, other.Target) && Type == other.Type && ReturnValue == other.ReturnValue && Order == other.Order && string.Equals(Description, other.Description)); }
public bool Equals(CommentModel other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(Id == other.Id && String.Equals(Content, other.Content) && Author.Equals(other.Author) && Created.Equals(other.Created) && Modified.Equals(other.Modified)); }
public bool EqualsIgnoreChildren(Component other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(string.Equals(Name, other.Name) && string.Equals(Model, other.Model) && string.Equals(State, other.State) && string.Equals(CreatedBy, other.CreatedBy) && Created.Equals(other.Created) && LastUpdated.Equals(other.LastUpdated) && string.Equals(Id, other.Id) && VersionCounter == other.VersionCounter && string.Equals(Version, other.Version) && string.Equals(RootWorkspace, other.RootWorkspace) && string.Equals(Parent, other.Parent) && string.Equals(Type, other.Type) && string.Equals(TypeId, other.TypeId) && string.Equals(Description, other.Description) && FieldEquals(Fields, other.Fields)); }
/// <summary> /// Returns true if ModelEvent instances are equal /// </summary> /// <param name="other">Instance of ModelEvent to be compared</param> /// <returns>Boolean</returns> public bool Equals(ModelEvent other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( Id == other.Id || Id != null && Id.Equals(other.Id) ) && ( Type == other.Type || Type != null && Type.Equals(other.Type) ) && ( Created == other.Created || Created != null && Created.Equals(other.Created) ) && ( Data == other.Data || Data != null && Data.Equals(other.Data) ) && ( Url == other.Url || Url != null && Url.Equals(other.Url) )); }
protected bool Equals(CreatedEntityAsync other) { return(base.Equals(other) && Created.Equals(other.Created)); }
/// <summary> /// Returns true if AssetFullTextAndPropertySearch instances are equal /// </summary> /// <param name="other">Instance of AssetFullTextAndPropertySearch to be compared</param> /// <returns>Boolean</returns> public bool Equals(AssetFullTextAndPropertySearch other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( SearchString == other.SearchString || SearchString != null && SearchString.Equals(other.SearchString) ) && ( SortingColumn == other.SortingColumn || SortingColumn != null && SortingColumn.Equals(other.SortingColumn) ) && ( TagId == other.TagId || TagId != null && TagId.Equals(other.TagId) ) && ( Name == other.Name || Name != null && Name.Equals(other.Name) ) && ( AssetNumber == other.AssetNumber || AssetNumber != null && AssetNumber.Equals(other.AssetNumber) ) && ( Latitude == other.Latitude || Latitude != null && Latitude.Equals(other.Latitude) ) && ( Longitude == other.Longitude || Longitude != null && Longitude.Equals(other.Longitude) ) && ( AssetClass == other.AssetClass || AssetClass != null && AssetClass.Equals(other.AssetClass) ) && ( LastModified == other.LastModified || LastModified != null && LastModified.Equals(other.LastModified) ) && ( Created == other.Created || Created != null && Created.Equals(other.Created) ) && ( Creator == other.Creator || Creator != null && Creator.Equals(other.Creator) ) && ( SubNumber == other.SubNumber || SubNumber != null && SubNumber.Equals(other.SubNumber) ) && ( CompanyCode == other.CompanyCode || CompanyCode != null && CompanyCode.Equals(other.CompanyCode) ) && ( InventoryNumber == other.InventoryNumber || InventoryNumber != null && InventoryNumber.Equals(other.InventoryNumber) ) && ( SerialNumber == other.SerialNumber || SerialNumber != null && SerialNumber.Equals(other.SerialNumber) ) && ( Location == other.Location || Location != null && Location.Equals(other.Location) ) && ( Room == other.Room || Room != null && Room.Equals(other.Room) ) && ( CostCenter == other.CostCenter || CostCenter != null && CostCenter.Equals(other.CostCenter) ) && ( CapitalisationDate == other.CapitalisationDate || CapitalisationDate != null && CapitalisationDate.Equals(other.CapitalisationDate) ) && ( LastInventoryDate == other.LastInventoryDate || LastInventoryDate != null && LastInventoryDate.Equals(other.LastInventoryDate) ) && ( AcquisitionValue == other.AcquisitionValue || AcquisitionValue != null && AcquisitionValue.Equals(other.AcquisitionValue) ) && ( AssetSuperNumber == other.AssetSuperNumber || AssetSuperNumber != null && AssetSuperNumber.Equals(other.AssetSuperNumber) ) && ( Vendor == other.Vendor || Vendor != null && Vendor.Equals(other.Vendor) ) && ( TypeName == other.TypeName || TypeName != null && TypeName.Equals(other.TypeName) ) && ( Plant == other.Plant || Plant != null && Plant.Equals(other.Plant) ) && ( Quantity == other.Quantity || Quantity != null && Quantity.Equals(other.Quantity) ) && ( Unit == other.Unit || Unit != null && Unit.Equals(other.Unit) ) && ( Untaggable == other.Untaggable || Untaggable != null && Untaggable.Equals(other.Untaggable) ) && ( Untagged == other.Untagged || Untagged != null && Untagged.Equals(other.Untagged) ) && ( Page == other.Page || Page != null && Page.Equals(other.Page) ) && ( PageSize == other.PageSize || PageSize != null && PageSize.Equals(other.PageSize) )); }
/// <summary> /// Determites if two objects are the same one /// </summary> /// <param name="other">Object to be compared with</param> /// <returns>true if objects are same</returns> protected bool Equals(CostInfo other) { return(IsIncome == other.IsIncome && Money == other.Money && string.Equals(Description, other.Description) && AccountId == other.AccountId && string.Equals(AccountName, other.AccountName) && Created.Equals(other.Created) && TypeId == other.TypeId && string.Equals(TypeName, other.TypeName) && Periodicity == other.Periodicity && PeriodicMultiplicity == other.PeriodicMultiplicity); }
private bool Equals(IAlert other) { return(AlertID == other.AlertID && Code == other.Code && Source == other.Source && Title == other.Title && Severity == other.Severity && Created.Equals(other.Created) && Nullable.Equals(SnoozedEndDate, other.SnoozedEndDate) && ThresholdValue1 == other.ThresholdValue1 && ThresholdValue2 == other.ThresholdValue2 && ThresholdValue3 == other.ThresholdValue3 && ThresholdValue4 == other.ThresholdValue4 && ThresholdValue5 == other.ThresholdValue5 && DeviceGuid == other.DeviceGuid && AdditionalInfo == other.AdditionalInfo && AlertCategoryID == other.AlertCategoryID && Archived == other.Archived && Nullable.Equals(ArchivedDate, other.ArchivedDate) && TicketID == other.TicketID && AlertMessage == other.AlertMessage && DeviceName == other.DeviceName && CustomerID == other.CustomerID && CustomerName == other.CustomerName && MessageTemplate == other.MessageTemplate && FolderID == other.FolderID && PollingCyclesCount == other.PollingCyclesCount); }
/// <summary> /// Returns true if InventoryOrderAsset instances are equal /// </summary> /// <param name="other">Instance of InventoryOrderAsset to be compared</param> /// <returns>Boolean</returns> public bool Equals(InventoryOrderAsset other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( InventoryOrderId == other.InventoryOrderId || InventoryOrderId != null && InventoryOrderId.Equals(other.InventoryOrderId) ) && ( Checked == other.Checked || Checked != null && Checked.Equals(other.Checked) ) && ( LastModified == other.LastModified || LastModified != null && LastModified.Equals(other.LastModified) ) && ( Created == other.Created || Created != null && Created.Equals(other.Created) ) && ( ChangedBy == other.ChangedBy || ChangedBy != null && ChangedBy.Equals(other.ChangedBy) ) && ( CommentOther == other.CommentOther || CommentOther != null && CommentOther.Equals(other.CommentOther) ) && ( CommentCostCenter == other.CommentCostCenter || CommentCostCenter != null && CommentCostCenter.Equals(other.CommentCostCenter) ) && ( CommentPlant == other.CommentPlant || CommentPlant != null && CommentPlant.Equals(other.CommentPlant) ) && ( CommentLocation == other.CommentLocation || CommentLocation != null && CommentLocation.Equals(other.CommentLocation) ) && ( Status == other.Status || Status != null && Status.Equals(other.Status) ) && ( Asset == other.Asset || Asset != null && Asset.Equals(other.Asset) ) && ( AssetNumber == other.AssetNumber || AssetNumber != null && AssetNumber.Equals(other.AssetNumber) ) && ( SubNumber == other.SubNumber || SubNumber != null && SubNumber.Equals(other.SubNumber) ) && ( CompanyCode == other.CompanyCode || CompanyCode != null && CompanyCode.Equals(other.CompanyCode) )); }
/// <summary> /// Indicates whether the current object is equal to another object of the same type. /// </summary> /// <returns> /// true if the current object is equal to the <paramref name="other"/> parameter; otherwise, false. /// </returns> /// <param name="other">An object to compare with this object.</param> public bool Equals(ApisJson other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(string.Equals(Name, other.Name) && string.Equals(Description, other.Description) && string.Equals(Image, other.Image) && string.Equals(Url, other.Url) && Created.Equals(other.Created) && Modified.Equals(other.Modified) && string.Equals(SpecificationVersion, other.SpecificationVersion)); }
/// <summary> /// Returns true if AssetResource instances are equal /// </summary> /// <param name="other">Instance of AssetResource to be compared</param> /// <returns>Boolean</returns> public bool Equals(AssetResource other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( AssetNumber == other.AssetNumber || AssetNumber != null && AssetNumber.Equals(other.AssetNumber) ) && ( SubNumber == other.SubNumber || SubNumber != null && SubNumber.Equals(other.SubNumber) ) && ( CompanyCode == other.CompanyCode || CompanyCode != null && CompanyCode.Equals(other.CompanyCode) ) && ( TagId == other.TagId || TagId != null && TagId.Equals(other.TagId) ) && ( SecondTagId == other.SecondTagId || SecondTagId != null && SecondTagId.Equals(other.SecondTagId) ) && ( IsUntaggable == other.IsUntaggable || IsUntaggable != null && IsUntaggable.Equals(other.IsUntaggable) ) && ( LastModified == other.LastModified || LastModified != null && LastModified.Equals(other.LastModified) ) && ( Created == other.Created || Created != null && Created.Equals(other.Created) ) && ( Creator == other.Creator || Creator != null && Creator.Equals(other.Creator) ) && ( InventoryNumber == other.InventoryNumber || InventoryNumber != null && InventoryNumber.Equals(other.InventoryNumber) ) && ( SerialNumber == other.SerialNumber || SerialNumber != null && SerialNumber.Equals(other.SerialNumber) ) && ( Location == other.Location || Location != null && Location.Equals(other.Location) ) && ( Room == other.Room || Room != null && Room.Equals(other.Room) ) && ( Description == other.Description || Description != null && Description.Equals(other.Description) ) && ( CostCenter == other.CostCenter || CostCenter != null && CostCenter.Equals(other.CostCenter) ) && ( CapitalisationDate == other.CapitalisationDate || CapitalisationDate != null && CapitalisationDate.Equals(other.CapitalisationDate) ) && ( LastInventoryDate == other.LastInventoryDate || LastInventoryDate != null && LastInventoryDate.Equals(other.LastInventoryDate) ) && ( AcquisitionValue == other.AcquisitionValue || AcquisitionValue != null && AcquisitionValue.Equals(other.AcquisitionValue) ) && ( AssetSuperNumber == other.AssetSuperNumber || AssetSuperNumber != null && AssetSuperNumber.Equals(other.AssetSuperNumber) ) && ( Vendor == other.Vendor || Vendor != null && Vendor.Equals(other.Vendor) ) && ( TypeName == other.TypeName || TypeName != null && TypeName.Equals(other.TypeName) ) && ( Plant == other.Plant || Plant != null && Plant.Equals(other.Plant) ) && ( AssetClass == other.AssetClass || AssetClass != null && AssetClass.Equals(other.AssetClass) ) && ( Quantity == other.Quantity || Quantity != null && Quantity.Equals(other.Quantity) ) && ( Unit == other.Unit || Unit != null && Unit.Equals(other.Unit) ) && ( DeactivatedOn == other.DeactivatedOn || DeactivatedOn != null && DeactivatedOn.Equals(other.DeactivatedOn) ) && ( IsDeactivated == other.IsDeactivated || IsDeactivated != null && IsDeactivated.Equals(other.IsDeactivated) ) && ( CompanyCodeCurrency == other.CompanyCodeCurrency || CompanyCodeCurrency != null && CompanyCodeCurrency.Equals(other.CompanyCodeCurrency) ) && ( Comment == other.Comment || Comment != null && Comment.Equals(other.Comment) ) && ( ShareTags == other.ShareTags || ShareTags != null && ShareTags.Equals(other.ShareTags) )); }