Skip to content

Latest commit

 

History

History
284 lines (155 loc) · 8.66 KB

DebAptDistributionResponse.md

File metadata and controls

284 lines (155 loc) · 8.66 KB

DebAptDistributionResponse

Properties

Name Type Description Notes
PulpHref Pointer to string [optional] [readonly]
PulpCreated Pointer to time.Time Timestamp of creation. [optional] [readonly]
BasePath string The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. "foo" and "foo/bar")
BaseUrl Pointer to string The URL for accessing the publication as defined by this distribution. [optional] [readonly]
ContentGuard Pointer to NullableString An optional content-guard. [optional]
PulpLabels Pointer to map[string]interface{} [optional]
Name string A unique name. Ex, `rawhide` and `stable`.
Repository Pointer to NullableString The latest RepositoryVersion for this Repository will be served. [optional]
Publication Pointer to NullableString Publication to be served [optional]

Methods

NewDebAptDistributionResponse

func NewDebAptDistributionResponse(basePath string, name string, ) *DebAptDistributionResponse

NewDebAptDistributionResponse instantiates a new DebAptDistributionResponse 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

NewDebAptDistributionResponseWithDefaults

func NewDebAptDistributionResponseWithDefaults() *DebAptDistributionResponse

NewDebAptDistributionResponseWithDefaults instantiates a new DebAptDistributionResponse 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

GetPulpHref

func (o *DebAptDistributionResponse) GetPulpHref() string

GetPulpHref returns the PulpHref field if non-nil, zero value otherwise.

GetPulpHrefOk

func (o *DebAptDistributionResponse) GetPulpHrefOk() (*string, bool)

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

SetPulpHref

func (o *DebAptDistributionResponse) SetPulpHref(v string)

SetPulpHref sets PulpHref field to given value.

HasPulpHref

func (o *DebAptDistributionResponse) HasPulpHref() bool

HasPulpHref returns a boolean if a field has been set.

GetPulpCreated

func (o *DebAptDistributionResponse) GetPulpCreated() time.Time

GetPulpCreated returns the PulpCreated field if non-nil, zero value otherwise.

GetPulpCreatedOk

func (o *DebAptDistributionResponse) GetPulpCreatedOk() (*time.Time, bool)

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

SetPulpCreated

func (o *DebAptDistributionResponse) SetPulpCreated(v time.Time)

SetPulpCreated sets PulpCreated field to given value.

HasPulpCreated

func (o *DebAptDistributionResponse) HasPulpCreated() bool

HasPulpCreated returns a boolean if a field has been set.

GetBasePath

func (o *DebAptDistributionResponse) GetBasePath() string

GetBasePath returns the BasePath field if non-nil, zero value otherwise.

GetBasePathOk

func (o *DebAptDistributionResponse) GetBasePathOk() (*string, bool)

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

SetBasePath

func (o *DebAptDistributionResponse) SetBasePath(v string)

SetBasePath sets BasePath field to given value.

GetBaseUrl

func (o *DebAptDistributionResponse) GetBaseUrl() string

GetBaseUrl returns the BaseUrl field if non-nil, zero value otherwise.

GetBaseUrlOk

func (o *DebAptDistributionResponse) GetBaseUrlOk() (*string, bool)

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

SetBaseUrl

func (o *DebAptDistributionResponse) SetBaseUrl(v string)

SetBaseUrl sets BaseUrl field to given value.

HasBaseUrl

func (o *DebAptDistributionResponse) HasBaseUrl() bool

HasBaseUrl returns a boolean if a field has been set.

GetContentGuard

func (o *DebAptDistributionResponse) GetContentGuard() string

GetContentGuard returns the ContentGuard field if non-nil, zero value otherwise.

GetContentGuardOk

func (o *DebAptDistributionResponse) GetContentGuardOk() (*string, bool)

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

SetContentGuard

func (o *DebAptDistributionResponse) SetContentGuard(v string)

SetContentGuard sets ContentGuard field to given value.

HasContentGuard

func (o *DebAptDistributionResponse) HasContentGuard() bool

HasContentGuard returns a boolean if a field has been set.

SetContentGuardNil

func (o *DebAptDistributionResponse) SetContentGuardNil(b bool)

SetContentGuardNil sets the value for ContentGuard to be an explicit nil

UnsetContentGuard

func (o *DebAptDistributionResponse) UnsetContentGuard()

UnsetContentGuard ensures that no value is present for ContentGuard, not even an explicit nil

GetPulpLabels

func (o *DebAptDistributionResponse) GetPulpLabels() map[string]interface{}

GetPulpLabels returns the PulpLabels field if non-nil, zero value otherwise.

GetPulpLabelsOk

func (o *DebAptDistributionResponse) GetPulpLabelsOk() (*map[string]interface{}, bool)

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

SetPulpLabels

func (o *DebAptDistributionResponse) SetPulpLabels(v map[string]interface{})

SetPulpLabels sets PulpLabels field to given value.

HasPulpLabels

func (o *DebAptDistributionResponse) HasPulpLabels() bool

HasPulpLabels returns a boolean if a field has been set.

GetName

func (o *DebAptDistributionResponse) GetName() string

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

GetNameOk

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

SetName sets Name field to given value.

GetRepository

func (o *DebAptDistributionResponse) GetRepository() string

GetRepository returns the Repository field if non-nil, zero value otherwise.

GetRepositoryOk

func (o *DebAptDistributionResponse) GetRepositoryOk() (*string, bool)

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

SetRepository

func (o *DebAptDistributionResponse) SetRepository(v string)

SetRepository sets Repository field to given value.

HasRepository

func (o *DebAptDistributionResponse) HasRepository() bool

HasRepository returns a boolean if a field has been set.

SetRepositoryNil

func (o *DebAptDistributionResponse) SetRepositoryNil(b bool)

SetRepositoryNil sets the value for Repository to be an explicit nil

UnsetRepository

func (o *DebAptDistributionResponse) UnsetRepository()

UnsetRepository ensures that no value is present for Repository, not even an explicit nil

GetPublication

func (o *DebAptDistributionResponse) GetPublication() string

GetPublication returns the Publication field if non-nil, zero value otherwise.

GetPublicationOk

func (o *DebAptDistributionResponse) GetPublicationOk() (*string, bool)

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

SetPublication

func (o *DebAptDistributionResponse) SetPublication(v string)

SetPublication sets Publication field to given value.

HasPublication

func (o *DebAptDistributionResponse) HasPublication() bool

HasPublication returns a boolean if a field has been set.

SetPublicationNil

func (o *DebAptDistributionResponse) SetPublicationNil(b bool)

SetPublicationNil sets the value for Publication to be an explicit nil

UnsetPublication

func (o *DebAptDistributionResponse) UnsetPublication()

UnsetPublication ensures that no value is present for Publication, not even an explicit nil

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