Skip to content

Latest commit

 

History

History
186 lines (101 loc) · 5 KB

File metadata and controls

186 lines (101 loc) · 5 KB

PromptSnippetPatch

Properties

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

Methods

NewPromptSnippetPatch

func NewPromptSnippetPatch() *PromptSnippetPatch

NewPromptSnippetPatch instantiates a new PromptSnippetPatch 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

NewPromptSnippetPatchWithDefaults

func NewPromptSnippetPatchWithDefaults() *PromptSnippetPatch

NewPromptSnippetPatchWithDefaults instantiates a new PromptSnippetPatch 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

GetName

func (o *PromptSnippetPatch) GetName() string

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

GetNameOk

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

SetName sets Name field to given value.

HasName

func (o *PromptSnippetPatch) HasName() bool

HasName returns a boolean if a field has been set.

GetDescription

func (o *PromptSnippetPatch) GetDescription() string

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

GetDescriptionOk

func (o *PromptSnippetPatch) 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 *PromptSnippetPatch) SetDescription(v string)

SetDescription sets Description field to given value.

HasDescription

func (o *PromptSnippetPatch) HasDescription() bool

HasDescription returns a boolean if a field has been set.

GetText

func (o *PromptSnippetPatch) GetText() string

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

GetTextOk

func (o *PromptSnippetPatch) 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 *PromptSnippetPatch) SetText(v string)

SetText sets Text field to given value.

HasText

func (o *PromptSnippetPatch) HasText() bool

HasText returns a boolean if a field has been set.

GetMaintainerId

func (o *PromptSnippetPatch) GetMaintainerId() string

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

GetMaintainerIdOk

func (o *PromptSnippetPatch) 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 *PromptSnippetPatch) SetMaintainerId(v string)

SetMaintainerId sets MaintainerId field to given value.

HasMaintainerId

func (o *PromptSnippetPatch) HasMaintainerId() bool

HasMaintainerId returns a boolean if a field has been set.

GetMaintainerTeamKey

func (o *PromptSnippetPatch) GetMaintainerTeamKey() string

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

GetMaintainerTeamKeyOk

func (o *PromptSnippetPatch) 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 *PromptSnippetPatch) SetMaintainerTeamKey(v string)

SetMaintainerTeamKey sets MaintainerTeamKey field to given value.

HasMaintainerTeamKey

func (o *PromptSnippetPatch) HasMaintainerTeamKey() bool

HasMaintainerTeamKey returns a boolean if a field has been set.

GetTags

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

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

GetTagsOk

func (o *PromptSnippetPatch) 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 *PromptSnippetPatch) SetTags(v []string)

SetTags sets Tags field to given value.

HasTags

func (o *PromptSnippetPatch) HasTags() bool

HasTags returns a boolean if a field has been set.

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