Name | Type | Description | Notes |
---|---|---|---|
Source | string | ||
LinkTypes | Pointer to []string | [optional] [default to []] | |
TargetTypes | Pointer to []string | [optional] [default to []] | |
Hops | Pointer to Hops | [optional] | |
MinHops | Pointer to MinHops | [optional] | |
MaxHops | Pointer to MaxHops | [optional] | |
Graph | string | ||
Direction | GraphDirection | ||
Filter | Pointer to []GraphFilter | [optional] [default to []] | |
IncludeOriginal | bool | ||
Count | Pointer to int32 | [optional] [default to 50] | |
Page | Pointer to int32 | [optional] [default to 0] | |
Sorting | Pointer to [][]interface{} | [optional] [default to []] |
func NewGraphSearchRequest(source string, graph string, direction GraphDirection, includeOriginal bool, ) *GraphSearchRequest
NewGraphSearchRequest instantiates a new GraphSearchRequest 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 NewGraphSearchRequestWithDefaults() *GraphSearchRequest
NewGraphSearchRequestWithDefaults instantiates a new GraphSearchRequest 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 *GraphSearchRequest) GetSource() string
GetSource returns the Source field if non-nil, zero value otherwise.
func (o *GraphSearchRequest) 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 *GraphSearchRequest) SetSource(v string)
SetSource sets Source field to given value.
func (o *GraphSearchRequest) GetLinkTypes() []string
GetLinkTypes returns the LinkTypes field if non-nil, zero value otherwise.
func (o *GraphSearchRequest) GetLinkTypesOk() (*[]string, bool)
GetLinkTypesOk returns a tuple with the LinkTypes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GraphSearchRequest) SetLinkTypes(v []string)
SetLinkTypes sets LinkTypes field to given value.
func (o *GraphSearchRequest) HasLinkTypes() bool
HasLinkTypes returns a boolean if a field has been set.
func (o *GraphSearchRequest) GetTargetTypes() []string
GetTargetTypes returns the TargetTypes field if non-nil, zero value otherwise.
func (o *GraphSearchRequest) GetTargetTypesOk() (*[]string, bool)
GetTargetTypesOk returns a tuple with the TargetTypes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GraphSearchRequest) SetTargetTypes(v []string)
SetTargetTypes sets TargetTypes field to given value.
func (o *GraphSearchRequest) HasTargetTypes() bool
HasTargetTypes returns a boolean if a field has been set.
func (o *GraphSearchRequest) GetHops() Hops
GetHops returns the Hops field if non-nil, zero value otherwise.
func (o *GraphSearchRequest) GetHopsOk() (*Hops, bool)
GetHopsOk returns a tuple with the Hops field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GraphSearchRequest) SetHops(v Hops)
SetHops sets Hops field to given value.
func (o *GraphSearchRequest) HasHops() bool
HasHops returns a boolean if a field has been set.
func (o *GraphSearchRequest) GetMinHops() MinHops
GetMinHops returns the MinHops field if non-nil, zero value otherwise.
func (o *GraphSearchRequest) GetMinHopsOk() (*MinHops, bool)
GetMinHopsOk returns a tuple with the MinHops field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GraphSearchRequest) SetMinHops(v MinHops)
SetMinHops sets MinHops field to given value.
func (o *GraphSearchRequest) HasMinHops() bool
HasMinHops returns a boolean if a field has been set.
func (o *GraphSearchRequest) GetMaxHops() MaxHops
GetMaxHops returns the MaxHops field if non-nil, zero value otherwise.
func (o *GraphSearchRequest) GetMaxHopsOk() (*MaxHops, bool)
GetMaxHopsOk returns a tuple with the MaxHops field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GraphSearchRequest) SetMaxHops(v MaxHops)
SetMaxHops sets MaxHops field to given value.
func (o *GraphSearchRequest) HasMaxHops() bool
HasMaxHops returns a boolean if a field has been set.
func (o *GraphSearchRequest) GetGraph() string
GetGraph returns the Graph field if non-nil, zero value otherwise.
func (o *GraphSearchRequest) GetGraphOk() (*string, bool)
GetGraphOk returns a tuple with the Graph field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GraphSearchRequest) SetGraph(v string)
SetGraph sets Graph field to given value.
func (o *GraphSearchRequest) GetDirection() GraphDirection
GetDirection returns the Direction field if non-nil, zero value otherwise.
func (o *GraphSearchRequest) GetDirectionOk() (*GraphDirection, bool)
GetDirectionOk returns a tuple with the Direction field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GraphSearchRequest) SetDirection(v GraphDirection)
SetDirection sets Direction field to given value.
func (o *GraphSearchRequest) GetFilter() []GraphFilter
GetFilter returns the Filter field if non-nil, zero value otherwise.
func (o *GraphSearchRequest) GetFilterOk() (*[]GraphFilter, bool)
GetFilterOk returns a tuple with the Filter field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GraphSearchRequest) SetFilter(v []GraphFilter)
SetFilter sets Filter field to given value.
func (o *GraphSearchRequest) HasFilter() bool
HasFilter returns a boolean if a field has been set.
func (o *GraphSearchRequest) GetIncludeOriginal() bool
GetIncludeOriginal returns the IncludeOriginal field if non-nil, zero value otherwise.
func (o *GraphSearchRequest) GetIncludeOriginalOk() (*bool, bool)
GetIncludeOriginalOk returns a tuple with the IncludeOriginal field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GraphSearchRequest) SetIncludeOriginal(v bool)
SetIncludeOriginal sets IncludeOriginal field to given value.
func (o *GraphSearchRequest) GetCount() int32
GetCount returns the Count field if non-nil, zero value otherwise.
func (o *GraphSearchRequest) GetCountOk() (*int32, bool)
GetCountOk returns a tuple with the Count field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GraphSearchRequest) SetCount(v int32)
SetCount sets Count field to given value.
func (o *GraphSearchRequest) HasCount() bool
HasCount returns a boolean if a field has been set.
func (o *GraphSearchRequest) GetPage() int32
GetPage returns the Page field if non-nil, zero value otherwise.
func (o *GraphSearchRequest) GetPageOk() (*int32, bool)
GetPageOk returns a tuple with the Page field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GraphSearchRequest) SetPage(v int32)
SetPage sets Page field to given value.
func (o *GraphSearchRequest) HasPage() bool
HasPage returns a boolean if a field has been set.
func (o *GraphSearchRequest) GetSorting() [][]interface{}
GetSorting returns the Sorting field if non-nil, zero value otherwise.
func (o *GraphSearchRequest) GetSortingOk() (*[][]interface{}, bool)
GetSortingOk returns a tuple with the Sorting field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GraphSearchRequest) SetSorting(v [][]interface{})
SetSorting sets Sorting field to given value.
func (o *GraphSearchRequest) HasSorting() bool
HasSorting returns a boolean if a field has been set.