Skip to content

Latest commit

 

History

History
145 lines (78 loc) · 4.38 KB

RHostedRepositoryApiRequest.md

File metadata and controls

145 lines (78 loc) · 4.38 KB

RHostedRepositoryApiRequest

Properties

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

Methods

NewRHostedRepositoryApiRequest

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

NewRHostedRepositoryApiRequestWithDefaults

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

GetCleanup

func (o *RHostedRepositoryApiRequest) GetCleanup() CleanupPolicyAttributes

GetCleanup returns the Cleanup field if non-nil, zero value otherwise.

GetCleanupOk

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.

SetCleanup

func (o *RHostedRepositoryApiRequest) SetCleanup(v CleanupPolicyAttributes)

SetCleanup sets Cleanup field to given value.

HasCleanup

func (o *RHostedRepositoryApiRequest) HasCleanup() bool

HasCleanup returns a boolean if a field has been set.

GetComponent

func (o *RHostedRepositoryApiRequest) GetComponent() ComponentAttributes

GetComponent returns the Component field if non-nil, zero value otherwise.

GetComponentOk

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.

SetComponent

func (o *RHostedRepositoryApiRequest) SetComponent(v ComponentAttributes)

SetComponent sets Component field to given value.

HasComponent

func (o *RHostedRepositoryApiRequest) HasComponent() bool

HasComponent returns a boolean if a field has been set.

GetName

func (o *RHostedRepositoryApiRequest) GetName() string

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

GetNameOk

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.

SetName

func (o *RHostedRepositoryApiRequest) SetName(v string)

SetName sets Name field to given value.

GetOnline

func (o *RHostedRepositoryApiRequest) GetOnline() bool

GetOnline returns the Online field if non-nil, zero value otherwise.

GetOnlineOk

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.

SetOnline

func (o *RHostedRepositoryApiRequest) SetOnline(v bool)

SetOnline sets Online field to given value.

GetStorage

func (o *RHostedRepositoryApiRequest) GetStorage() HostedStorageAttributes

GetStorage returns the Storage field if non-nil, zero value otherwise.

GetStorageOk

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.

SetStorage

func (o *RHostedRepositoryApiRequest) SetStorage(v HostedStorageAttributes)

SetStorage sets Storage field to given value.

[Back to Model list] [Back to API list] [Back to README]