Name | Type | Description | Notes |
---|---|---|---|
ClassId | string | The fully-qualified name of the instantiated, concrete type. This property is used as a discriminator to identify the type of the payload when marshaling and unmarshaling data. | [default to "hcl.Constraint"] |
ObjectType | string | The fully-qualified name of the instantiated, concrete type. The value should be the same as the 'ClassId' property. | [default to "hcl.Constraint"] |
ConstraintName | Pointer to string | Name or key of the applicable compatibility constraint. | [optional] |
ConstraintValue | Pointer to string | Value of the applicable compatibility constraint. Could either be a string value or a regex. | [optional] |
func NewHclConstraint(classId string, objectType string, ) *HclConstraint
NewHclConstraint instantiates a new HclConstraint 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 NewHclConstraintWithDefaults() *HclConstraint
NewHclConstraintWithDefaults instantiates a new HclConstraint 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 *HclConstraint) GetClassId() string
GetClassId returns the ClassId field if non-nil, zero value otherwise.
func (o *HclConstraint) GetClassIdOk() (*string, bool)
GetClassIdOk returns a tuple with the ClassId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *HclConstraint) SetClassId(v string)
SetClassId sets ClassId field to given value.
func (o *HclConstraint) GetObjectType() string
GetObjectType returns the ObjectType field if non-nil, zero value otherwise.
func (o *HclConstraint) GetObjectTypeOk() (*string, bool)
GetObjectTypeOk returns a tuple with the ObjectType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *HclConstraint) SetObjectType(v string)
SetObjectType sets ObjectType field to given value.
func (o *HclConstraint) GetConstraintName() string
GetConstraintName returns the ConstraintName field if non-nil, zero value otherwise.
func (o *HclConstraint) GetConstraintNameOk() (*string, bool)
GetConstraintNameOk returns a tuple with the ConstraintName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *HclConstraint) SetConstraintName(v string)
SetConstraintName sets ConstraintName field to given value.
func (o *HclConstraint) HasConstraintName() bool
HasConstraintName returns a boolean if a field has been set.
func (o *HclConstraint) GetConstraintValue() string
GetConstraintValue returns the ConstraintValue field if non-nil, zero value otherwise.
func (o *HclConstraint) GetConstraintValueOk() (*string, bool)
GetConstraintValueOk returns a tuple with the ConstraintValue field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *HclConstraint) SetConstraintValue(v string)
SetConstraintValue sets ConstraintValue field to given value.
func (o *HclConstraint) HasConstraintValue() bool
HasConstraintValue returns a boolean if a field has been set.