# RegistryProperties

## Properties

| Name                          | Type                                                                                                                                        | Description                                                                                                                                                                                                                                                                                                               | Notes       |
| ----------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- |
| **GarbageCollectionSchedule** | Pointer to [**WeeklySchedule**](https://docs.ionos.com/sections-test/go-sdk/sdk-go-bundle/sdks/containerregistry/models/weeklyschedule)     |                                                                                                                                                                                                                                                                                                                           | \[optional] |
| **Hostname**                  | Pointer to **string**                                                                                                                       |                                                                                                                                                                                                                                                                                                                           | \[optional] |
| **Location**                  | **string**                                                                                                                                  |                                                                                                                                                                                                                                                                                                                           |             |
| **Name**                      | **string**                                                                                                                                  |                                                                                                                                                                                                                                                                                                                           |             |
| **StorageUsage**              | Pointer to [**StorageUsage**](https://docs.ionos.com/sections-test/go-sdk/sdk-go-bundle/sdks/containerregistry/models/storageusage)         |                                                                                                                                                                                                                                                                                                                           | \[optional] |
| **Features**                  | Pointer to [**RegistryFeatures**](https://docs.ionos.com/sections-test/go-sdk/sdk-go-bundle/sdks/containerregistry/models/registryfeatures) |                                                                                                                                                                                                                                                                                                                           | \[optional] |
| **ApiSubnetAllowList**        | Pointer to **\[]string**                                                                                                                    | Subnets and IPs that are allowed to access the registry API, supports IPv4 and IPv6. Maximum of 25 items may be specified. If no CIDR is given /32 and /128 are assumed for IPv4 and IPv6 respectively. 0.0.0.0/0 can be used to deny all traffic. **Note**: If this list is empty or not set, there are no restrictions. | \[optional] |

## Methods

### NewRegistryProperties

`func NewRegistryProperties(location string, name string, ) *RegistryProperties`

NewRegistryProperties instantiates a new RegistryProperties 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

### NewRegistryPropertiesWithDefaults

`func NewRegistryPropertiesWithDefaults() *RegistryProperties`

NewRegistryPropertiesWithDefaults instantiates a new RegistryProperties 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

### GetGarbageCollectionSchedule

`func (o *RegistryProperties) GetGarbageCollectionSchedule() WeeklySchedule`

GetGarbageCollectionSchedule returns the GarbageCollectionSchedule field if non-nil, zero value otherwise.

### GetGarbageCollectionScheduleOk

`func (o *RegistryProperties) GetGarbageCollectionScheduleOk() (*WeeklySchedule, bool)`

GetGarbageCollectionScheduleOk returns a tuple with the GarbageCollectionSchedule field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

### SetGarbageCollectionSchedule

`func (o *RegistryProperties) SetGarbageCollectionSchedule(v WeeklySchedule)`

SetGarbageCollectionSchedule sets GarbageCollectionSchedule field to given value.

### HasGarbageCollectionSchedule

`func (o *RegistryProperties) HasGarbageCollectionSchedule() bool`

HasGarbageCollectionSchedule returns a boolean if a field has been set.

### GetHostname

`func (o *RegistryProperties) GetHostname() string`

GetHostname returns the Hostname field if non-nil, zero value otherwise.

### GetHostnameOk

`func (o *RegistryProperties) GetHostnameOk() (*string, bool)`

GetHostnameOk returns a tuple with the Hostname field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

### SetHostname

`func (o *RegistryProperties) SetHostname(v string)`

SetHostname sets Hostname field to given value.

### HasHostname

`func (o *RegistryProperties) HasHostname() bool`

HasHostname returns a boolean if a field has been set.

### GetLocation

`func (o *RegistryProperties) GetLocation() string`

GetLocation returns the Location field if non-nil, zero value otherwise.

### GetLocationOk

`func (o *RegistryProperties) GetLocationOk() (*string, bool)`

GetLocationOk returns a tuple with the Location field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

### SetLocation

`func (o *RegistryProperties) SetLocation(v string)`

SetLocation sets Location field to given value.

### GetName

`func (o *RegistryProperties) GetName() string`

GetName returns the Name field if non-nil, zero value otherwise.

### GetNameOk

`func (o *RegistryProperties) GetNameOk() (*string, bool)`

GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

### SetName

`func (o *RegistryProperties) SetName(v string)`

SetName sets Name field to given value.

### GetStorageUsage

`func (o *RegistryProperties) GetStorageUsage() StorageUsage`

GetStorageUsage returns the StorageUsage field if non-nil, zero value otherwise.

### GetStorageUsageOk

`func (o *RegistryProperties) GetStorageUsageOk() (*StorageUsage, bool)`

GetStorageUsageOk returns a tuple with the StorageUsage field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

### SetStorageUsage

`func (o *RegistryProperties) SetStorageUsage(v StorageUsage)`

SetStorageUsage sets StorageUsage field to given value.

### HasStorageUsage

`func (o *RegistryProperties) HasStorageUsage() bool`

HasStorageUsage returns a boolean if a field has been set.

### GetFeatures

`func (o *RegistryProperties) GetFeatures() RegistryFeatures`

GetFeatures returns the Features field if non-nil, zero value otherwise.

### GetFeaturesOk

`func (o *RegistryProperties) GetFeaturesOk() (*RegistryFeatures, bool)`

GetFeaturesOk returns a tuple with the Features field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

### SetFeatures

`func (o *RegistryProperties) SetFeatures(v RegistryFeatures)`

SetFeatures sets Features field to given value.

### HasFeatures

`func (o *RegistryProperties) HasFeatures() bool`

HasFeatures returns a boolean if a field has been set.

### GetApiSubnetAllowList

`func (o *RegistryProperties) GetApiSubnetAllowList() []string`

GetApiSubnetAllowList returns the ApiSubnetAllowList field if non-nil, zero value otherwise.

### GetApiSubnetAllowListOk

`func (o *RegistryProperties) GetApiSubnetAllowListOk() (*[]string, bool)`

GetApiSubnetAllowListOk returns a tuple with the ApiSubnetAllowList field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

### SetApiSubnetAllowList

`func (o *RegistryProperties) SetApiSubnetAllowList(v []string)`

SetApiSubnetAllowList sets ApiSubnetAllowList field to given value.

### HasApiSubnetAllowList

`func (o *RegistryProperties) HasApiSubnetAllowList() bool`

HasApiSubnetAllowList returns a boolean if a field has been set.
