Documentation ¶
Index ¶
- type AnswerDateTime
- type AnswerDemographic
- type AnswerEmoji
- type AnswerFileUpload
- type AnswerImageChoice
- type AnswerMatrixMenu
- type AnswerMatrixRanking
- type AnswerMatrixRating
- type AnswerMatrixSingle
- type AnswerMultipleChoice
- type AnswerOpenEnded
- type AnswerOpenEndedMulti
- type AnswerOpenEndedNumerical
- type AnswerPresentation
- type AnswerQuestionsBankQuestions
- type AnswerQuizQuestions
- type AnswerSinglechoice
- type AnswerSlider
- type AnswerSliderComplex
- type AnswerTypeInterface
- type ButtonsText
- type CategoryRequest
- type CollectorRequest
- type CreateSurvey
- type FeedBack
- type Image
- type ModifySurvey
- type PageRequest
- type QuizOptions
- type RandomAssignment
- type Required
- type Sorting
- type SurveyHeading
- type SurveyPage
- type SurveyQuestion
- type SurveyRequest
- type SurveyTitle
- type TemplatesRequest
- type Validation
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AnswerDateTime ¶
type AnswerDateTime struct { AnswerTypeInterface Headings []struct { Heading string `json:"heading"` } `json:"headings"` Position int `json:"position"` Visible bool `json:"visible"` Family string `json:"family"` Subtype string `json:"subtype"` Answers struct { Rows []struct { Text string `json:"text"` Position int `json:"position"` } `json:"rows"` } `json:"answers"` }
type AnswerDemographic ¶
type AnswerDemographic struct { AnswerTypeInterface Headings []struct { Heading string `json:"heading"` } `json:"headings"` Position int `json:"position"` Visible bool `json:"visible"` Family string `json:"family"` Subtype string `json:"subtype"` Answers struct { Rows []struct { Visible bool `json:"visible"` Required bool `json:"required"` Type string `json:"type"` Text string `json:"text,omitempty"` } `json:"rows"` } `json:"answers"` }
type AnswerEmoji ¶
type AnswerEmoji struct { AnswerTypeInterface Headings []struct { Heading string `json:"heading"` } `json:"headings"` Position int `json:"position"` Family string `json:"family"` Subtype string `json:"subtype"` DisplayOptions struct { DisplayType string `json:"display_type"` DisplaySubtype string `json:"display_subtype"` } `json:"display_options"` ForcedRanking bool `json:"forced_ranking"` Answers struct { Rows []struct { Visible bool `json:"visible"` Text string `json:"text"` Position int `json:"position"` } `json:"rows"` Choices []struct { Weight int `json:"weight"` Text string `json:"text"` } `json:"choices"` } `json:"answers"` }
type AnswerFileUpload ¶
type AnswerFileUpload struct { AnswerTypeInterface Headings []struct { Heading string `json:"heading"` } `json:"headings"` Position int `json:"position"` Family string `json:"family"` Subtype string `json:"subtype"` DisplayOptions struct { DisplayType string `json:"display_type"` } `json:"display_options"` }
type AnswerImageChoice ¶
type AnswerImageChoice struct { AnswerTypeInterface Headings []struct { Heading string `json:"heading"` } `json:"headings"` Position int `json:"position"` Family string `json:"family"` Subtype string `json:"subtype"` DisplayOptions struct { DisplayType string `json:"display_type"` } `json:"display_options"` Answers struct { Choices []struct { Text string `json:"text"` Image struct { URL string `json:"url"` } `json:"image"` } `json:"choices"` } `json:"answers"` }
type AnswerMatrixMenu ¶
type AnswerMatrixMenu struct { AnswerTypeInterface Headings []struct { Heading string `json:"heading"` } `json:"headings"` Position int `json:"position"` Family string `json:"family"` Subtype string `json:"subtype"` Answers struct { Rows []struct { Text string `json:"text"` } `json:"rows"` Cols []struct { Text string `json:"text"` Choices []struct { Text string `json:"text"` Visible bool `json:"visible"` Position int `json:"position"` } `json:"choices"` } `json:"cols"` } `json:"answers"` }
type AnswerMatrixRanking ¶
type AnswerMatrixRanking struct { AnswerTypeInterface Headings []struct { Heading string `json:"heading"` } `json:"headings"` Position int `json:"position"` Family string `json:"family"` Subtype string `json:"subtype"` Answers struct { Rows []struct { Text string `json:"text"` } `json:"rows"` } `json:"answers"` }
type AnswerMatrixRating ¶
type AnswerMatrixRating struct { AnswerTypeInterface Headings []struct { Heading string `json:"heading"` } `json:"headings"` Position int `json:"position"` Family string `json:"family"` Subtype string `json:"subtype"` ForcedRanking bool `json:"forced_ranking"` Answers struct { Rows []struct { Text string `json:"text"` } `json:"rows"` Choices []struct { Text string `json:"text"` Weight int `json:"weight"` } `json:"choices"` } `json:"answers"` }
type AnswerMatrixSingle ¶
type AnswerMatrixSingle struct { AnswerTypeInterface Headings []struct { Heading string `json:"heading"` } `json:"headings"` Position int `json:"position"` Family string `json:"family"` Subtype string `json:"subtype"` ForcedRanking bool `json:"forced_ranking"` Answers struct { Rows []struct { Text string `json:"text"` } `json:"rows"` Choices []struct { Text string `json:"text"` } `json:"choices"` } `json:"answers"` }
type AnswerMultipleChoice ¶
type AnswerMultipleChoice struct { AnswerTypeInterface Headings []struct { Heading string `json:"heading"` } `json:"headings"` Position int `json:"position"` Family string `json:"family"` Subtype string `json:"subtype"` Answers struct { Choices []struct { Text string `json:"text"` } `json:"choices"` } `json:"answers"` }
type AnswerOpenEnded ¶
type AnswerOpenEnded struct { AnswerTypeInterface Headings []struct { Heading string `json:"heading"` } `json:"headings"` Position int `json:"position"` Family string `json:"family"` Subtype string `json:"subtype"` }
type AnswerOpenEndedMulti ¶
type AnswerOpenEndedMulti struct { AnswerTypeInterface Headings []struct { Heading string `json:"heading"` } `json:"headings"` Position int `json:"position"` Family string `json:"family"` Subtype string `json:"subtype"` Answers struct { Rows []struct { Text string `json:"text"` } `json:"rows"` } `json:"answers"` }
type AnswerOpenEndedNumerical ¶
type AnswerOpenEndedNumerical struct { AnswerTypeInterface Headings []struct { Heading string `json:"heading"` } `json:"headings"` Position int `json:"position"` Family string `json:"family"` Subtype string `json:"subtype"` Answers struct { Rows []struct { Text string `json:"text"` } `json:"rows"` } `json:"answers"` Validation struct { Text string `json:"text"` Type string `json:"type"` Sum int `json:"sum"` SumText string `json:"sum_text"` } `json:"validation"` }
type AnswerPresentation ¶
type AnswerQuestionsBankQuestions ¶
type AnswerQuestionsBankQuestions struct { AnswerTypeInterface QuestionBank struct { QuestionBankQuestionID string `json:"question_bank_question_id"` ModifierOptions struct { Num36628 interface{} `json:"36628"` } `json:"modifier_options"` } `json:"question_bank"` }
type AnswerQuizQuestions ¶
type AnswerQuizQuestions struct { AnswerTypeInterface Headings []struct { Heading string `json:"heading"` } `json:"headings"` Position int `json:"position"` Family string `json:"family"` Subtype string `json:"subtype"` Answers struct { Choices []struct { Text string `json:"text"` QuizOptions struct { Score int `json:"score"` } `json:"quiz_options"` } `json:"choices"` } `json:"answers"` QuizOptions struct { ScoringEnabled bool `json:"scoring_enabled"` Feedback struct { CorrectText string `json:"correct_text"` IncorrectText string `json:"incorrect_text"` } `json:"feedback"` } `json:"quiz_options"` }
type AnswerSinglechoice ¶
type AnswerSinglechoice struct { AnswerTypeInterface Headings []struct { Heading string `json:"heading"` } `json:"headings"` Position int `json:"position"` Family string `json:"family"` Subtype string `json:"subtype"` Answers struct { Choices []struct { Text string `json:"text"` } `json:"choices"` Other []struct { Text string `json:"text"` NumChars int `json:"num_chars"` NumLines int `json:"num_lines"` } `json:"other"` } `json:"answers"` }
type AnswerSlider ¶
type AnswerSlider struct { AnswerTypeInterface Headings []struct { Heading string `json:"heading"` } `json:"headings"` Position int `json:"position"` Family string `json:"family"` Subtype string `json:"subtype"` DisplayOptions struct { DisplayType string `json:"display_type"` } `json:"display_options"` }
type AnswerSliderComplex ¶
type AnswerSliderComplex struct { AnswerTypeInterface Headings []struct { Heading string `json:"heading"` } `json:"headings"` Position int `json:"position"` Family string `json:"family"` Subtype string `json:"subtype"` DisplayOptions struct { RightLabel string `json:"right_label"` DisplayType string `json:"display_type"` CustomOptions struct { StartingPosition int `json:"starting_position"` StepSize int `json:"step_size"` } `json:"custom_options"` LeftLabel string `json:"left_label"` } `json:"display_options"` Validation struct { SumText string `json:"sum_text"` Min int `json:"min"` Text string `json:"text"` Max int `json:"max"` Type string `json:"type"` } `json:"validation"` }
type AnswerTypeInterface ¶
type AnswerTypeInterface interface { }
type ButtonsText ¶
type CategoryRequest ¶
type CategoryRequest struct { Page int `url:"page,omitempty"` PerPage int `url:"per_page,omitempty"` Language string `url:"language,omitempty"` }
func (CategoryRequest) String ¶
func (u CategoryRequest) String() string
type CollectorRequest ¶
type CollectorRequest struct { Page int `url:"page,omitempty"` PerPage int `url:"per_page,omitempty"` SortBy string `url:"sort_by,omitempty"` SortOrder string `url:"sort_order,omitempty"` Name string `url:"name,omitempty"` StartDate int `url:"start_date,omitempty"` EndDate int `url:"end_date,omitempty"` Include int `url:"include,omitempty"` }
func (CollectorRequest) String ¶
func (u CollectorRequest) String() string
type CreateSurvey ¶
type CreateSurvey struct { Page int `json:"page,omitempty"` PerPage int `json:"per_page,omitempty"` SortBy string `json:"sort_by,omitempty"` //title, date_modified, or num_responses SortOrder string `json:"sort_order,omitempty"` //asc or desc Include int `string:"include,omitempty"` Title string `json:"title,omitempty"` StartModifiedAt string `json:"start_modified_at,omitempty"` //YYYY-MM-DDTHH:MM:S EndModifiedAt string `json:"end_modified_at,omitempty"` //YYYY-MM-DDTHH:MM:S FolderId string `json:"folder_id,omitempty"` }
type ModifySurvey ¶
type PageRequest ¶
func (PageRequest) String ¶
func (u PageRequest) String() string
type QuizOptions ¶
type RandomAssignment ¶
type SurveyHeading ¶
type SurveyHeading struct { Heading string `json:"heading"` Description string `json:"description,omitempty"` Image *Image `json:"image,omitempty"` RandomAssignment *RandomAssignment `json:"random_assignment,omitempty"` }
type SurveyPage ¶
type SurveyQuestion ¶
type SurveyQuestion struct { Heading []*SurveyHeading `json:"headings"` Position int `json:"position,omitempty"` Family string `json:"family"` Subtype string `json:"subtype"` Sorting *Sorting `json:"sorting,omitempty"` Required *Required `json:"required,omitempty"` Validation *Validation `json:"validation,omitempty"` ForcedRanking bool `json:"forced_ranking,omitempty"` QuizOptions *QuizOptions `json:"quiz_options,omitempty"` Answers AnswerTypeInterface `json:"answers"` }
type SurveyRequest ¶
type SurveyRequest struct { Title string `url:"title,omitempty"` Page int `url:"page,omitempty"` PerPage int `url:"per_page,omitempty"` SortBy string `url:"sort_by,omitempty"` SortOrder string `url:"sort_order,omitempty"` Include string `url:"include,omitempty"` StartModifiedAt string `url:"start_modified_at,omitempty"` EndModifiedAt string `url:"end_modified_at,omitempty"` FolderId string `url:"folder_id,omitempty"` }
func (SurveyRequest) String ¶
func (u SurveyRequest) String() string
type SurveyTitle ¶
type SurveyTitle struct {
Title string `json:"title,omitempty"`
}
* This file is subject to the terms and conditions defined in * file 'LICENSE.txt', which is part of this source code package.
type TemplatesRequest ¶
type TemplatesRequest struct { Page int `url:"page,omitempty"` PerPage int `url:"per_page,omitempty"` Language string `url:"language,omitempty"` Category string `url:"category,omitempty"` }
func (TemplatesRequest) String ¶
func (u TemplatesRequest) String() string
Click to show internal directories.
Click to hide internal directories.