class Beehiiv::Segment

Included Modules

Defined in:

beehiiv/objects/core/segment.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

Class Method Detail

def self.delete(client : HTTP::Client, publication_id : String, id : String) #

def self.delete(segment : Beehiiv::Segment) #

def self.expand_results(client : HTTP::Client, publication_id : String, id : String) #

def self.list(client : HTTP::Client, publication_id : String) : List(Beehiiv::Segment) #

def self.retrieve(client : HTTP::Client, publication_id : String, id : String) : Object(Beehiiv::Segment) #

def self.retrieve(segment : Beehiiv::Segment) #

Instance Method Detail

def active : Bool #

def id : String #

def last_calculated : Time | Nil #

def name : String #

def segment_type : SegmentType #

def status : Status #

def total_results : Int32 #