11 KiB
TemplateStarterKit
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Category | Pointer to string | groups the kit in the gallery browser ("Portfolio", "SaaS") | [optional] |
| Demo | Pointer to string | live demo (<slug>.hanzo.app), when deployed | [optional] |
| Description | Pointer to string | the browse-card blurb | [optional] |
| Features | Pointer to []string | the highlights the card lists, at most 32 | [optional] |
| Framework | Pointer to string | the stack the kit is built on ("Next.js 14.2 + TS") | [optional] |
| Org | Pointer to string | owner of a PRIVATE template; empty in the public catalog | [optional] |
| Preview | Pointer to string | the still image the browse card renders | [optional] |
| Rating | Pointer to float64 | Rating is public-gallery curation, on the same terms as Tier: catalog-only, never accepted from a request, absent on a customer's own kit. | [optional] |
| Slug | Pointer to string | the kit's identity — lowercase alphanumeric with dashes, max 40 | [optional] |
| Source | Pointer to string | the repository the kit is forked from | [optional] |
| Tier | Pointer to int64 | Tier is public-gallery curation, carried verbatim from the embedded catalog. No request can set it — neither write body has the field and neither builds a kit carrying one — so it is absent on every customer-published kit. | [optional] |
| Title | Pointer to string | display name | [optional] |
| UseCase | Pointer to string | what the kit is for, in a phrase | [optional] |
| Variants | Pointer to []TemplateVariant | the shapes this template ships in | [optional] |
Methods
NewTemplateStarterKit
func NewTemplateStarterKit() *TemplateStarterKit
NewTemplateStarterKit instantiates a new TemplateStarterKit 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
NewTemplateStarterKitWithDefaults
func NewTemplateStarterKitWithDefaults() *TemplateStarterKit
NewTemplateStarterKitWithDefaults instantiates a new TemplateStarterKit 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
GetCategory
func (o *TemplateStarterKit) GetCategory() string
GetCategory returns the Category field if non-nil, zero value otherwise.
GetCategoryOk
func (o *TemplateStarterKit) GetCategoryOk() (*string, bool)
GetCategoryOk returns a tuple with the Category field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetCategory
func (o *TemplateStarterKit) SetCategory(v string)
SetCategory sets Category field to given value.
HasCategory
func (o *TemplateStarterKit) HasCategory() bool
HasCategory returns a boolean if a field has been set.
GetDemo
func (o *TemplateStarterKit) GetDemo() string
GetDemo returns the Demo field if non-nil, zero value otherwise.
GetDemoOk
func (o *TemplateStarterKit) GetDemoOk() (*string, bool)
GetDemoOk returns a tuple with the Demo field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetDemo
func (o *TemplateStarterKit) SetDemo(v string)
SetDemo sets Demo field to given value.
HasDemo
func (o *TemplateStarterKit) HasDemo() bool
HasDemo returns a boolean if a field has been set.
GetDescription
func (o *TemplateStarterKit) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
GetDescriptionOk
func (o *TemplateStarterKit) 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 *TemplateStarterKit) SetDescription(v string)
SetDescription sets Description field to given value.
HasDescription
func (o *TemplateStarterKit) HasDescription() bool
HasDescription returns a boolean if a field has been set.
GetFeatures
func (o *TemplateStarterKit) GetFeatures() []string
GetFeatures returns the Features field if non-nil, zero value otherwise.
GetFeaturesOk
func (o *TemplateStarterKit) GetFeaturesOk() (*[]string, bool)
GetFeaturesOk returns a tuple with the Features field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetFeatures
func (o *TemplateStarterKit) SetFeatures(v []string)
SetFeatures sets Features field to given value.
HasFeatures
func (o *TemplateStarterKit) HasFeatures() bool
HasFeatures returns a boolean if a field has been set.
GetFramework
func (o *TemplateStarterKit) GetFramework() string
GetFramework returns the Framework field if non-nil, zero value otherwise.
GetFrameworkOk
func (o *TemplateStarterKit) GetFrameworkOk() (*string, bool)
GetFrameworkOk returns a tuple with the Framework field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetFramework
func (o *TemplateStarterKit) SetFramework(v string)
SetFramework sets Framework field to given value.
HasFramework
func (o *TemplateStarterKit) HasFramework() bool
HasFramework returns a boolean if a field has been set.
GetOrg
func (o *TemplateStarterKit) GetOrg() string
GetOrg returns the Org field if non-nil, zero value otherwise.
GetOrgOk
func (o *TemplateStarterKit) GetOrgOk() (*string, bool)
GetOrgOk returns a tuple with the Org field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetOrg
func (o *TemplateStarterKit) SetOrg(v string)
SetOrg sets Org field to given value.
HasOrg
func (o *TemplateStarterKit) HasOrg() bool
HasOrg returns a boolean if a field has been set.
GetPreview
func (o *TemplateStarterKit) GetPreview() string
GetPreview returns the Preview field if non-nil, zero value otherwise.
GetPreviewOk
func (o *TemplateStarterKit) GetPreviewOk() (*string, bool)
GetPreviewOk returns a tuple with the Preview field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetPreview
func (o *TemplateStarterKit) SetPreview(v string)
SetPreview sets Preview field to given value.
HasPreview
func (o *TemplateStarterKit) HasPreview() bool
HasPreview returns a boolean if a field has been set.
GetRating
func (o *TemplateStarterKit) GetRating() float64
GetRating returns the Rating field if non-nil, zero value otherwise.
GetRatingOk
func (o *TemplateStarterKit) GetRatingOk() (*float64, bool)
GetRatingOk returns a tuple with the Rating field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetRating
func (o *TemplateStarterKit) SetRating(v float64)
SetRating sets Rating field to given value.
HasRating
func (o *TemplateStarterKit) HasRating() bool
HasRating returns a boolean if a field has been set.
GetSlug
func (o *TemplateStarterKit) GetSlug() string
GetSlug returns the Slug field if non-nil, zero value otherwise.
GetSlugOk
func (o *TemplateStarterKit) GetSlugOk() (*string, bool)
GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetSlug
func (o *TemplateStarterKit) SetSlug(v string)
SetSlug sets Slug field to given value.
HasSlug
func (o *TemplateStarterKit) HasSlug() bool
HasSlug returns a boolean if a field has been set.
GetSource
func (o *TemplateStarterKit) GetSource() string
GetSource returns the Source field if non-nil, zero value otherwise.
GetSourceOk
func (o *TemplateStarterKit) 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.
SetSource
func (o *TemplateStarterKit) SetSource(v string)
SetSource sets Source field to given value.
HasSource
func (o *TemplateStarterKit) HasSource() bool
HasSource returns a boolean if a field has been set.
GetTier
func (o *TemplateStarterKit) GetTier() int64
GetTier returns the Tier field if non-nil, zero value otherwise.
GetTierOk
func (o *TemplateStarterKit) GetTierOk() (*int64, bool)
GetTierOk returns a tuple with the Tier field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetTier
func (o *TemplateStarterKit) SetTier(v int64)
SetTier sets Tier field to given value.
HasTier
func (o *TemplateStarterKit) HasTier() bool
HasTier returns a boolean if a field has been set.
GetTitle
func (o *TemplateStarterKit) GetTitle() string
GetTitle returns the Title field if non-nil, zero value otherwise.
GetTitleOk
func (o *TemplateStarterKit) GetTitleOk() (*string, bool)
GetTitleOk returns a tuple with the Title field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetTitle
func (o *TemplateStarterKit) SetTitle(v string)
SetTitle sets Title field to given value.
HasTitle
func (o *TemplateStarterKit) HasTitle() bool
HasTitle returns a boolean if a field has been set.
GetUseCase
func (o *TemplateStarterKit) GetUseCase() string
GetUseCase returns the UseCase field if non-nil, zero value otherwise.
GetUseCaseOk
func (o *TemplateStarterKit) GetUseCaseOk() (*string, bool)
GetUseCaseOk returns a tuple with the UseCase field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetUseCase
func (o *TemplateStarterKit) SetUseCase(v string)
SetUseCase sets UseCase field to given value.
HasUseCase
func (o *TemplateStarterKit) HasUseCase() bool
HasUseCase returns a boolean if a field has been set.
GetVariants
func (o *TemplateStarterKit) GetVariants() []TemplateVariant
GetVariants returns the Variants field if non-nil, zero value otherwise.
GetVariantsOk
func (o *TemplateStarterKit) GetVariantsOk() (*[]TemplateVariant, bool)
GetVariantsOk returns a tuple with the Variants field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetVariants
func (o *TemplateStarterKit) SetVariants(v []TemplateVariant)
SetVariants sets Variants field to given value.
HasVariants
func (o *TemplateStarterKit) HasVariants() bool
HasVariants returns a boolean if a field has been set.