Name | Type | Description | Notes |
---|---|---|---|
Id | Pointer to string | [optional] | |
Name | string | ||
AllocationPercent | string | ||
Baseline | Pointer to bool | [optional] | |
Parameters | Pointer to []ParameterRep | [optional] |
func NewTreatmentRep(name string, allocationPercent string, ) *TreatmentRep
NewTreatmentRep instantiates a new TreatmentRep 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
func NewTreatmentRepWithDefaults() *TreatmentRep
NewTreatmentRepWithDefaults instantiates a new TreatmentRep 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
func (o *TreatmentRep) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *TreatmentRep) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TreatmentRep) SetId(v string)
SetId sets Id field to given value.
func (o *TreatmentRep) HasId() bool
HasId returns a boolean if a field has been set.
func (o *TreatmentRep) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *TreatmentRep) 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.
func (o *TreatmentRep) SetName(v string)
SetName sets Name field to given value.
func (o *TreatmentRep) GetAllocationPercent() string
GetAllocationPercent returns the AllocationPercent field if non-nil, zero value otherwise.
func (o *TreatmentRep) GetAllocationPercentOk() (*string, bool)
GetAllocationPercentOk returns a tuple with the AllocationPercent field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TreatmentRep) SetAllocationPercent(v string)
SetAllocationPercent sets AllocationPercent field to given value.
func (o *TreatmentRep) GetBaseline() bool
GetBaseline returns the Baseline field if non-nil, zero value otherwise.
func (o *TreatmentRep) GetBaselineOk() (*bool, bool)
GetBaselineOk returns a tuple with the Baseline field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TreatmentRep) SetBaseline(v bool)
SetBaseline sets Baseline field to given value.
func (o *TreatmentRep) HasBaseline() bool
HasBaseline returns a boolean if a field has been set.
func (o *TreatmentRep) GetParameters() []ParameterRep
GetParameters returns the Parameters field if non-nil, zero value otherwise.
func (o *TreatmentRep) GetParametersOk() (*[]ParameterRep, bool)
GetParametersOk returns a tuple with the Parameters field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TreatmentRep) SetParameters(v []ParameterRep)
SetParameters sets Parameters field to given value.
func (o *TreatmentRep) HasParameters() bool
HasParameters returns a boolean if a field has been set.