Skip to content

Latest commit

 

History

History
197 lines (106 loc) · 5.19 KB

File metadata and controls

197 lines (106 loc) · 5.19 KB

PromptSnippetPost

Properties

Name Type Description Notes
Key string
Name string
Description Pointer to string [optional]
Text string The text content of the prompt snippet
MaintainerId Pointer to string [optional]
MaintainerTeamKey Pointer to string [optional]
Tags Pointer to []string [optional]

Methods

NewPromptSnippetPost

func NewPromptSnippetPost(key string, name string, text string, ) *PromptSnippetPost

NewPromptSnippetPost instantiates a new PromptSnippetPost 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

NewPromptSnippetPostWithDefaults

func NewPromptSnippetPostWithDefaults() *PromptSnippetPost

NewPromptSnippetPostWithDefaults instantiates a new PromptSnippetPost 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

GetKey

func (o *PromptSnippetPost) GetKey() string

GetKey returns the Key field if non-nil, zero value otherwise.

GetKeyOk

func (o *PromptSnippetPost) GetKeyOk() (*string, bool)

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

SetKey

func (o *PromptSnippetPost) SetKey(v string)

SetKey sets Key field to given value.

GetName

func (o *PromptSnippetPost) GetName() string

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

GetNameOk

func (o *PromptSnippetPost) 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 *PromptSnippetPost) SetName(v string)

SetName sets Name field to given value.

GetDescription

func (o *PromptSnippetPost) GetDescription() string

GetDescription returns the Description field if non-nil, zero value otherwise.

GetDescriptionOk

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

SetDescription

func (o *PromptSnippetPost) SetDescription(v string)

SetDescription sets Description field to given value.

HasDescription

func (o *PromptSnippetPost) HasDescription() bool

HasDescription returns a boolean if a field has been set.

GetText

func (o *PromptSnippetPost) GetText() string

GetText returns the Text field if non-nil, zero value otherwise.

GetTextOk

func (o *PromptSnippetPost) GetTextOk() (*string, bool)

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

SetText

func (o *PromptSnippetPost) SetText(v string)

SetText sets Text field to given value.

GetMaintainerId

func (o *PromptSnippetPost) GetMaintainerId() string

GetMaintainerId returns the MaintainerId field if non-nil, zero value otherwise.

GetMaintainerIdOk

func (o *PromptSnippetPost) GetMaintainerIdOk() (*string, bool)

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

SetMaintainerId

func (o *PromptSnippetPost) SetMaintainerId(v string)

SetMaintainerId sets MaintainerId field to given value.

HasMaintainerId

func (o *PromptSnippetPost) HasMaintainerId() bool

HasMaintainerId returns a boolean if a field has been set.

GetMaintainerTeamKey

func (o *PromptSnippetPost) GetMaintainerTeamKey() string

GetMaintainerTeamKey returns the MaintainerTeamKey field if non-nil, zero value otherwise.

GetMaintainerTeamKeyOk

func (o *PromptSnippetPost) GetMaintainerTeamKeyOk() (*string, bool)

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

SetMaintainerTeamKey

func (o *PromptSnippetPost) SetMaintainerTeamKey(v string)

SetMaintainerTeamKey sets MaintainerTeamKey field to given value.

HasMaintainerTeamKey

func (o *PromptSnippetPost) HasMaintainerTeamKey() bool

HasMaintainerTeamKey returns a boolean if a field has been set.

GetTags

func (o *PromptSnippetPost) GetTags() []string

GetTags returns the Tags field if non-nil, zero value otherwise.

GetTagsOk

func (o *PromptSnippetPost) GetTagsOk() (*[]string, bool)

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

SetTags

func (o *PromptSnippetPost) SetTags(v []string)

SetTags sets Tags field to given value.

HasTags

func (o *PromptSnippetPost) HasTags() bool

HasTags returns a boolean if a field has been set.

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