Files
openapi-go-answer/docs/SchemaAddReportReq.md
2023-08-22 10:37:28 +08:00

4.1 KiB

SchemaAddReportReq

Properties

Name Type Description Notes
CaptchaCode Pointer to string [optional]
CaptchaId Pointer to string captcha_id [optional]
Content Pointer to string report content [optional]
ObjectId string object id
ReportType int32 report type

Methods

NewSchemaAddReportReq

func NewSchemaAddReportReq(objectId string, reportType int32, ) *SchemaAddReportReq

NewSchemaAddReportReq instantiates a new SchemaAddReportReq 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

NewSchemaAddReportReqWithDefaults

func NewSchemaAddReportReqWithDefaults() *SchemaAddReportReq

NewSchemaAddReportReqWithDefaults instantiates a new SchemaAddReportReq 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

GetCaptchaCode

func (o *SchemaAddReportReq) GetCaptchaCode() string

GetCaptchaCode returns the CaptchaCode field if non-nil, zero value otherwise.

GetCaptchaCodeOk

func (o *SchemaAddReportReq) GetCaptchaCodeOk() (*string, bool)

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

SetCaptchaCode

func (o *SchemaAddReportReq) SetCaptchaCode(v string)

SetCaptchaCode sets CaptchaCode field to given value.

HasCaptchaCode

func (o *SchemaAddReportReq) HasCaptchaCode() bool

HasCaptchaCode returns a boolean if a field has been set.

GetCaptchaId

func (o *SchemaAddReportReq) GetCaptchaId() string

GetCaptchaId returns the CaptchaId field if non-nil, zero value otherwise.

GetCaptchaIdOk

func (o *SchemaAddReportReq) GetCaptchaIdOk() (*string, bool)

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

SetCaptchaId

func (o *SchemaAddReportReq) SetCaptchaId(v string)

SetCaptchaId sets CaptchaId field to given value.

HasCaptchaId

func (o *SchemaAddReportReq) HasCaptchaId() bool

HasCaptchaId returns a boolean if a field has been set.

GetContent

func (o *SchemaAddReportReq) GetContent() string

GetContent returns the Content field if non-nil, zero value otherwise.

GetContentOk

func (o *SchemaAddReportReq) 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 *SchemaAddReportReq) SetContent(v string)

SetContent sets Content field to given value.

HasContent

func (o *SchemaAddReportReq) HasContent() bool

HasContent returns a boolean if a field has been set.

GetObjectId

func (o *SchemaAddReportReq) GetObjectId() string

GetObjectId returns the ObjectId field if non-nil, zero value otherwise.

GetObjectIdOk

func (o *SchemaAddReportReq) 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 *SchemaAddReportReq) SetObjectId(v string)

SetObjectId sets ObjectId field to given value.

GetReportType

func (o *SchemaAddReportReq) GetReportType() int32

GetReportType returns the ReportType field if non-nil, zero value otherwise.

GetReportTypeOk

func (o *SchemaAddReportReq) GetReportTypeOk() (*int32, bool)

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

SetReportType

func (o *SchemaAddReportReq) SetReportType(v int32)

SetReportType sets ReportType field to given value.

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