// ReadFlow populates a flow struct with the data that is currently on the server // Note that it is not necessary to populate f.Data, as the method will automatically // initialize a nil value with the appropriate data structure for the flow's variant. func (j *Job) ReadFlow(f *gotelemetry.Flow) error { return f.Read(j.credentials) }