2.2 KiB
SchemaAcceptAnswerReq
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| AnswerId | Pointer to string | [optional] | |
| QuestionId | string |
Methods
NewSchemaAcceptAnswerReq
func NewSchemaAcceptAnswerReq(questionId string, ) *SchemaAcceptAnswerReq
NewSchemaAcceptAnswerReq instantiates a new SchemaAcceptAnswerReq 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
NewSchemaAcceptAnswerReqWithDefaults
func NewSchemaAcceptAnswerReqWithDefaults() *SchemaAcceptAnswerReq
NewSchemaAcceptAnswerReqWithDefaults instantiates a new SchemaAcceptAnswerReq 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 *SchemaAcceptAnswerReq) GetAnswerId() string
GetAnswerId returns the AnswerId field if non-nil, zero value otherwise.
GetAnswerIdOk
func (o *SchemaAcceptAnswerReq) 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 *SchemaAcceptAnswerReq) SetAnswerId(v string)
SetAnswerId sets AnswerId field to given value.
HasAnswerId
func (o *SchemaAcceptAnswerReq) HasAnswerId() bool
HasAnswerId returns a boolean if a field has been set.
GetQuestionId
func (o *SchemaAcceptAnswerReq) GetQuestionId() string
GetQuestionId returns the QuestionId field if non-nil, zero value otherwise.
GetQuestionIdOk
func (o *SchemaAcceptAnswerReq) 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 *SchemaAcceptAnswerReq) SetQuestionId(v string)
SetQuestionId sets QuestionId field to given value.