Typed SegmentRef model.
@type t() :: %ApolloSignal.Types.SegmentRef{id: String.t()}
@spec from_map(map()) :: t()
@spec to_map(t()) :: map()