Name | Type | Description | Notes |
---|---|---|---|
Kind | string | The resource kind | |
string | Email based matching for the consumers |
func NewCdxV1EmailConsumerRestriction(kind string, email string, ) *CdxV1EmailConsumerRestriction
NewCdxV1EmailConsumerRestriction instantiates a new CdxV1EmailConsumerRestriction 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 NewCdxV1EmailConsumerRestrictionWithDefaults() *CdxV1EmailConsumerRestriction
NewCdxV1EmailConsumerRestrictionWithDefaults instantiates a new CdxV1EmailConsumerRestriction 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 *CdxV1EmailConsumerRestriction) GetKind() string
GetKind returns the Kind field if non-nil, zero value otherwise.
func (o *CdxV1EmailConsumerRestriction) GetKindOk() (*string, 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 *CdxV1EmailConsumerRestriction) SetKind(v string)
SetKind sets Kind field to given value.
func (o *CdxV1EmailConsumerRestriction) GetEmail() string
GetEmail returns the Email field if non-nil, zero value otherwise.
func (o *CdxV1EmailConsumerRestriction) GetEmailOk() (*string, bool)
GetEmailOk returns a tuple with the Email field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CdxV1EmailConsumerRestriction) SetEmail(v string)
SetEmail sets Email field to given value.
func (s *CdxV1EmailConsumerRestriction) AsCdxV1CreateProviderShareRequestConsumerRestrictionOneOf() CdxV1CreateProviderShareRequestConsumerRestrictionOneOf
Convenience method to wrap this instance of CdxV1EmailConsumerRestriction in CdxV1CreateProviderShareRequestConsumerRestrictionOneOf
func (s *CdxV1EmailConsumerRestriction) AsCdxV1ProviderShareConsumerRestrictionOneOf() CdxV1ProviderShareConsumerRestrictionOneOf
Convenience method to wrap this instance of CdxV1EmailConsumerRestriction in CdxV1ProviderShareConsumerRestrictionOneOf