Name | Type | Description | Notes |
---|---|---|---|
Source | string | ||
Target | string | ||
LinkType | string | ||
Description | string |
func NewGraphAddRequest(source string, target string, linkType string, description string, ) *GraphAddRequest
NewGraphAddRequest instantiates a new GraphAddRequest 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 NewGraphAddRequestWithDefaults() *GraphAddRequest
NewGraphAddRequestWithDefaults instantiates a new GraphAddRequest 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 *GraphAddRequest) GetSource() string
GetSource returns the Source field if non-nil, zero value otherwise.
func (o *GraphAddRequest) GetSourceOk() (*string, 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 *GraphAddRequest) SetSource(v string)
SetSource sets Source field to given value.
func (o *GraphAddRequest) GetTarget() string
GetTarget returns the Target field if non-nil, zero value otherwise.
func (o *GraphAddRequest) GetTargetOk() (*string, 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 *GraphAddRequest) SetTarget(v string)
SetTarget sets Target field to given value.
func (o *GraphAddRequest) GetLinkType() string
GetLinkType returns the LinkType field if non-nil, zero value otherwise.
func (o *GraphAddRequest) GetLinkTypeOk() (*string, bool)
GetLinkTypeOk returns a tuple with the LinkType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GraphAddRequest) SetLinkType(v string)
SetLinkType sets LinkType field to given value.
func (o *GraphAddRequest) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *GraphAddRequest) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GraphAddRequest) SetDescription(v string)
SetDescription sets Description field to given value.