Skip to content

Latest commit

 

History

History
323 lines (172 loc) · 9.43 KB

File metadata and controls

323 lines (172 loc) · 9.43 KB

RubyGemsProxyApiRepository

Properties

Name Type Description Notes
Cleanup Pointer to CleanupPolicyAttributes [optional]
Firewall Pointer to FirewallAttributes [optional]
HttpClient HttpClientAttributes
Name string A unique identifier for this repository
NegativeCache NegativeCacheAttributes
Online bool Whether this repository accepts incoming requests
Proxy ProxyAttributes
Replication Pointer to ReplicationAttributes [optional]
RoutingRuleName Pointer to string [optional]
Storage StorageAttributes
Format string [default to "rubygems"]
Type string [default to "proxy"]
Url string

Methods

NewRubyGemsProxyApiRepository

func NewRubyGemsProxyApiRepository(httpClient HttpClientAttributes, name string, negativeCache NegativeCacheAttributes, online bool, proxy ProxyAttributes, storage StorageAttributes, format string, type_ string, url string, ) *RubyGemsProxyApiRepository

NewRubyGemsProxyApiRepository instantiates a new RubyGemsProxyApiRepository 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

NewRubyGemsProxyApiRepositoryWithDefaults

func NewRubyGemsProxyApiRepositoryWithDefaults() *RubyGemsProxyApiRepository

NewRubyGemsProxyApiRepositoryWithDefaults instantiates a new RubyGemsProxyApiRepository 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 *RubyGemsProxyApiRepository) GetCleanup() CleanupPolicyAttributes

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

GetCleanupOk

func (o *RubyGemsProxyApiRepository) 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 *RubyGemsProxyApiRepository) SetCleanup(v CleanupPolicyAttributes)

SetCleanup sets Cleanup field to given value.

HasCleanup

func (o *RubyGemsProxyApiRepository) HasCleanup() bool

HasCleanup returns a boolean if a field has been set.

GetFirewall

func (o *RubyGemsProxyApiRepository) GetFirewall() FirewallAttributes

GetFirewall returns the Firewall field if non-nil, zero value otherwise.

GetFirewallOk

func (o *RubyGemsProxyApiRepository) GetFirewallOk() (*FirewallAttributes, bool)

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

SetFirewall

func (o *RubyGemsProxyApiRepository) SetFirewall(v FirewallAttributes)

SetFirewall sets Firewall field to given value.

HasFirewall

func (o *RubyGemsProxyApiRepository) HasFirewall() bool

HasFirewall returns a boolean if a field has been set.

GetHttpClient

func (o *RubyGemsProxyApiRepository) GetHttpClient() HttpClientAttributes

GetHttpClient returns the HttpClient field if non-nil, zero value otherwise.

GetHttpClientOk

func (o *RubyGemsProxyApiRepository) GetHttpClientOk() (*HttpClientAttributes, bool)

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

SetHttpClient

func (o *RubyGemsProxyApiRepository) SetHttpClient(v HttpClientAttributes)

SetHttpClient sets HttpClient field to given value.

GetName

func (o *RubyGemsProxyApiRepository) GetName() string

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

GetNameOk

func (o *RubyGemsProxyApiRepository) 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 *RubyGemsProxyApiRepository) SetName(v string)

SetName sets Name field to given value.

GetNegativeCache

func (o *RubyGemsProxyApiRepository) GetNegativeCache() NegativeCacheAttributes

GetNegativeCache returns the NegativeCache field if non-nil, zero value otherwise.

GetNegativeCacheOk

func (o *RubyGemsProxyApiRepository) GetNegativeCacheOk() (*NegativeCacheAttributes, bool)

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

SetNegativeCache

func (o *RubyGemsProxyApiRepository) SetNegativeCache(v NegativeCacheAttributes)

SetNegativeCache sets NegativeCache field to given value.

GetOnline

func (o *RubyGemsProxyApiRepository) GetOnline() bool

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

GetOnlineOk

func (o *RubyGemsProxyApiRepository) 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 *RubyGemsProxyApiRepository) SetOnline(v bool)

SetOnline sets Online field to given value.

GetProxy

func (o *RubyGemsProxyApiRepository) GetProxy() ProxyAttributes

GetProxy returns the Proxy field if non-nil, zero value otherwise.

GetProxyOk

func (o *RubyGemsProxyApiRepository) GetProxyOk() (*ProxyAttributes, bool)

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

SetProxy

func (o *RubyGemsProxyApiRepository) SetProxy(v ProxyAttributes)

SetProxy sets Proxy field to given value.

GetReplication

func (o *RubyGemsProxyApiRepository) GetReplication() ReplicationAttributes

GetReplication returns the Replication field if non-nil, zero value otherwise.

GetReplicationOk

func (o *RubyGemsProxyApiRepository) GetReplicationOk() (*ReplicationAttributes, bool)

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

SetReplication

func (o *RubyGemsProxyApiRepository) SetReplication(v ReplicationAttributes)

SetReplication sets Replication field to given value.

HasReplication

func (o *RubyGemsProxyApiRepository) HasReplication() bool

HasReplication returns a boolean if a field has been set.

GetRoutingRuleName

func (o *RubyGemsProxyApiRepository) GetRoutingRuleName() string

GetRoutingRuleName returns the RoutingRuleName field if non-nil, zero value otherwise.

GetRoutingRuleNameOk

func (o *RubyGemsProxyApiRepository) GetRoutingRuleNameOk() (*string, bool)

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

SetRoutingRuleName

func (o *RubyGemsProxyApiRepository) SetRoutingRuleName(v string)

SetRoutingRuleName sets RoutingRuleName field to given value.

HasRoutingRuleName

func (o *RubyGemsProxyApiRepository) HasRoutingRuleName() bool

HasRoutingRuleName returns a boolean if a field has been set.

GetStorage

func (o *RubyGemsProxyApiRepository) GetStorage() StorageAttributes

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

GetStorageOk

func (o *RubyGemsProxyApiRepository) GetStorageOk() (*StorageAttributes, 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 *RubyGemsProxyApiRepository) SetStorage(v StorageAttributes)

SetStorage sets Storage field to given value.

GetFormat

func (o *RubyGemsProxyApiRepository) GetFormat() string

GetFormat returns the Format field if non-nil, zero value otherwise.

GetFormatOk

func (o *RubyGemsProxyApiRepository) GetFormatOk() (*string, bool)

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

SetFormat

func (o *RubyGemsProxyApiRepository) SetFormat(v string)

SetFormat sets Format field to given value.

GetType

func (o *RubyGemsProxyApiRepository) GetType() string

GetType returns the Type field if non-nil, zero value otherwise.

GetTypeOk

func (o *RubyGemsProxyApiRepository) GetTypeOk() (*string, 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.

SetType

func (o *RubyGemsProxyApiRepository) SetType(v string)

SetType sets Type field to given value.

GetUrl

func (o *RubyGemsProxyApiRepository) GetUrl() string

GetUrl returns the Url field if non-nil, zero value otherwise.

GetUrlOk

func (o *RubyGemsProxyApiRepository) GetUrlOk() (*string, bool)

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

SetUrl

func (o *RubyGemsProxyApiRepository) SetUrl(v string)

SetUrl sets Url field to given value.

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