Esempio n. 1
0
        public bool Equals(TagMetadataItem input)
        {
            if (input == null)
            {
                return(false);
            }

            return
                ((
                     Description == input.Description ||
                     (Description != null && Description.Equals(input.Description))
                     ) &&
                 (
                     TagText == input.TagText ||
                     (TagText != null && TagText.Equals(input.TagText))
                 ) &&
                 (
                     Groups == input.Groups ||
                     (Groups != null && Groups.SequenceEqual(input.Groups))
                 ) &&
                 (
                     IsDefault == input.IsDefault ||
                     (IsDefault != null && IsDefault.Equals(input.IsDefault))
                 ) &&
                 (
                     Name == input.Name ||
                     (Name != null && Name.Equals(input.Name))
                 ));
        }
Esempio n. 2
0
        public bool Equals(GroupQuery input)
        {
            if (input == null)
            {
                return(false);
            }

            return
                ((
                     Name == input.Name ||
                     (Name != null && Name.Equals(input.Name))
                     ) &&
                 (
                     GroupType == input.GroupType ||
                     (GroupType != null && GroupType.Equals(input.GroupType))
                 ) &&
                 (
                     CreationDate == input.CreationDate ||
                     (CreationDate != null && CreationDate.Equals(input.CreationDate))
                 ) &&
                 (
                     SortBy == input.SortBy ||
                     (SortBy != null && SortBy.Equals(input.SortBy))
                 ) &&
                 (
                     GroupMemberCountFilter == input.GroupMemberCountFilter ||
                     (GroupMemberCountFilter.Equals(input.GroupMemberCountFilter))
                 ) &&
                 (
                     LocaleFilter == input.LocaleFilter ||
                     (LocaleFilter != null && LocaleFilter.Equals(input.LocaleFilter))
                 ) &&
                 (
                     TagText == input.TagText ||
                     (TagText != null && TagText.Equals(input.TagText))
                 ) &&
                 (
                     ItemsPerPage == input.ItemsPerPage ||
                     (ItemsPerPage.Equals(input.ItemsPerPage))
                 ) &&
                 (
                     CurrentPage == input.CurrentPage ||
                     (CurrentPage.Equals(input.CurrentPage))
                 ) &&
                 (
                     RequestContinuationToken == input.RequestContinuationToken ||
                     (RequestContinuationToken != null && RequestContinuationToken.Equals(input.RequestContinuationToken))
                 ));
        }
Esempio n. 3
0
        public bool Equals(TagResponse input)
        {
            if (input == null)
            {
                return(false);
            }

            return
                ((
                     TagText == input.TagText ||
                     (TagText != null && TagText.Equals(input.TagText))
                     ) &&
                 (
                     IgnoreStatus == input.IgnoreStatus ||
                     (IgnoreStatus != null && IgnoreStatus.Equals(input.IgnoreStatus))
                 ));
        }