// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.

package shared

type SourceZenloopUpdate struct {
	// Zenloop API Token. You can get the API token in settings page <a href="https://app.zenloop.com/settings/api">here</a>
	APIToken string `json:"api_token"`
	// Zenloop date_from. Format: 2021-10-24T03:30:30Z or 2021-10-24. Leave empty if only data from current data should be synced
	DateFrom *string `json:"date_from,omitempty"`
	// Zenloop Survey Group ID. Can be found by pulling All Survey Groups via SurveyGroups stream. Leave empty to pull answers from all survey groups
	SurveyGroupID *string `json:"survey_group_id,omitempty"`
	// Zenloop Survey ID. Can be found <a href="https://app.zenloop.com/settings/api">here</a>. Leave empty to pull answers from all surveys
	SurveyID *string `json:"survey_id,omitempty"`
}

func (o *SourceZenloopUpdate) GetAPIToken() string {
	if o == nil {
		return ""
	}
	return o.APIToken
}

func (o *SourceZenloopUpdate) GetDateFrom() *string {
	if o == nil {
		return nil
	}
	return o.DateFrom
}

func (o *SourceZenloopUpdate) GetSurveyGroupID() *string {
	if o == nil {
		return nil
	}
	return o.SurveyGroupID
}

func (o *SourceZenloopUpdate) GetSurveyID() *string {
	if o == nil {
		return nil
	}
	return o.SurveyID
}
