Files
openapi-go-answer/docs/SchemaAdminSetQuestionStatusRequest.md
2023-08-18 10:03:31 +08:00

2.6 KiB

SchemaAdminSetQuestionStatusRequest

Properties

Name Type Description Notes
QuestionId Pointer to string [optional]
Status Pointer to string [optional]

Methods

NewSchemaAdminSetQuestionStatusRequest

func NewSchemaAdminSetQuestionStatusRequest() *SchemaAdminSetQuestionStatusRequest

NewSchemaAdminSetQuestionStatusRequest instantiates a new SchemaAdminSetQuestionStatusRequest 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

NewSchemaAdminSetQuestionStatusRequestWithDefaults

func NewSchemaAdminSetQuestionStatusRequestWithDefaults() *SchemaAdminSetQuestionStatusRequest

NewSchemaAdminSetQuestionStatusRequestWithDefaults instantiates a new SchemaAdminSetQuestionStatusRequest 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

GetQuestionId

func (o *SchemaAdminSetQuestionStatusRequest) GetQuestionId() string

GetQuestionId returns the QuestionId field if non-nil, zero value otherwise.

GetQuestionIdOk

func (o *SchemaAdminSetQuestionStatusRequest) 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 *SchemaAdminSetQuestionStatusRequest) SetQuestionId(v string)

SetQuestionId sets QuestionId field to given value.

HasQuestionId

func (o *SchemaAdminSetQuestionStatusRequest) HasQuestionId() bool

HasQuestionId returns a boolean if a field has been set.

GetStatus

func (o *SchemaAdminSetQuestionStatusRequest) GetStatus() string

GetStatus returns the Status field if non-nil, zero value otherwise.

GetStatusOk

func (o *SchemaAdminSetQuestionStatusRequest) GetStatusOk() (*string, bool)

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

SetStatus

func (o *SchemaAdminSetQuestionStatusRequest) SetStatus(v string)

SetStatus sets Status field to given value.

HasStatus

func (o *SchemaAdminSetQuestionStatusRequest) HasStatus() bool

HasStatus returns a boolean if a field has been set.

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