WriteSegmentRequest class

Specifies the configuration, dimension, and other settings for a segment. A WriteSegmentRequest object can include a Dimensions object or a SegmentGroups object, but not both.

Constructors

WriteSegmentRequest({SegmentDimensions? dimensions, String? name, SegmentGroupList? segmentGroups, Map<String, String>? tags})

Properties

dimensions SegmentDimensions?
The criteria that define the dimensions for the segment.
final
hashCode int
The hash code for this object.
no setterinherited
name String?
The name of the segment.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
segmentGroups SegmentGroupList?
The segment group to use and the dimensions to apply to the group's base segments in order to build the segment. A segment group can consist of zero or more base segments. Your request can include only one segment group.
final
tags Map<String, String>?
A string-to-string map of key-value pairs that defines the tags to associate with the segment. Each tag consists of a required tag key and an associated tag value.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited