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] |
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
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
func (o *Bookmark) GetId() int32
GetId returns the Id field if non-nil, zero value otherwise.
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.
func (o *Bookmark) SetId(v int32)
SetId sets Id field to given value.
func (o *Bookmark) GetUrl() string
GetUrl returns the Url field if non-nil, zero value otherwise.
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.
func (o *Bookmark) SetUrl(v string)
SetUrl sets Url field to given value.
func (o *Bookmark) GetDisplay() string
GetDisplay returns the Display field if non-nil, zero value otherwise.
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.
func (o *Bookmark) SetDisplay(v string)
SetDisplay sets Display field to given value.
func (o *Bookmark) GetObjectType() string
GetObjectType returns the ObjectType field if non-nil, zero value otherwise.
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.
func (o *Bookmark) SetObjectType(v string)
SetObjectType sets ObjectType field to given value.
func (o *Bookmark) GetObjectId() int64
GetObjectId returns the ObjectId field if non-nil, zero value otherwise.
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.
func (o *Bookmark) SetObjectId(v int64)
SetObjectId sets ObjectId field to given value.
func (o *Bookmark) GetObject() interface{}
GetObject returns the Object field if non-nil, zero value otherwise.
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.
func (o *Bookmark) SetObject(v interface{})
SetObject sets Object field to given value.
func (o *Bookmark) SetObjectNil(b bool)
SetObjectNil sets the value for Object to be an explicit nil
func (o *Bookmark) UnsetObject()
UnsetObject ensures that no value is present for Object, not even an explicit nil
func (o *Bookmark) GetUser() NestedUser
GetUser returns the User field if non-nil, zero value otherwise.
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.
func (o *Bookmark) SetUser(v NestedUser)
SetUser sets User field to given value.
func (o *Bookmark) GetCreated() time.Time
GetCreated returns the Created field if non-nil, zero value otherwise.
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.
func (o *Bookmark) SetCreated(v time.Time)
SetCreated sets Created field to given value.