Name | Type | Description | Notes |
---|---|---|---|
Name | interface{} | A value for a context attribute. | |
Weight | int32 | A relative estimate of the number of contexts seen recently that have a matching value for a given attribute. |
func NewContextAttributeValue(name interface{}, weight int32, ) *ContextAttributeValue
NewContextAttributeValue instantiates a new ContextAttributeValue 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 NewContextAttributeValueWithDefaults() *ContextAttributeValue
NewContextAttributeValueWithDefaults instantiates a new ContextAttributeValue 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 *ContextAttributeValue) GetName() interface{}
GetName returns the Name field if non-nil, zero value otherwise.
func (o *ContextAttributeValue) GetNameOk() (*interface{}, 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 *ContextAttributeValue) SetName(v interface{})
SetName sets Name field to given value.
func (o *ContextAttributeValue) SetNameNil(b bool)
SetNameNil sets the value for Name to be an explicit nil
func (o *ContextAttributeValue) UnsetName()
UnsetName ensures that no value is present for Name, not even an explicit nil
func (o *ContextAttributeValue) GetWeight() int32
GetWeight returns the Weight field if non-nil, zero value otherwise.
func (o *ContextAttributeValue) GetWeightOk() (*int32, bool)
GetWeightOk returns a tuple with the Weight field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ContextAttributeValue) SetWeight(v int32)
SetWeight sets Weight field to given value.