Name | Type | Description | Notes |
---|---|---|---|
Mode | DeploymentRestrictionModeEnum | ||
Type | DeploymentRestrictionTypeEnum | ||
Value | string | For `PATH` restrictions, the value must not start with `/` |
func NewHelmDeploymentRestrictionRequest(mode DeploymentRestrictionModeEnum, type_ DeploymentRestrictionTypeEnum, value string, ) *HelmDeploymentRestrictionRequest
NewHelmDeploymentRestrictionRequest instantiates a new HelmDeploymentRestrictionRequest 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 NewHelmDeploymentRestrictionRequestWithDefaults() *HelmDeploymentRestrictionRequest
NewHelmDeploymentRestrictionRequestWithDefaults instantiates a new HelmDeploymentRestrictionRequest 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 *HelmDeploymentRestrictionRequest) GetMode() DeploymentRestrictionModeEnum
GetMode returns the Mode field if non-nil, zero value otherwise.
func (o *HelmDeploymentRestrictionRequest) GetModeOk() (*DeploymentRestrictionModeEnum, bool)
GetModeOk returns a tuple with the Mode field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *HelmDeploymentRestrictionRequest) SetMode(v DeploymentRestrictionModeEnum)
SetMode sets Mode field to given value.
func (o *HelmDeploymentRestrictionRequest) GetType() DeploymentRestrictionTypeEnum
GetType returns the Type field if non-nil, zero value otherwise.
func (o *HelmDeploymentRestrictionRequest) GetTypeOk() (*DeploymentRestrictionTypeEnum, bool)
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *HelmDeploymentRestrictionRequest) SetType(v DeploymentRestrictionTypeEnum)
SetType sets Type field to given value.
func (o *HelmDeploymentRestrictionRequest) GetValue() string
GetValue returns the Value field if non-nil, zero value otherwise.
func (o *HelmDeploymentRestrictionRequest) GetValueOk() (*string, bool)
GetValueOk returns a tuple with the Value field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *HelmDeploymentRestrictionRequest) SetValue(v string)
SetValue sets Value field to given value.