Name | Type | Description | Notes |
---|---|---|---|
Name | string | ||
Kind | ContainerRegistryKindEnum | ||
Description | Pointer to string | [optional] | |
Url | Pointer to string | URL of the container registry: * For `DOCKER_HUB`: it must be `https://docker.io` (default with 'https://docker.io' if no url provided for `DOCKER_HUB`) * For `GITHUB_CR`: it must be `https://ghcr.io` (default with 'https://ghcr.io' if no url provided for `GITHUB_CR`) * For `GITLAB_CR`: it must be `https://registry.gitlab.com` (default with 'https://registry.gitlab.com' if no url provided for `GITLAB_CR`) * For others: it's required and must start by `https://` | [optional] |
Config | ContainerRegistryRequestConfig |
func NewContainerRegistryRequest(name string, kind ContainerRegistryKindEnum, config ContainerRegistryRequestConfig, ) *ContainerRegistryRequest
NewContainerRegistryRequest instantiates a new ContainerRegistryRequest 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 NewContainerRegistryRequestWithDefaults() *ContainerRegistryRequest
NewContainerRegistryRequestWithDefaults instantiates a new ContainerRegistryRequest 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 *ContainerRegistryRequest) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *ContainerRegistryRequest) 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 *ContainerRegistryRequest) SetName(v string)
SetName sets Name field to given value.
func (o *ContainerRegistryRequest) GetKind() ContainerRegistryKindEnum
GetKind returns the Kind field if non-nil, zero value otherwise.
func (o *ContainerRegistryRequest) GetKindOk() (*ContainerRegistryKindEnum, bool)
GetKindOk returns a tuple with the Kind field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ContainerRegistryRequest) SetKind(v ContainerRegistryKindEnum)
SetKind sets Kind field to given value.
func (o *ContainerRegistryRequest) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *ContainerRegistryRequest) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ContainerRegistryRequest) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *ContainerRegistryRequest) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *ContainerRegistryRequest) GetUrl() string
GetUrl returns the Url field if non-nil, zero value otherwise.
func (o *ContainerRegistryRequest) 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.
func (o *ContainerRegistryRequest) SetUrl(v string)
SetUrl sets Url field to given value.
func (o *ContainerRegistryRequest) HasUrl() bool
HasUrl returns a boolean if a field has been set.
func (o *ContainerRegistryRequest) GetConfig() ContainerRegistryRequestConfig
GetConfig returns the Config field if non-nil, zero value otherwise.
func (o *ContainerRegistryRequest) GetConfigOk() (*ContainerRegistryRequestConfig, bool)
GetConfigOk returns a tuple with the Config field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ContainerRegistryRequest) SetConfig(v ContainerRegistryRequestConfig)
SetConfig sets Config field to given value.