Name | Type | Description | Notes |
---|---|---|---|
Active | Pointer to bool | [optional] | |
Question | Pointer to string | [optional] | |
Answers | Pointer to []PollModelV1Answers | [optional] | |
TotalVotes | Pointer to int64 | [optional] |
func NewPollModelV1() *PollModelV1
NewPollModelV1 instantiates a new PollModelV1 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
func NewPollModelV1WithDefaults() *PollModelV1
NewPollModelV1WithDefaults instantiates a new PollModelV1 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
func (o *PollModelV1) GetActive() bool
GetActive returns the Active field if non-nil, zero value otherwise.
func (o *PollModelV1) GetActiveOk() (*bool, bool)
GetActiveOk returns a tuple with the Active field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PollModelV1) SetActive(v bool)
SetActive sets Active field to given value.
func (o *PollModelV1) HasActive() bool
HasActive returns a boolean if a field has been set.
func (o *PollModelV1) GetQuestion() string
GetQuestion returns the Question field if non-nil, zero value otherwise.
func (o *PollModelV1) 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.
func (o *PollModelV1) SetQuestion(v string)
SetQuestion sets Question field to given value.
func (o *PollModelV1) HasQuestion() bool
HasQuestion returns a boolean if a field has been set.
func (o *PollModelV1) GetAnswers() []PollModelV1Answers
GetAnswers returns the Answers field if non-nil, zero value otherwise.
func (o *PollModelV1) GetAnswersOk() (*[]PollModelV1Answers, 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.
func (o *PollModelV1) SetAnswers(v []PollModelV1Answers)
SetAnswers sets Answers field to given value.
func (o *PollModelV1) HasAnswers() bool
HasAnswers returns a boolean if a field has been set.
func (o *PollModelV1) GetTotalVotes() int64
GetTotalVotes returns the TotalVotes field if non-nil, zero value otherwise.
func (o *PollModelV1) GetTotalVotesOk() (*int64, bool)
GetTotalVotesOk returns a tuple with the TotalVotes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PollModelV1) SetTotalVotes(v int64)
SetTotalVotes sets TotalVotes field to given value.
func (o *PollModelV1) HasTotalVotes() bool
HasTotalVotes returns a boolean if a field has been set.