Skip to content

Latest commit

 

History

History
244 lines (131 loc) · 6.96 KB

CustomLinkRequest.md

File metadata and controls

244 lines (131 loc) · 6.96 KB

CustomLinkRequest

Properties

Name Type Description Notes
ContentTypes []string
Name string
Enabled Pointer to bool [optional]
LinkText string Jinja2 template code for link text
LinkUrl string Jinja2 template code for link URL
Weight Pointer to int32 [optional]
GroupName Pointer to string Links with the same group will appear as a dropdown menu [optional]
ButtonClass Pointer to string The class of the first link in a group will be used for the dropdown button * `outline-dark` - Default * `blue` - Blue * `indigo` - Indigo * `purple` - Purple * `pink` - Pink * `red` - Red * `orange` - Orange * `yellow` - Yellow * `green` - Green * `teal` - Teal * `cyan` - Cyan * `gray` - Gray * `black` - Black * `white` - White * `ghost-dark` - Link [optional]
NewWindow Pointer to bool Force link to open in a new window [optional]

Methods

NewCustomLinkRequest

func NewCustomLinkRequest(contentTypes []string, name string, linkText string, linkUrl string, ) *CustomLinkRequest

NewCustomLinkRequest instantiates a new CustomLinkRequest 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

NewCustomLinkRequestWithDefaults

func NewCustomLinkRequestWithDefaults() *CustomLinkRequest

NewCustomLinkRequestWithDefaults instantiates a new CustomLinkRequest 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

GetContentTypes

func (o *CustomLinkRequest) GetContentTypes() []string

GetContentTypes returns the ContentTypes field if non-nil, zero value otherwise.

GetContentTypesOk

func (o *CustomLinkRequest) GetContentTypesOk() (*[]string, bool)

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

SetContentTypes

func (o *CustomLinkRequest) SetContentTypes(v []string)

SetContentTypes sets ContentTypes field to given value.

GetName

func (o *CustomLinkRequest) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

func (o *CustomLinkRequest) 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.

SetName

func (o *CustomLinkRequest) SetName(v string)

SetName sets Name field to given value.

GetEnabled

func (o *CustomLinkRequest) GetEnabled() bool

GetEnabled returns the Enabled field if non-nil, zero value otherwise.

GetEnabledOk

func (o *CustomLinkRequest) GetEnabledOk() (*bool, bool)

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

SetEnabled

func (o *CustomLinkRequest) SetEnabled(v bool)

SetEnabled sets Enabled field to given value.

HasEnabled

func (o *CustomLinkRequest) HasEnabled() bool

HasEnabled returns a boolean if a field has been set.

GetLinkText

func (o *CustomLinkRequest) GetLinkText() string

GetLinkText returns the LinkText field if non-nil, zero value otherwise.

GetLinkTextOk

func (o *CustomLinkRequest) GetLinkTextOk() (*string, bool)

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

SetLinkText

func (o *CustomLinkRequest) SetLinkText(v string)

SetLinkText sets LinkText field to given value.

GetLinkUrl

func (o *CustomLinkRequest) GetLinkUrl() string

GetLinkUrl returns the LinkUrl field if non-nil, zero value otherwise.

GetLinkUrlOk

func (o *CustomLinkRequest) GetLinkUrlOk() (*string, bool)

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

SetLinkUrl

func (o *CustomLinkRequest) SetLinkUrl(v string)

SetLinkUrl sets LinkUrl field to given value.

GetWeight

func (o *CustomLinkRequest) GetWeight() int32

GetWeight returns the Weight field if non-nil, zero value otherwise.

GetWeightOk

func (o *CustomLinkRequest) GetWeightOk() (*int32, bool)

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

SetWeight

func (o *CustomLinkRequest) SetWeight(v int32)

SetWeight sets Weight field to given value.

HasWeight

func (o *CustomLinkRequest) HasWeight() bool

HasWeight returns a boolean if a field has been set.

GetGroupName

func (o *CustomLinkRequest) GetGroupName() string

GetGroupName returns the GroupName field if non-nil, zero value otherwise.

GetGroupNameOk

func (o *CustomLinkRequest) GetGroupNameOk() (*string, bool)

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

SetGroupName

func (o *CustomLinkRequest) SetGroupName(v string)

SetGroupName sets GroupName field to given value.

HasGroupName

func (o *CustomLinkRequest) HasGroupName() bool

HasGroupName returns a boolean if a field has been set.

GetButtonClass

func (o *CustomLinkRequest) GetButtonClass() string

GetButtonClass returns the ButtonClass field if non-nil, zero value otherwise.

GetButtonClassOk

func (o *CustomLinkRequest) GetButtonClassOk() (*string, bool)

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

SetButtonClass

func (o *CustomLinkRequest) SetButtonClass(v string)

SetButtonClass sets ButtonClass field to given value.

HasButtonClass

func (o *CustomLinkRequest) HasButtonClass() bool

HasButtonClass returns a boolean if a field has been set.

GetNewWindow

func (o *CustomLinkRequest) GetNewWindow() bool

GetNewWindow returns the NewWindow field if non-nil, zero value otherwise.

GetNewWindowOk

func (o *CustomLinkRequest) GetNewWindowOk() (*bool, bool)

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

SetNewWindow

func (o *CustomLinkRequest) SetNewWindow(v bool)

SetNewWindow sets NewWindow field to given value.

HasNewWindow

func (o *CustomLinkRequest) HasNewWindow() bool

HasNewWindow returns a boolean if a field has been set.

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