Skip to content

Latest commit

 

History

History
82 lines (45 loc) · 2.36 KB

PollModelUpdateV1.md

File metadata and controls

82 lines (45 loc) · 2.36 KB

PollModelUpdateV1

Properties

Name Type Description Notes
Question Pointer to string [optional]
Answers Pointer to []PollModelUpdateV1Answers [optional]

Methods

NewPollModelUpdateV1

func NewPollModelUpdateV1() *PollModelUpdateV1

NewPollModelUpdateV1 instantiates a new PollModelUpdateV1 object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

NewPollModelUpdateV1WithDefaults

func NewPollModelUpdateV1WithDefaults() *PollModelUpdateV1

NewPollModelUpdateV1WithDefaults instantiates a new PollModelUpdateV1 object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

GetQuestion

func (o *PollModelUpdateV1) GetQuestion() string

GetQuestion returns the Question field if non-nil, zero value otherwise.

GetQuestionOk

func (o *PollModelUpdateV1) GetQuestionOk() (*string, bool)

GetQuestionOk returns a tuple with the Question field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetQuestion

func (o *PollModelUpdateV1) SetQuestion(v string)

SetQuestion sets Question field to given value.

HasQuestion

func (o *PollModelUpdateV1) HasQuestion() bool

HasQuestion returns a boolean if a field has been set.

GetAnswers

func (o *PollModelUpdateV1) GetAnswers() []PollModelUpdateV1Answers

GetAnswers returns the Answers field if non-nil, zero value otherwise.

GetAnswersOk

func (o *PollModelUpdateV1) GetAnswersOk() (*[]PollModelUpdateV1Answers, bool)

GetAnswersOk returns a tuple with the Answers field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetAnswers

func (o *PollModelUpdateV1) SetAnswers(v []PollModelUpdateV1Answers)

SetAnswers sets Answers field to given value.

HasAnswers

func (o *PollModelUpdateV1) HasAnswers() bool

HasAnswers returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]