Skip to content

Latest commit

 

History

History
161 lines (86 loc) · 3.72 KB

Tenant.md

File metadata and controls

161 lines (86 loc) · 3.72 KB

Tenant

Properties

Name Type Description Notes
Id int32 [readonly]
Url string [readonly]
Display string [readonly]
Name string
Slug string
Description Pointer to string [optional]

Methods

NewTenant

func NewTenant(id int32, url string, display string, name string, slug string, ) *Tenant

NewTenant instantiates a new Tenant 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

NewTenantWithDefaults

func NewTenantWithDefaults() *Tenant

NewTenantWithDefaults instantiates a new Tenant 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 *Tenant) GetId() int32

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

GetIdOk

func (o *Tenant) GetIdOk() (*int32, 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 *Tenant) SetId(v int32)

SetId sets Id field to given value.

GetUrl

func (o *Tenant) GetUrl() string

GetUrl returns the Url field if non-nil, zero value otherwise.

GetUrlOk

func (o *Tenant) GetUrlOk() (*string, bool)

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

SetUrl

func (o *Tenant) SetUrl(v string)

SetUrl sets Url field to given value.

GetDisplay

func (o *Tenant) GetDisplay() string

GetDisplay returns the Display field if non-nil, zero value otherwise.

GetDisplayOk

func (o *Tenant) GetDisplayOk() (*string, bool)

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

SetDisplay

func (o *Tenant) SetDisplay(v string)

SetDisplay sets Display field to given value.

GetName

func (o *Tenant) GetName() string

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

GetNameOk

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

SetName sets Name field to given value.

GetSlug

func (o *Tenant) GetSlug() string

GetSlug returns the Slug field if non-nil, zero value otherwise.

GetSlugOk

func (o *Tenant) GetSlugOk() (*string, bool)

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

SetSlug

func (o *Tenant) SetSlug(v string)

SetSlug sets Slug field to given value.

GetDescription

func (o *Tenant) GetDescription() string

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

GetDescriptionOk

func (o *Tenant) 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 *Tenant) SetDescription(v string)

SetDescription sets Description field to given value.

HasDescription

func (o *Tenant) HasDescription() bool

HasDescription returns a boolean if a field has been set.

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