Skip to content

Latest commit

 

History

History
123 lines (68 loc) · 3.56 KB

CreateProductRequest.md

File metadata and controls

123 lines (68 loc) · 3.56 KB

CreateProductRequest

Properties

Name Type Description Notes
Name string The name of the Product.
Description Pointer to NullableString The description of the Product. [optional]
Order Pointer to NullableInt32 The order of the Product represented on the ConfigCat Dashboard. Determined from an ascending sequence of integers. [optional]

Methods

NewCreateProductRequest

func NewCreateProductRequest(name string, ) *CreateProductRequest

NewCreateProductRequest instantiates a new CreateProductRequest 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

NewCreateProductRequestWithDefaults

func NewCreateProductRequestWithDefaults() *CreateProductRequest

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

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

GetNameOk

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

SetName sets Name field to given value.

GetDescription

func (o *CreateProductRequest) GetDescription() string

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

GetDescriptionOk

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

SetDescription sets Description field to given value.

HasDescription

func (o *CreateProductRequest) HasDescription() bool

HasDescription returns a boolean if a field has been set.

SetDescriptionNil

func (o *CreateProductRequest) SetDescriptionNil(b bool)

SetDescriptionNil sets the value for Description to be an explicit nil

UnsetDescription

func (o *CreateProductRequest) UnsetDescription()

UnsetDescription ensures that no value is present for Description, not even an explicit nil

GetOrder

func (o *CreateProductRequest) GetOrder() int32

GetOrder returns the Order field if non-nil, zero value otherwise.

GetOrderOk

func (o *CreateProductRequest) GetOrderOk() (*int32, bool)

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

SetOrder

func (o *CreateProductRequest) SetOrder(v int32)

SetOrder sets Order field to given value.

HasOrder

func (o *CreateProductRequest) HasOrder() bool

HasOrder returns a boolean if a field has been set.

SetOrderNil

func (o *CreateProductRequest) SetOrderNil(b bool)

SetOrderNil sets the value for Order to be an explicit nil

UnsetOrder

func (o *CreateProductRequest) UnsetOrder()

UnsetOrder ensures that no value is present for Order, not even an explicit nil

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