Skip to content

Site

Properties

Name Type Description Notes
Id Pointer to string site id [optional]
Name Pointer to string site name [optional]
Type Pointer to int32 site type. 0:advanced ; 1:pro [optional]

Methods

NewSite

func NewSite() *Site

NewSite instantiates a new Site 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

NewSiteWithDefaults

func NewSiteWithDefaults() *Site

NewSiteWithDefaults instantiates a new Site 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

GetId

func (o *Site) GetId() string

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

GetIdOk

func (o *Site) 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 *Site) SetId(v string)

SetId sets Id field to given value.

HasId

func (o *Site) HasId() bool

HasId returns a boolean if a field has been set.

GetName

func (o *Site) GetName() string

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

GetNameOk

func (o *Site) 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 *Site) SetName(v string)

SetName sets Name field to given value.

HasName

func (o *Site) HasName() bool

HasName returns a boolean if a field has been set.

GetType

func (o *Site) GetType() int32

GetType returns the Type field if non-nil, zero value otherwise.

GetTypeOk

func (o *Site) GetTypeOk() (*int32, bool)

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

SetType

func (o *Site) SetType(v int32)

SetType sets Type field to given value.

HasType

func (o *Site) HasType() bool

HasType returns a boolean if a field has been set.

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