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

4.1 KiB

SchemaSiteGeneralReq

Properties

Name Type Description Notes
ContactEmail string
Description Pointer to string [optional]
Name string
ShortDescription Pointer to string [optional]
SiteUrl string

Methods

NewSchemaSiteGeneralReq

func NewSchemaSiteGeneralReq(contactEmail string, name string, siteUrl string, ) *SchemaSiteGeneralReq

NewSchemaSiteGeneralReq instantiates a new SchemaSiteGeneralReq 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

NewSchemaSiteGeneralReqWithDefaults

func NewSchemaSiteGeneralReqWithDefaults() *SchemaSiteGeneralReq

NewSchemaSiteGeneralReqWithDefaults instantiates a new SchemaSiteGeneralReq 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

GetContactEmail

func (o *SchemaSiteGeneralReq) GetContactEmail() string

GetContactEmail returns the ContactEmail field if non-nil, zero value otherwise.

GetContactEmailOk

func (o *SchemaSiteGeneralReq) GetContactEmailOk() (*string, bool)

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

SetContactEmail

func (o *SchemaSiteGeneralReq) SetContactEmail(v string)

SetContactEmail sets ContactEmail field to given value.

GetDescription

func (o *SchemaSiteGeneralReq) GetDescription() string

GetDescription returns the Description field if non-nil, zero value otherwise.

GetDescriptionOk

func (o *SchemaSiteGeneralReq) GetDescriptionOk() (*string, bool)

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

SetDescription

func (o *SchemaSiteGeneralReq) SetDescription(v string)

SetDescription sets Description field to given value.

HasDescription

func (o *SchemaSiteGeneralReq) HasDescription() bool

HasDescription returns a boolean if a field has been set.

GetName

func (o *SchemaSiteGeneralReq) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

func (o *SchemaSiteGeneralReq) GetNameOk() (*string, bool)

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

SetName

func (o *SchemaSiteGeneralReq) SetName(v string)

SetName sets Name field to given value.

GetShortDescription

func (o *SchemaSiteGeneralReq) GetShortDescription() string

GetShortDescription returns the ShortDescription field if non-nil, zero value otherwise.

GetShortDescriptionOk

func (o *SchemaSiteGeneralReq) GetShortDescriptionOk() (*string, bool)

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

SetShortDescription

func (o *SchemaSiteGeneralReq) SetShortDescription(v string)

SetShortDescription sets ShortDescription field to given value.

HasShortDescription

func (o *SchemaSiteGeneralReq) HasShortDescription() bool

HasShortDescription returns a boolean if a field has been set.

GetSiteUrl

func (o *SchemaSiteGeneralReq) GetSiteUrl() string

GetSiteUrl returns the SiteUrl field if non-nil, zero value otherwise.

GetSiteUrlOk

func (o *SchemaSiteGeneralReq) GetSiteUrlOk() (*string, bool)

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

SetSiteUrl

func (o *SchemaSiteGeneralReq) SetSiteUrl(v string)

SetSiteUrl sets SiteUrl field to given value.

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