3.5 KiB
SchemaVoteResp
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| DownVotes | Pointer to int32 | [optional] | |
| UpVotes | Pointer to int32 | [optional] | |
| VoteStatus | Pointer to string | [optional] | |
| Votes | Pointer to int32 | [optional] |
Methods
NewSchemaVoteResp
func NewSchemaVoteResp() *SchemaVoteResp
NewSchemaVoteResp instantiates a new SchemaVoteResp 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
NewSchemaVoteRespWithDefaults
func NewSchemaVoteRespWithDefaults() *SchemaVoteResp
NewSchemaVoteRespWithDefaults instantiates a new SchemaVoteResp 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
GetDownVotes
func (o *SchemaVoteResp) GetDownVotes() int32
GetDownVotes returns the DownVotes field if non-nil, zero value otherwise.
GetDownVotesOk
func (o *SchemaVoteResp) GetDownVotesOk() (*int32, bool)
GetDownVotesOk returns a tuple with the DownVotes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetDownVotes
func (o *SchemaVoteResp) SetDownVotes(v int32)
SetDownVotes sets DownVotes field to given value.
HasDownVotes
func (o *SchemaVoteResp) HasDownVotes() bool
HasDownVotes returns a boolean if a field has been set.
GetUpVotes
func (o *SchemaVoteResp) GetUpVotes() int32
GetUpVotes returns the UpVotes field if non-nil, zero value otherwise.
GetUpVotesOk
func (o *SchemaVoteResp) GetUpVotesOk() (*int32, bool)
GetUpVotesOk returns a tuple with the UpVotes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetUpVotes
func (o *SchemaVoteResp) SetUpVotes(v int32)
SetUpVotes sets UpVotes field to given value.
HasUpVotes
func (o *SchemaVoteResp) HasUpVotes() bool
HasUpVotes returns a boolean if a field has been set.
GetVoteStatus
func (o *SchemaVoteResp) GetVoteStatus() string
GetVoteStatus returns the VoteStatus field if non-nil, zero value otherwise.
GetVoteStatusOk
func (o *SchemaVoteResp) GetVoteStatusOk() (*string, bool)
GetVoteStatusOk returns a tuple with the VoteStatus field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetVoteStatus
func (o *SchemaVoteResp) SetVoteStatus(v string)
SetVoteStatus sets VoteStatus field to given value.
HasVoteStatus
func (o *SchemaVoteResp) HasVoteStatus() bool
HasVoteStatus returns a boolean if a field has been set.
GetVotes
func (o *SchemaVoteResp) GetVotes() int32
GetVotes returns the Votes field if non-nil, zero value otherwise.
GetVotesOk
func (o *SchemaVoteResp) GetVotesOk() (*int32, bool)
GetVotesOk returns a tuple with the Votes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetVotes
func (o *SchemaVoteResp) SetVotes(v int32)
SetVotes sets Votes field to given value.
HasVotes
func (o *SchemaVoteResp) HasVotes() bool
HasVotes returns a boolean if a field has been set.