Skip to content

Latest commit

 

History

History
307 lines (164 loc) · 9.48 KB

File metadata and controls

307 lines (164 loc) · 9.48 KB

AptProxyRepositoryApiRequest

Properties

Name Type Description Notes
Apt AptProxyRepositoriesAttributes
AptSigning Pointer to AptSigningRepositoriesAttributes [optional]
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

Methods

NewAptProxyRepositoryApiRequest

func NewAptProxyRepositoryApiRequest(apt AptProxyRepositoriesAttributes, httpClient HttpClientAttributes, name string, negativeCache NegativeCacheAttributes, online bool, proxy ProxyAttributes, storage StorageAttributes, ) *AptProxyRepositoryApiRequest

NewAptProxyRepositoryApiRequest instantiates a new AptProxyRepositoryApiRequest 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

NewAptProxyRepositoryApiRequestWithDefaults

func NewAptProxyRepositoryApiRequestWithDefaults() *AptProxyRepositoryApiRequest

NewAptProxyRepositoryApiRequestWithDefaults instantiates a new AptProxyRepositoryApiRequest 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

GetApt

func (o *AptProxyRepositoryApiRequest) GetApt() AptProxyRepositoriesAttributes

GetApt returns the Apt field if non-nil, zero value otherwise.

GetAptOk

func (o *AptProxyRepositoryApiRequest) GetAptOk() (*AptProxyRepositoriesAttributes, bool)

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

SetApt

func (o *AptProxyRepositoryApiRequest) SetApt(v AptProxyRepositoriesAttributes)

SetApt sets Apt field to given value.

GetAptSigning

func (o *AptProxyRepositoryApiRequest) GetAptSigning() AptSigningRepositoriesAttributes

GetAptSigning returns the AptSigning field if non-nil, zero value otherwise.

GetAptSigningOk

func (o *AptProxyRepositoryApiRequest) GetAptSigningOk() (*AptSigningRepositoriesAttributes, bool)

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

SetAptSigning

func (o *AptProxyRepositoryApiRequest) SetAptSigning(v AptSigningRepositoriesAttributes)

SetAptSigning sets AptSigning field to given value.

HasAptSigning

func (o *AptProxyRepositoryApiRequest) HasAptSigning() bool

HasAptSigning returns a boolean if a field has been set.

GetCleanup

func (o *AptProxyRepositoryApiRequest) GetCleanup() CleanupPolicyAttributes

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

GetCleanupOk

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

SetCleanup sets Cleanup field to given value.

HasCleanup

func (o *AptProxyRepositoryApiRequest) HasCleanup() bool

HasCleanup returns a boolean if a field has been set.

GetFirewall

func (o *AptProxyRepositoryApiRequest) GetFirewall() FirewallAttributes

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

GetFirewallOk

func (o *AptProxyRepositoryApiRequest) 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 *AptProxyRepositoryApiRequest) SetFirewall(v FirewallAttributes)

SetFirewall sets Firewall field to given value.

HasFirewall

func (o *AptProxyRepositoryApiRequest) HasFirewall() bool

HasFirewall returns a boolean if a field has been set.

GetHttpClient

func (o *AptProxyRepositoryApiRequest) GetHttpClient() HttpClientAttributes

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

GetHttpClientOk

func (o *AptProxyRepositoryApiRequest) 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 *AptProxyRepositoryApiRequest) SetHttpClient(v HttpClientAttributes)

SetHttpClient sets HttpClient field to given value.

GetName

func (o *AptProxyRepositoryApiRequest) GetName() string

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

GetNameOk

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

SetName sets Name field to given value.

GetNegativeCache

func (o *AptProxyRepositoryApiRequest) GetNegativeCache() NegativeCacheAttributes

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

GetNegativeCacheOk

func (o *AptProxyRepositoryApiRequest) 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 *AptProxyRepositoryApiRequest) SetNegativeCache(v NegativeCacheAttributes)

SetNegativeCache sets NegativeCache field to given value.

GetOnline

func (o *AptProxyRepositoryApiRequest) GetOnline() bool

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

GetOnlineOk

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

SetOnline sets Online field to given value.

GetProxy

func (o *AptProxyRepositoryApiRequest) GetProxy() ProxyAttributes

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

GetProxyOk

func (o *AptProxyRepositoryApiRequest) 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 *AptProxyRepositoryApiRequest) SetProxy(v ProxyAttributes)

SetProxy sets Proxy field to given value.

GetReplication

func (o *AptProxyRepositoryApiRequest) GetReplication() ReplicationAttributes

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

GetReplicationOk

func (o *AptProxyRepositoryApiRequest) 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 *AptProxyRepositoryApiRequest) SetReplication(v ReplicationAttributes)

SetReplication sets Replication field to given value.

HasReplication

func (o *AptProxyRepositoryApiRequest) HasReplication() bool

HasReplication returns a boolean if a field has been set.

GetRoutingRuleName

func (o *AptProxyRepositoryApiRequest) GetRoutingRuleName() string

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

GetRoutingRuleNameOk

func (o *AptProxyRepositoryApiRequest) 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 *AptProxyRepositoryApiRequest) SetRoutingRuleName(v string)

SetRoutingRuleName sets RoutingRuleName field to given value.

HasRoutingRuleName

func (o *AptProxyRepositoryApiRequest) HasRoutingRuleName() bool

HasRoutingRuleName returns a boolean if a field has been set.

GetStorage

func (o *AptProxyRepositoryApiRequest) GetStorage() StorageAttributes

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

GetStorageOk

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

SetStorage sets Storage field to given value.

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