Skip to content

Latest commit

 

History

History
186 lines (101 loc) · 4.43 KB

Activity.md

File metadata and controls

186 lines (101 loc) · 4.43 KB

Activity

Properties

Name Type Description Notes
Id Pointer to string [optional]
Actor Pointer to Object [optional]
Object Pointer to Object [optional]
Verb Pointer to string [optional]
Metadata Pointer to map[string]interface{} [optional]
CreatedAt Pointer to time.Time [optional]

Methods

NewActivity

func NewActivity() *Activity

NewActivity instantiates a new Activity 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

NewActivityWithDefaults

func NewActivityWithDefaults() *Activity

NewActivityWithDefaults instantiates a new Activity 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 *Activity) GetId() string

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

GetIdOk

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

SetId sets Id field to given value.

HasId

func (o *Activity) HasId() bool

HasId returns a boolean if a field has been set.

GetActor

func (o *Activity) GetActor() Object

GetActor returns the Actor field if non-nil, zero value otherwise.

GetActorOk

func (o *Activity) GetActorOk() (*Object, bool)

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

SetActor

func (o *Activity) SetActor(v Object)

SetActor sets Actor field to given value.

HasActor

func (o *Activity) HasActor() bool

HasActor returns a boolean if a field has been set.

GetObject

func (o *Activity) GetObject() Object

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

GetObjectOk

func (o *Activity) GetObjectOk() (*Object, 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 *Activity) SetObject(v Object)

SetObject sets Object field to given value.

HasObject

func (o *Activity) HasObject() bool

HasObject returns a boolean if a field has been set.

GetVerb

func (o *Activity) GetVerb() string

GetVerb returns the Verb field if non-nil, zero value otherwise.

GetVerbOk

func (o *Activity) GetVerbOk() (*string, bool)

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

SetVerb

func (o *Activity) SetVerb(v string)

SetVerb sets Verb field to given value.

HasVerb

func (o *Activity) HasVerb() bool

HasVerb returns a boolean if a field has been set.

GetMetadata

func (o *Activity) GetMetadata() map[string]interface{}

GetMetadata returns the Metadata field if non-nil, zero value otherwise.

GetMetadataOk

func (o *Activity) GetMetadataOk() (*map[string]interface{}, bool)

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

SetMetadata

func (o *Activity) SetMetadata(v map[string]interface{})

SetMetadata sets Metadata field to given value.

HasMetadata

func (o *Activity) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

GetCreatedAt

func (o *Activity) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.

GetCreatedAtOk

func (o *Activity) GetCreatedAtOk() (*time.Time, bool)

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

SetCreatedAt

func (o *Activity) SetCreatedAt(v time.Time)

SetCreatedAt sets CreatedAt field to given value.

HasCreatedAt

func (o *Activity) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

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