Skip to content

Latest commit

 

History

History
208 lines (111 loc) · 5 KB

Bookmark.md

File metadata and controls

208 lines (111 loc) · 5 KB

Bookmark

Properties

Name Type Description Notes
Id int32 [readonly]
Url string [readonly]
Display string [readonly]
ObjectType string
ObjectId int64
Object interface{} [readonly]
User NestedUser
Created time.Time [readonly]

Methods

NewBookmark

func NewBookmark(id int32, url string, display string, objectType string, objectId int64, object interface{}, user NestedUser, created time.Time, ) *Bookmark

NewBookmark instantiates a new Bookmark 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

NewBookmarkWithDefaults

func NewBookmarkWithDefaults() *Bookmark

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

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

GetIdOk

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

SetId sets Id field to given value.

GetUrl

func (o *Bookmark) GetUrl() string

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

GetUrlOk

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

SetUrl sets Url field to given value.

GetDisplay

func (o *Bookmark) GetDisplay() string

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

GetDisplayOk

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

SetDisplay sets Display field to given value.

GetObjectType

func (o *Bookmark) GetObjectType() string

GetObjectType returns the ObjectType field if non-nil, zero value otherwise.

GetObjectTypeOk

func (o *Bookmark) GetObjectTypeOk() (*string, bool)

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

SetObjectType

func (o *Bookmark) SetObjectType(v string)

SetObjectType sets ObjectType field to given value.

GetObjectId

func (o *Bookmark) GetObjectId() int64

GetObjectId returns the ObjectId field if non-nil, zero value otherwise.

GetObjectIdOk

func (o *Bookmark) GetObjectIdOk() (*int64, bool)

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

SetObjectId

func (o *Bookmark) SetObjectId(v int64)

SetObjectId sets ObjectId field to given value.

GetObject

func (o *Bookmark) GetObject() interface{}

GetObject returns the Object field if non-nil, zero value otherwise.

GetObjectOk

func (o *Bookmark) GetObjectOk() (*interface{}, bool)

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

SetObject

func (o *Bookmark) SetObject(v interface{})

SetObject sets Object field to given value.

SetObjectNil

func (o *Bookmark) SetObjectNil(b bool)

SetObjectNil sets the value for Object to be an explicit nil

UnsetObject

func (o *Bookmark) UnsetObject()

UnsetObject ensures that no value is present for Object, not even an explicit nil

GetUser

func (o *Bookmark) GetUser() NestedUser

GetUser returns the User field if non-nil, zero value otherwise.

GetUserOk

func (o *Bookmark) GetUserOk() (*NestedUser, bool)

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

SetUser

func (o *Bookmark) SetUser(v NestedUser)

SetUser sets User field to given value.

GetCreated

func (o *Bookmark) GetCreated() time.Time

GetCreated returns the Created field if non-nil, zero value otherwise.

GetCreatedOk

func (o *Bookmark) GetCreatedOk() (*time.Time, bool)

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

SetCreated

func (o *Bookmark) SetCreated(v time.Time)

SetCreated sets Created field to given value.

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