| Name | Type | Description | Notes |
|---|---|---|---|
| Type | string | ||
| Id | int64 | ||
| RelationTypeId | int64 | ||
| Name | Pointer to string | [optional] | |
| Source | EventComponent | ||
| Target | EventComponent | ||
| DependencyDirection | DependencyDirection |
func NewEventRelation(type_ string, id int64, relationTypeId int64, source EventComponent, target EventComponent, dependencyDirection DependencyDirection, ) *EventRelation
NewEventRelation instantiates a new EventRelation 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 NewEventRelationWithDefaults() *EventRelation
NewEventRelationWithDefaults instantiates a new EventRelation 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 *EventRelation) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (o *EventRelation) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EventRelation) SetType(v string)
SetType sets Type field to given value.
func (o *EventRelation) GetId() int64
GetId returns the Id field if non-nil, zero value otherwise.
func (o *EventRelation) GetIdOk() (*int64, 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 *EventRelation) SetId(v int64)
SetId sets Id field to given value.
func (o *EventRelation) GetRelationTypeId() int64
GetRelationTypeId returns the RelationTypeId field if non-nil, zero value otherwise.
func (o *EventRelation) GetRelationTypeIdOk() (*int64, bool)
GetRelationTypeIdOk returns a tuple with the RelationTypeId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EventRelation) SetRelationTypeId(v int64)
SetRelationTypeId sets RelationTypeId field to given value.
func (o *EventRelation) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *EventRelation) 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.
func (o *EventRelation) SetName(v string)
SetName sets Name field to given value.
func (o *EventRelation) HasName() bool
HasName returns a boolean if a field has been set.
func (o *EventRelation) GetSource() EventComponent
GetSource returns the Source field if non-nil, zero value otherwise.
func (o *EventRelation) GetSourceOk() (*EventComponent, bool)
GetSourceOk returns a tuple with the Source field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EventRelation) SetSource(v EventComponent)
SetSource sets Source field to given value.
func (o *EventRelation) GetTarget() EventComponent
GetTarget returns the Target field if non-nil, zero value otherwise.
func (o *EventRelation) GetTargetOk() (*EventComponent, bool)
GetTargetOk returns a tuple with the Target field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EventRelation) SetTarget(v EventComponent)
SetTarget sets Target field to given value.
func (o *EventRelation) GetDependencyDirection() DependencyDirection
GetDependencyDirection returns the DependencyDirection field if non-nil, zero value otherwise.
func (o *EventRelation) GetDependencyDirectionOk() (*DependencyDirection, bool)
GetDependencyDirectionOk returns a tuple with the DependencyDirection field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EventRelation) SetDependencyDirection(v DependencyDirection)
SetDependencyDirection sets DependencyDirection field to given value.