Skip to content

Latest commit

 

History

History
135 lines (72 loc) · 3.26 KB

ContentType.md

File metadata and controls

135 lines (72 loc) · 3.26 KB

ContentType

Properties

Name Type Description Notes
Id int32 [readonly]
Url string [readonly]
Display string [readonly]
AppLabel string
Model string

Methods

NewContentType

func NewContentType(id int32, url string, display string, appLabel string, model string, ) *ContentType

NewContentType instantiates a new ContentType 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

NewContentTypeWithDefaults

func NewContentTypeWithDefaults() *ContentType

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

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

GetIdOk

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

SetId sets Id field to given value.

GetUrl

func (o *ContentType) GetUrl() string

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

GetUrlOk

func (o *ContentType) 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 *ContentType) SetUrl(v string)

SetUrl sets Url field to given value.

GetDisplay

func (o *ContentType) GetDisplay() string

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

GetDisplayOk

func (o *ContentType) 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 *ContentType) SetDisplay(v string)

SetDisplay sets Display field to given value.

GetAppLabel

func (o *ContentType) GetAppLabel() string

GetAppLabel returns the AppLabel field if non-nil, zero value otherwise.

GetAppLabelOk

func (o *ContentType) GetAppLabelOk() (*string, bool)

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

SetAppLabel

func (o *ContentType) SetAppLabel(v string)

SetAppLabel sets AppLabel field to given value.

GetModel

func (o *ContentType) GetModel() string

GetModel returns the Model field if non-nil, zero value otherwise.

GetModelOk

func (o *ContentType) GetModelOk() (*string, bool)

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

SetModel

func (o *ContentType) SetModel(v string)

SetModel sets Model field to given value.

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