Name | Type | Description | Notes |
---|---|---|---|
Id | string | [readonly] | |
CreatedAt | time.Time | [readonly] | |
UpdatedAt | Pointer to time.Time | [optional] [readonly] | |
Mode | DeploymentRestrictionModeEnum | ||
Type | DeploymentRestrictionTypeEnum | ||
Value | string | For `PATH` restrictions, the value must not start with `/` |
func NewHelmDeploymentRestrictionResponse(id string, createdAt time.Time, mode DeploymentRestrictionModeEnum, type_ DeploymentRestrictionTypeEnum, value string, ) *HelmDeploymentRestrictionResponse
NewHelmDeploymentRestrictionResponse instantiates a new HelmDeploymentRestrictionResponse 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 NewHelmDeploymentRestrictionResponseWithDefaults() *HelmDeploymentRestrictionResponse
NewHelmDeploymentRestrictionResponseWithDefaults instantiates a new HelmDeploymentRestrictionResponse 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 *HelmDeploymentRestrictionResponse) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *HelmDeploymentRestrictionResponse) 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 *HelmDeploymentRestrictionResponse) SetId(v string)
SetId sets Id field to given value.
func (o *HelmDeploymentRestrictionResponse) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
func (o *HelmDeploymentRestrictionResponse) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *HelmDeploymentRestrictionResponse) SetCreatedAt(v time.Time)
SetCreatedAt sets CreatedAt field to given value.
func (o *HelmDeploymentRestrictionResponse) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise.
func (o *HelmDeploymentRestrictionResponse) GetUpdatedAtOk() (*time.Time, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *HelmDeploymentRestrictionResponse) SetUpdatedAt(v time.Time)
SetUpdatedAt sets UpdatedAt field to given value.
func (o *HelmDeploymentRestrictionResponse) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
func (o *HelmDeploymentRestrictionResponse) GetMode() DeploymentRestrictionModeEnum
GetMode returns the Mode field if non-nil, zero value otherwise.
func (o *HelmDeploymentRestrictionResponse) 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 *HelmDeploymentRestrictionResponse) SetMode(v DeploymentRestrictionModeEnum)
SetMode sets Mode field to given value.
func (o *HelmDeploymentRestrictionResponse) GetType() DeploymentRestrictionTypeEnum
GetType returns the Type field if non-nil, zero value otherwise.
func (o *HelmDeploymentRestrictionResponse) 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 *HelmDeploymentRestrictionResponse) SetType(v DeploymentRestrictionTypeEnum)
SetType sets Type field to given value.
func (o *HelmDeploymentRestrictionResponse) GetValue() string
GetValue returns the Value field if non-nil, zero value otherwise.
func (o *HelmDeploymentRestrictionResponse) 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 *HelmDeploymentRestrictionResponse) SetValue(v string)
SetValue sets Value field to given value.