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

6.9 KiB

SchemaGetRevisionResp

Properties

Name Type Description Notes
Content Pointer to map[string]interface{} content parsed [optional]
CreateAt Pointer to int32 [optional]
Id Pointer to string id [optional]
ObjectId Pointer to string object id [optional]
Reason Pointer to string [optional]
Status Pointer to int32 revision status(normal: 1; delete 2) [optional]
Title Pointer to string title [optional]
UseId Pointer to string user id [optional]
UserInfo Pointer to SchemaUserBasicInfo [optional]

Methods

NewSchemaGetRevisionResp

func NewSchemaGetRevisionResp() *SchemaGetRevisionResp

NewSchemaGetRevisionResp instantiates a new SchemaGetRevisionResp 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

NewSchemaGetRevisionRespWithDefaults

func NewSchemaGetRevisionRespWithDefaults() *SchemaGetRevisionResp

NewSchemaGetRevisionRespWithDefaults instantiates a new SchemaGetRevisionResp 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

GetContent

func (o *SchemaGetRevisionResp) GetContent() map[string]interface{}

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

GetContentOk

func (o *SchemaGetRevisionResp) GetContentOk() (*map[string]interface{}, 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 *SchemaGetRevisionResp) SetContent(v map[string]interface{})

SetContent sets Content field to given value.

HasContent

func (o *SchemaGetRevisionResp) HasContent() bool

HasContent returns a boolean if a field has been set.

GetCreateAt

func (o *SchemaGetRevisionResp) GetCreateAt() int32

GetCreateAt returns the CreateAt field if non-nil, zero value otherwise.

GetCreateAtOk

func (o *SchemaGetRevisionResp) GetCreateAtOk() (*int32, bool)

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

SetCreateAt

func (o *SchemaGetRevisionResp) SetCreateAt(v int32)

SetCreateAt sets CreateAt field to given value.

HasCreateAt

func (o *SchemaGetRevisionResp) HasCreateAt() bool

HasCreateAt returns a boolean if a field has been set.

GetId

func (o *SchemaGetRevisionResp) GetId() string

GetId returns the Id field if non-nil, zero value otherwise.

GetIdOk

func (o *SchemaGetRevisionResp) GetIdOk() (*string, bool)

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

SetId

func (o *SchemaGetRevisionResp) SetId(v string)

SetId sets Id field to given value.

HasId

func (o *SchemaGetRevisionResp) HasId() bool

HasId returns a boolean if a field has been set.

GetObjectId

func (o *SchemaGetRevisionResp) GetObjectId() string

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

GetObjectIdOk

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

SetObjectId sets ObjectId field to given value.

HasObjectId

func (o *SchemaGetRevisionResp) HasObjectId() bool

HasObjectId returns a boolean if a field has been set.

GetReason

func (o *SchemaGetRevisionResp) GetReason() string

GetReason returns the Reason field if non-nil, zero value otherwise.

GetReasonOk

func (o *SchemaGetRevisionResp) GetReasonOk() (*string, bool)

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

SetReason

func (o *SchemaGetRevisionResp) SetReason(v string)

SetReason sets Reason field to given value.

HasReason

func (o *SchemaGetRevisionResp) HasReason() bool

HasReason returns a boolean if a field has been set.

GetStatus

func (o *SchemaGetRevisionResp) GetStatus() int32

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

GetStatusOk

func (o *SchemaGetRevisionResp) GetStatusOk() (*int32, 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 *SchemaGetRevisionResp) SetStatus(v int32)

SetStatus sets Status field to given value.

HasStatus

func (o *SchemaGetRevisionResp) HasStatus() bool

HasStatus returns a boolean if a field has been set.

GetTitle

func (o *SchemaGetRevisionResp) GetTitle() string

GetTitle returns the Title field if non-nil, zero value otherwise.

GetTitleOk

func (o *SchemaGetRevisionResp) 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 *SchemaGetRevisionResp) SetTitle(v string)

SetTitle sets Title field to given value.

HasTitle

func (o *SchemaGetRevisionResp) HasTitle() bool

HasTitle returns a boolean if a field has been set.

GetUseId

func (o *SchemaGetRevisionResp) GetUseId() string

GetUseId returns the UseId field if non-nil, zero value otherwise.

GetUseIdOk

func (o *SchemaGetRevisionResp) GetUseIdOk() (*string, bool)

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

SetUseId

func (o *SchemaGetRevisionResp) SetUseId(v string)

SetUseId sets UseId field to given value.

HasUseId

func (o *SchemaGetRevisionResp) HasUseId() bool

HasUseId returns a boolean if a field has been set.

GetUserInfo

func (o *SchemaGetRevisionResp) GetUserInfo() SchemaUserBasicInfo

GetUserInfo returns the UserInfo field if non-nil, zero value otherwise.

GetUserInfoOk

func (o *SchemaGetRevisionResp) GetUserInfoOk() (*SchemaUserBasicInfo, bool)

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

SetUserInfo

func (o *SchemaGetRevisionResp) SetUserInfo(v SchemaUserBasicInfo)

SetUserInfo sets UserInfo field to given value.

HasUserInfo

func (o *SchemaGetRevisionResp) HasUserInfo() bool

HasUserInfo returns a boolean if a field has been set.

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