Name | Type | Description | Notes |
---|---|---|---|
Cleanup | Pointer to CleanupPolicyAttributes | [optional] | |
Component | Pointer to ComponentAttributes | [optional] | |
Name | string | A unique identifier for this repository | |
Online | bool | Whether this repository accepts incoming requests | |
Storage | HostedStorageAttributes |
func NewRHostedRepositoryApiRequest(name string, online bool, storage HostedStorageAttributes, ) *RHostedRepositoryApiRequest
NewRHostedRepositoryApiRequest instantiates a new RHostedRepositoryApiRequest 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 NewRHostedRepositoryApiRequestWithDefaults() *RHostedRepositoryApiRequest
NewRHostedRepositoryApiRequestWithDefaults instantiates a new RHostedRepositoryApiRequest 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 *RHostedRepositoryApiRequest) GetCleanup() CleanupPolicyAttributes
GetCleanup returns the Cleanup field if non-nil, zero value otherwise.
func (o *RHostedRepositoryApiRequest) GetCleanupOk() (*CleanupPolicyAttributes, bool)
GetCleanupOk returns a tuple with the Cleanup field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RHostedRepositoryApiRequest) SetCleanup(v CleanupPolicyAttributes)
SetCleanup sets Cleanup field to given value.
func (o *RHostedRepositoryApiRequest) HasCleanup() bool
HasCleanup returns a boolean if a field has been set.
func (o *RHostedRepositoryApiRequest) GetComponent() ComponentAttributes
GetComponent returns the Component field if non-nil, zero value otherwise.
func (o *RHostedRepositoryApiRequest) GetComponentOk() (*ComponentAttributes, bool)
GetComponentOk returns a tuple with the Component field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RHostedRepositoryApiRequest) SetComponent(v ComponentAttributes)
SetComponent sets Component field to given value.
func (o *RHostedRepositoryApiRequest) HasComponent() bool
HasComponent returns a boolean if a field has been set.
func (o *RHostedRepositoryApiRequest) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *RHostedRepositoryApiRequest) 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.
func (o *RHostedRepositoryApiRequest) SetName(v string)
SetName sets Name field to given value.
func (o *RHostedRepositoryApiRequest) GetOnline() bool
GetOnline returns the Online field if non-nil, zero value otherwise.
func (o *RHostedRepositoryApiRequest) GetOnlineOk() (*bool, bool)
GetOnlineOk returns a tuple with the Online field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RHostedRepositoryApiRequest) SetOnline(v bool)
SetOnline sets Online field to given value.
func (o *RHostedRepositoryApiRequest) GetStorage() HostedStorageAttributes
GetStorage returns the Storage field if non-nil, zero value otherwise.
func (o *RHostedRepositoryApiRequest) GetStorageOk() (*HostedStorageAttributes, bool)
GetStorageOk returns a tuple with the Storage field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RHostedRepositoryApiRequest) SetStorage(v HostedStorageAttributes)
SetStorage sets Storage field to given value.