Skip to content

Latest commit

 

History

History
197 lines (106 loc) · 5.53 KB

File metadata and controls

197 lines (106 loc) · 5.53 KB

ConfigModel

Properties

Name Type Description Notes
Product ProductModel
ConfigId string Identifier of the Config.
Name string Name of the Config.
Description NullableString Description of the Config.
Order int32 The order of the Config represented on the ConfigCat Dashboard.
MigratedConfigId NullableString
EvaluationVersion EvaluationVersion

Methods

NewConfigModel

func NewConfigModel(product ProductModel, configId string, name string, description NullableString, order int32, migratedConfigId NullableString, evaluationVersion EvaluationVersion, ) *ConfigModel

NewConfigModel instantiates a new ConfigModel 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

NewConfigModelWithDefaults

func NewConfigModelWithDefaults() *ConfigModel

NewConfigModelWithDefaults instantiates a new ConfigModel 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

GetProduct

func (o *ConfigModel) GetProduct() ProductModel

GetProduct returns the Product field if non-nil, zero value otherwise.

GetProductOk

func (o *ConfigModel) GetProductOk() (*ProductModel, bool)

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

SetProduct

func (o *ConfigModel) SetProduct(v ProductModel)

SetProduct sets Product field to given value.

GetConfigId

func (o *ConfigModel) GetConfigId() string

GetConfigId returns the ConfigId field if non-nil, zero value otherwise.

GetConfigIdOk

func (o *ConfigModel) GetConfigIdOk() (*string, bool)

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

SetConfigId

func (o *ConfigModel) SetConfigId(v string)

SetConfigId sets ConfigId field to given value.

GetName

func (o *ConfigModel) GetName() string

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

GetNameOk

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

SetName sets Name field to given value.

GetDescription

func (o *ConfigModel) GetDescription() string

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

GetDescriptionOk

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

SetDescription sets Description field to given value.

SetDescriptionNil

func (o *ConfigModel) SetDescriptionNil(b bool)

SetDescriptionNil sets the value for Description to be an explicit nil

UnsetDescription

func (o *ConfigModel) UnsetDescription()

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

GetOrder

func (o *ConfigModel) GetOrder() int32

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

GetOrderOk

func (o *ConfigModel) 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 *ConfigModel) SetOrder(v int32)

SetOrder sets Order field to given value.

GetMigratedConfigId

func (o *ConfigModel) GetMigratedConfigId() string

GetMigratedConfigId returns the MigratedConfigId field if non-nil, zero value otherwise.

GetMigratedConfigIdOk

func (o *ConfigModel) GetMigratedConfigIdOk() (*string, bool)

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

SetMigratedConfigId

func (o *ConfigModel) SetMigratedConfigId(v string)

SetMigratedConfigId sets MigratedConfigId field to given value.

SetMigratedConfigIdNil

func (o *ConfigModel) SetMigratedConfigIdNil(b bool)

SetMigratedConfigIdNil sets the value for MigratedConfigId to be an explicit nil

UnsetMigratedConfigId

func (o *ConfigModel) UnsetMigratedConfigId()

UnsetMigratedConfigId ensures that no value is present for MigratedConfigId, not even an explicit nil

GetEvaluationVersion

func (o *ConfigModel) GetEvaluationVersion() EvaluationVersion

GetEvaluationVersion returns the EvaluationVersion field if non-nil, zero value otherwise.

GetEvaluationVersionOk

func (o *ConfigModel) GetEvaluationVersionOk() (*EvaluationVersion, bool)

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

SetEvaluationVersion

func (o *ConfigModel) SetEvaluationVersion(v EvaluationVersion)

SetEvaluationVersion sets EvaluationVersion field to given value.

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