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

7.2 KiB

SchemaSiteUsersReq

Properties

Name Type Description Notes
AllowUpdateAvatar Pointer to bool [optional]
AllowUpdateBio Pointer to bool [optional]
AllowUpdateDisplayName Pointer to bool [optional]
AllowUpdateLocation Pointer to bool [optional]
AllowUpdateUsername Pointer to bool [optional]
AllowUpdateWebsite Pointer to bool [optional]
DefaultAvatar string
GravatarBaseUrl Pointer to string [optional]

Methods

NewSchemaSiteUsersReq

func NewSchemaSiteUsersReq(defaultAvatar string, ) *SchemaSiteUsersReq

NewSchemaSiteUsersReq instantiates a new SchemaSiteUsersReq 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

NewSchemaSiteUsersReqWithDefaults

func NewSchemaSiteUsersReqWithDefaults() *SchemaSiteUsersReq

NewSchemaSiteUsersReqWithDefaults instantiates a new SchemaSiteUsersReq 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

GetAllowUpdateAvatar

func (o *SchemaSiteUsersReq) GetAllowUpdateAvatar() bool

GetAllowUpdateAvatar returns the AllowUpdateAvatar field if non-nil, zero value otherwise.

GetAllowUpdateAvatarOk

func (o *SchemaSiteUsersReq) GetAllowUpdateAvatarOk() (*bool, bool)

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

SetAllowUpdateAvatar

func (o *SchemaSiteUsersReq) SetAllowUpdateAvatar(v bool)

SetAllowUpdateAvatar sets AllowUpdateAvatar field to given value.

HasAllowUpdateAvatar

func (o *SchemaSiteUsersReq) HasAllowUpdateAvatar() bool

HasAllowUpdateAvatar returns a boolean if a field has been set.

GetAllowUpdateBio

func (o *SchemaSiteUsersReq) GetAllowUpdateBio() bool

GetAllowUpdateBio returns the AllowUpdateBio field if non-nil, zero value otherwise.

GetAllowUpdateBioOk

func (o *SchemaSiteUsersReq) GetAllowUpdateBioOk() (*bool, bool)

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

SetAllowUpdateBio

func (o *SchemaSiteUsersReq) SetAllowUpdateBio(v bool)

SetAllowUpdateBio sets AllowUpdateBio field to given value.

HasAllowUpdateBio

func (o *SchemaSiteUsersReq) HasAllowUpdateBio() bool

HasAllowUpdateBio returns a boolean if a field has been set.

GetAllowUpdateDisplayName

func (o *SchemaSiteUsersReq) GetAllowUpdateDisplayName() bool

GetAllowUpdateDisplayName returns the AllowUpdateDisplayName field if non-nil, zero value otherwise.

GetAllowUpdateDisplayNameOk

func (o *SchemaSiteUsersReq) GetAllowUpdateDisplayNameOk() (*bool, bool)

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

SetAllowUpdateDisplayName

func (o *SchemaSiteUsersReq) SetAllowUpdateDisplayName(v bool)

SetAllowUpdateDisplayName sets AllowUpdateDisplayName field to given value.

HasAllowUpdateDisplayName

func (o *SchemaSiteUsersReq) HasAllowUpdateDisplayName() bool

HasAllowUpdateDisplayName returns a boolean if a field has been set.

GetAllowUpdateLocation

func (o *SchemaSiteUsersReq) GetAllowUpdateLocation() bool

GetAllowUpdateLocation returns the AllowUpdateLocation field if non-nil, zero value otherwise.

GetAllowUpdateLocationOk

func (o *SchemaSiteUsersReq) GetAllowUpdateLocationOk() (*bool, bool)

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

SetAllowUpdateLocation

func (o *SchemaSiteUsersReq) SetAllowUpdateLocation(v bool)

SetAllowUpdateLocation sets AllowUpdateLocation field to given value.

HasAllowUpdateLocation

func (o *SchemaSiteUsersReq) HasAllowUpdateLocation() bool

HasAllowUpdateLocation returns a boolean if a field has been set.

GetAllowUpdateUsername

func (o *SchemaSiteUsersReq) GetAllowUpdateUsername() bool

GetAllowUpdateUsername returns the AllowUpdateUsername field if non-nil, zero value otherwise.

GetAllowUpdateUsernameOk

func (o *SchemaSiteUsersReq) GetAllowUpdateUsernameOk() (*bool, bool)

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

SetAllowUpdateUsername

func (o *SchemaSiteUsersReq) SetAllowUpdateUsername(v bool)

SetAllowUpdateUsername sets AllowUpdateUsername field to given value.

HasAllowUpdateUsername

func (o *SchemaSiteUsersReq) HasAllowUpdateUsername() bool

HasAllowUpdateUsername returns a boolean if a field has been set.

GetAllowUpdateWebsite

func (o *SchemaSiteUsersReq) GetAllowUpdateWebsite() bool

GetAllowUpdateWebsite returns the AllowUpdateWebsite field if non-nil, zero value otherwise.

GetAllowUpdateWebsiteOk

func (o *SchemaSiteUsersReq) GetAllowUpdateWebsiteOk() (*bool, bool)

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

SetAllowUpdateWebsite

func (o *SchemaSiteUsersReq) SetAllowUpdateWebsite(v bool)

SetAllowUpdateWebsite sets AllowUpdateWebsite field to given value.

HasAllowUpdateWebsite

func (o *SchemaSiteUsersReq) HasAllowUpdateWebsite() bool

HasAllowUpdateWebsite returns a boolean if a field has been set.

GetDefaultAvatar

func (o *SchemaSiteUsersReq) GetDefaultAvatar() string

GetDefaultAvatar returns the DefaultAvatar field if non-nil, zero value otherwise.

GetDefaultAvatarOk

func (o *SchemaSiteUsersReq) GetDefaultAvatarOk() (*string, bool)

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

SetDefaultAvatar

func (o *SchemaSiteUsersReq) SetDefaultAvatar(v string)

SetDefaultAvatar sets DefaultAvatar field to given value.

GetGravatarBaseUrl

func (o *SchemaSiteUsersReq) GetGravatarBaseUrl() string

GetGravatarBaseUrl returns the GravatarBaseUrl field if non-nil, zero value otherwise.

GetGravatarBaseUrlOk

func (o *SchemaSiteUsersReq) GetGravatarBaseUrlOk() (*string, bool)

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

SetGravatarBaseUrl

func (o *SchemaSiteUsersReq) SetGravatarBaseUrl(v string)

SetGravatarBaseUrl sets GravatarBaseUrl field to given value.

HasGravatarBaseUrl

func (o *SchemaSiteUsersReq) HasGravatarBaseUrl() bool

HasGravatarBaseUrl returns a boolean if a field has been set.

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