Files
sdk/docs/ProjectProjectsFork.md

3.9 KiB

ProjectProjectsFork

Properties

Name Type Description Notes
Name Pointer to string target project name (optional; defaults to the parent's title) [optional]
Slug Pointer to string parent slug to fork — catalog template or published project (required) [optional]
Target Pointer to string Target overrides the derived project slug (optional; defaults to the parent slug). Kept distinct from Slug so callers can rename on fork. [optional]
Variant Pointer to string Variant picks a template's format/page/theme (optional; defaults to the template's first shape). This is the axis the catalog used to spend sibling slugs on, so it is expressed here, where the user's preference is. [optional]

Methods

NewProjectProjectsFork

func NewProjectProjectsFork() *ProjectProjectsFork

NewProjectProjectsFork instantiates a new ProjectProjectsFork 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

NewProjectProjectsForkWithDefaults

func NewProjectProjectsForkWithDefaults() *ProjectProjectsFork

NewProjectProjectsForkWithDefaults instantiates a new ProjectProjectsFork 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 *ProjectProjectsFork) GetName() string

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

GetNameOk

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

SetName sets Name field to given value.

HasName

func (o *ProjectProjectsFork) HasName() bool

HasName returns a boolean if a field has been set.

GetSlug

func (o *ProjectProjectsFork) GetSlug() string

GetSlug returns the Slug field if non-nil, zero value otherwise.

GetSlugOk

func (o *ProjectProjectsFork) 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 *ProjectProjectsFork) SetSlug(v string)

SetSlug sets Slug field to given value.

HasSlug

func (o *ProjectProjectsFork) HasSlug() bool

HasSlug returns a boolean if a field has been set.

GetTarget

func (o *ProjectProjectsFork) GetTarget() string

GetTarget returns the Target field if non-nil, zero value otherwise.

GetTargetOk

func (o *ProjectProjectsFork) GetTargetOk() (*string, bool)

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

SetTarget

func (o *ProjectProjectsFork) SetTarget(v string)

SetTarget sets Target field to given value.

HasTarget

func (o *ProjectProjectsFork) HasTarget() bool

HasTarget returns a boolean if a field has been set.

GetVariant

func (o *ProjectProjectsFork) GetVariant() string

GetVariant returns the Variant field if non-nil, zero value otherwise.

GetVariantOk

func (o *ProjectProjectsFork) GetVariantOk() (*string, bool)

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

SetVariant

func (o *ProjectProjectsFork) SetVariant(v string)

SetVariant sets Variant field to given value.

HasVariant

func (o *ProjectProjectsFork) HasVariant() bool

HasVariant returns a boolean if a field has been set.

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