/// <summary> /// Returns true if objects are equal /// </summary> public bool Equals(KeystoneListPermissionsRequest input) { if (input == null) { return(false); } return (( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) ) && ( this.DomainId == input.DomainId || (this.DomainId != null && this.DomainId.Equals(input.DomainId)) ) && ( this.Page == input.Page || (this.Page != null && this.Page.Equals(input.Page)) ) && ( this.PerPage == input.PerPage || (this.PerPage != null && this.PerPage.Equals(input.PerPage)) ) && ( this.PermissionType == input.PermissionType || (this.PermissionType != null && this.PermissionType.Equals(input.PermissionType)) ) && ( this.DisplayName == input.DisplayName || (this.DisplayName != null && this.DisplayName.Equals(input.DisplayName)) ) && ( this.Type == input.Type || (this.Type != null && this.Type.Equals(input.Type)) ) && ( this.Catalog == input.Catalog || (this.Catalog != null && this.Catalog.Equals(input.Catalog)) )); }
/// <summary> /// Returns true if objects are equal /// </summary> public bool Equals(KeystoneListPermissionsRequest input) { if (input == null) { return(false); } return (( this.Name == input.Name || (this.Name != null && this.Name.Equals(input.Name)) ) && ( this.DomainId == input.DomainId || (this.DomainId != null && this.DomainId.Equals(input.DomainId)) )); }