Skip to content

Latest commit

 

History

History
124 lines (67 loc) · 3.93 KB

HclConstraint.md

File metadata and controls

124 lines (67 loc) · 3.93 KB

HclConstraint

Properties

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]

Methods

NewHclConstraint

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

NewHclConstraintWithDefaults

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

GetClassId

func (o *HclConstraint) GetClassId() string

GetClassId returns the ClassId field if non-nil, zero value otherwise.

GetClassIdOk

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.

SetClassId

func (o *HclConstraint) SetClassId(v string)

SetClassId sets ClassId field to given value.

GetObjectType

func (o *HclConstraint) GetObjectType() string

GetObjectType returns the ObjectType field if non-nil, zero value otherwise.

GetObjectTypeOk

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.

SetObjectType

func (o *HclConstraint) SetObjectType(v string)

SetObjectType sets ObjectType field to given value.

GetConstraintName

func (o *HclConstraint) GetConstraintName() string

GetConstraintName returns the ConstraintName field if non-nil, zero value otherwise.

GetConstraintNameOk

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.

SetConstraintName

func (o *HclConstraint) SetConstraintName(v string)

SetConstraintName sets ConstraintName field to given value.

HasConstraintName

func (o *HclConstraint) HasConstraintName() bool

HasConstraintName returns a boolean if a field has been set.

GetConstraintValue

func (o *HclConstraint) GetConstraintValue() string

GetConstraintValue returns the ConstraintValue field if non-nil, zero value otherwise.

GetConstraintValueOk

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.

SetConstraintValue

func (o *HclConstraint) SetConstraintValue(v string)

SetConstraintValue sets ConstraintValue field to given value.

HasConstraintValue

func (o *HclConstraint) HasConstraintValue() bool

HasConstraintValue returns a boolean if a field has been set.

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