Name | Type | Description | Notes |
---|---|---|---|
AppleRestrictions | Pointer to OSRestrictionAppleRestrictions | [optional] | |
DeprecatedVersion | Pointer to string | The version of the OS in which the policy was deprecated | [optional] |
EarliestVersion | Pointer to string | The earliest version of the OS in which the policy can be applied | [optional] |
OsName | Pointer to string | The name of the OS in which this restriction applies | [optional] |
SupportedEnrollmentTypes | Pointer to []string | This field is deprecated and will be ignored. Use appleRestrictions.supportedEnrollmentTypes instead | [optional] |
func NewOSRestriction() *OSRestriction
NewOSRestriction instantiates a new OSRestriction 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 NewOSRestrictionWithDefaults() *OSRestriction
NewOSRestrictionWithDefaults instantiates a new OSRestriction 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 *OSRestriction) GetAppleRestrictions() OSRestrictionAppleRestrictions
GetAppleRestrictions returns the AppleRestrictions field if non-nil, zero value otherwise.
func (o *OSRestriction) GetAppleRestrictionsOk() (*OSRestrictionAppleRestrictions, bool)
GetAppleRestrictionsOk returns a tuple with the AppleRestrictions field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OSRestriction) SetAppleRestrictions(v OSRestrictionAppleRestrictions)
SetAppleRestrictions sets AppleRestrictions field to given value.
func (o *OSRestriction) HasAppleRestrictions() bool
HasAppleRestrictions returns a boolean if a field has been set.
func (o *OSRestriction) GetDeprecatedVersion() string
GetDeprecatedVersion returns the DeprecatedVersion field if non-nil, zero value otherwise.
func (o *OSRestriction) GetDeprecatedVersionOk() (*string, bool)
GetDeprecatedVersionOk returns a tuple with the DeprecatedVersion field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OSRestriction) SetDeprecatedVersion(v string)
SetDeprecatedVersion sets DeprecatedVersion field to given value.
func (o *OSRestriction) HasDeprecatedVersion() bool
HasDeprecatedVersion returns a boolean if a field has been set.
func (o *OSRestriction) GetEarliestVersion() string
GetEarliestVersion returns the EarliestVersion field if non-nil, zero value otherwise.
func (o *OSRestriction) GetEarliestVersionOk() (*string, bool)
GetEarliestVersionOk returns a tuple with the EarliestVersion field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OSRestriction) SetEarliestVersion(v string)
SetEarliestVersion sets EarliestVersion field to given value.
func (o *OSRestriction) HasEarliestVersion() bool
HasEarliestVersion returns a boolean if a field has been set.
func (o *OSRestriction) GetOsName() string
GetOsName returns the OsName field if non-nil, zero value otherwise.
func (o *OSRestriction) GetOsNameOk() (*string, bool)
GetOsNameOk returns a tuple with the OsName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OSRestriction) SetOsName(v string)
SetOsName sets OsName field to given value.
func (o *OSRestriction) HasOsName() bool
HasOsName returns a boolean if a field has been set.
func (o *OSRestriction) GetSupportedEnrollmentTypes() []string
GetSupportedEnrollmentTypes returns the SupportedEnrollmentTypes field if non-nil, zero value otherwise.
func (o *OSRestriction) GetSupportedEnrollmentTypesOk() (*[]string, bool)
GetSupportedEnrollmentTypesOk returns a tuple with the SupportedEnrollmentTypes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OSRestriction) SetSupportedEnrollmentTypes(v []string)
SetSupportedEnrollmentTypes sets SupportedEnrollmentTypes field to given value.
func (o *OSRestriction) HasSupportedEnrollmentTypes() bool
HasSupportedEnrollmentTypes returns a boolean if a field has been set.