public IronSourceSegment ToIronSourceSegment()
            {
                IronSourceSegment segment = new IronSourceSegment
                {
                    age              = this.age,
                    gender           = this.gender,
                    level            = this.level,
                    isPaying         = isPaying ? 1 : 0,
                    userCreationDate = this.userCreationDate,
                    iapt             = this.iapt,
                    segmentName      = this.segmentName,
                };

                if (customParams != null)
                {
                    foreach (var param in customParams)
                    {
                        segment.setCustom(param.Key, param.Value);
                    }
                }

                return(segment);
            }