code: func (step *CallFlowRecordStep) UnmarshalJSON(data []byte) error {
  	var raw jsonCallFlowRecordStep
  	if err := json.Unmarshal(data, &raw); err != nil {
  		return err
  	}
  	*step = CallFlowRecordStep{
  		CallFlowStepBase:   raw.CallFlowStepBase,
  		MaxLength:          time.Duration(raw.Options.MaxLength) * time.Second,
  		Timeout:            time.Duration(raw.Options.Timeout) * time.Second,
  		FinishOnKey:        raw.Options.FinishOnKey,
  		TranscribeLanguage: raw.Options.TranscribeLanguage,
  	}
  	return nil
  }
docs: // UnmarshalJSON implements the json.Unmarshaler interface.