7.3 KiB
SchemaGetVoteWithPageResp
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| AnswerId | Pointer to string | answer id | [optional] |
| Content | Pointer to string | content | [optional] |
| CreatedAt | Pointer to int32 | create time | [optional] |
| ObjectId | Pointer to string | object id | [optional] |
| ObjectType | Pointer to string | object type | [optional] |
| QuestionId | Pointer to string | question id | [optional] |
| Title | Pointer to string | title | [optional] |
| UrlTitle | Pointer to string | url title | [optional] |
| VoteType | Pointer to string | vote type | [optional] |
Methods
NewSchemaGetVoteWithPageResp
func NewSchemaGetVoteWithPageResp() *SchemaGetVoteWithPageResp
NewSchemaGetVoteWithPageResp instantiates a new SchemaGetVoteWithPageResp 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
NewSchemaGetVoteWithPageRespWithDefaults
func NewSchemaGetVoteWithPageRespWithDefaults() *SchemaGetVoteWithPageResp
NewSchemaGetVoteWithPageRespWithDefaults instantiates a new SchemaGetVoteWithPageResp 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
GetAnswerId
func (o *SchemaGetVoteWithPageResp) GetAnswerId() string
GetAnswerId returns the AnswerId field if non-nil, zero value otherwise.
GetAnswerIdOk
func (o *SchemaGetVoteWithPageResp) GetAnswerIdOk() (*string, bool)
GetAnswerIdOk returns a tuple with the AnswerId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetAnswerId
func (o *SchemaGetVoteWithPageResp) SetAnswerId(v string)
SetAnswerId sets AnswerId field to given value.
HasAnswerId
func (o *SchemaGetVoteWithPageResp) HasAnswerId() bool
HasAnswerId returns a boolean if a field has been set.
GetContent
func (o *SchemaGetVoteWithPageResp) GetContent() string
GetContent returns the Content field if non-nil, zero value otherwise.
GetContentOk
func (o *SchemaGetVoteWithPageResp) GetContentOk() (*string, bool)
GetContentOk returns a tuple with the Content field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetContent
func (o *SchemaGetVoteWithPageResp) SetContent(v string)
SetContent sets Content field to given value.
HasContent
func (o *SchemaGetVoteWithPageResp) HasContent() bool
HasContent returns a boolean if a field has been set.
GetCreatedAt
func (o *SchemaGetVoteWithPageResp) GetCreatedAt() int32
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
GetCreatedAtOk
func (o *SchemaGetVoteWithPageResp) GetCreatedAtOk() (*int32, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetCreatedAt
func (o *SchemaGetVoteWithPageResp) SetCreatedAt(v int32)
SetCreatedAt sets CreatedAt field to given value.
HasCreatedAt
func (o *SchemaGetVoteWithPageResp) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
GetObjectId
func (o *SchemaGetVoteWithPageResp) GetObjectId() string
GetObjectId returns the ObjectId field if non-nil, zero value otherwise.
GetObjectIdOk
func (o *SchemaGetVoteWithPageResp) GetObjectIdOk() (*string, bool)
GetObjectIdOk returns a tuple with the ObjectId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetObjectId
func (o *SchemaGetVoteWithPageResp) SetObjectId(v string)
SetObjectId sets ObjectId field to given value.
HasObjectId
func (o *SchemaGetVoteWithPageResp) HasObjectId() bool
HasObjectId returns a boolean if a field has been set.
GetObjectType
func (o *SchemaGetVoteWithPageResp) GetObjectType() string
GetObjectType returns the ObjectType field if non-nil, zero value otherwise.
GetObjectTypeOk
func (o *SchemaGetVoteWithPageResp) GetObjectTypeOk() (*string, bool)
GetObjectTypeOk returns a tuple with the ObjectType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetObjectType
func (o *SchemaGetVoteWithPageResp) SetObjectType(v string)
SetObjectType sets ObjectType field to given value.
HasObjectType
func (o *SchemaGetVoteWithPageResp) HasObjectType() bool
HasObjectType returns a boolean if a field has been set.
GetQuestionId
func (o *SchemaGetVoteWithPageResp) GetQuestionId() string
GetQuestionId returns the QuestionId field if non-nil, zero value otherwise.
GetQuestionIdOk
func (o *SchemaGetVoteWithPageResp) GetQuestionIdOk() (*string, bool)
GetQuestionIdOk returns a tuple with the QuestionId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetQuestionId
func (o *SchemaGetVoteWithPageResp) SetQuestionId(v string)
SetQuestionId sets QuestionId field to given value.
HasQuestionId
func (o *SchemaGetVoteWithPageResp) HasQuestionId() bool
HasQuestionId returns a boolean if a field has been set.
GetTitle
func (o *SchemaGetVoteWithPageResp) GetTitle() string
GetTitle returns the Title field if non-nil, zero value otherwise.
GetTitleOk
func (o *SchemaGetVoteWithPageResp) GetTitleOk() (*string, bool)
GetTitleOk returns a tuple with the Title field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetTitle
func (o *SchemaGetVoteWithPageResp) SetTitle(v string)
SetTitle sets Title field to given value.
HasTitle
func (o *SchemaGetVoteWithPageResp) HasTitle() bool
HasTitle returns a boolean if a field has been set.
GetUrlTitle
func (o *SchemaGetVoteWithPageResp) GetUrlTitle() string
GetUrlTitle returns the UrlTitle field if non-nil, zero value otherwise.
GetUrlTitleOk
func (o *SchemaGetVoteWithPageResp) GetUrlTitleOk() (*string, bool)
GetUrlTitleOk returns a tuple with the UrlTitle field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetUrlTitle
func (o *SchemaGetVoteWithPageResp) SetUrlTitle(v string)
SetUrlTitle sets UrlTitle field to given value.
HasUrlTitle
func (o *SchemaGetVoteWithPageResp) HasUrlTitle() bool
HasUrlTitle returns a boolean if a field has been set.
GetVoteType
func (o *SchemaGetVoteWithPageResp) GetVoteType() string
GetVoteType returns the VoteType field if non-nil, zero value otherwise.
GetVoteTypeOk
func (o *SchemaGetVoteWithPageResp) GetVoteTypeOk() (*string, bool)
GetVoteTypeOk returns a tuple with the VoteType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetVoteType
func (o *SchemaGetVoteWithPageResp) SetVoteType(v string)
SetVoteType sets VoteType field to given value.
HasVoteType
func (o *SchemaGetVoteWithPageResp) HasVoteType() bool
HasVoteType returns a boolean if a field has been set.