Name | Type | Description | Notes |
---|---|---|---|
SharingType | string | ||
Password | Pointer to NullableString | Password with using passwordPublicLink | [optional] |
SharedBy | Pointer to SnapshotOwner | [optional] | |
Members | Pointer to []SnapshotMember | The members who have access to the snapshot | [optional] |
func NewSnapshotSharing(sharingType string, ) *SnapshotSharing
NewSnapshotSharing instantiates a new SnapshotSharing 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 NewSnapshotSharingWithDefaults() *SnapshotSharing
NewSnapshotSharingWithDefaults instantiates a new SnapshotSharing 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 *SnapshotSharing) GetSharingType() string
GetSharingType returns the SharingType field if non-nil, zero value otherwise.
func (o *SnapshotSharing) GetSharingTypeOk() (*string, bool)
GetSharingTypeOk returns a tuple with the SharingType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SnapshotSharing) SetSharingType(v string)
SetSharingType sets SharingType field to given value.
func (o *SnapshotSharing) GetPassword() string
GetPassword returns the Password field if non-nil, zero value otherwise.
func (o *SnapshotSharing) GetPasswordOk() (*string, bool)
GetPasswordOk returns a tuple with the Password field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SnapshotSharing) SetPassword(v string)
SetPassword sets Password field to given value.
func (o *SnapshotSharing) HasPassword() bool
HasPassword returns a boolean if a field has been set.
func (o *SnapshotSharing) SetPasswordNil(b bool)
SetPasswordNil sets the value for Password to be an explicit nil
func (o *SnapshotSharing) UnsetPassword()
UnsetPassword ensures that no value is present for Password, not even an explicit nil
func (o *SnapshotSharing) GetSharedBy() SnapshotOwner
GetSharedBy returns the SharedBy field if non-nil, zero value otherwise.
func (o *SnapshotSharing) GetSharedByOk() (*SnapshotOwner, bool)
GetSharedByOk returns a tuple with the SharedBy field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SnapshotSharing) SetSharedBy(v SnapshotOwner)
SetSharedBy sets SharedBy field to given value.
func (o *SnapshotSharing) HasSharedBy() bool
HasSharedBy returns a boolean if a field has been set.
func (o *SnapshotSharing) GetMembers() []SnapshotMember
GetMembers returns the Members field if non-nil, zero value otherwise.
func (o *SnapshotSharing) GetMembersOk() (*[]SnapshotMember, bool)
GetMembersOk returns a tuple with the Members field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SnapshotSharing) SetMembers(v []SnapshotMember)
SetMembers sets Members field to given value.
func (o *SnapshotSharing) HasMembers() bool
HasMembers returns a boolean if a field has been set.
func (o *SnapshotSharing) SetMembersNil(b bool)
SetMembersNil sets the value for Members to be an explicit nil
func (o *SnapshotSharing) UnsetMembers()
UnsetMembers ensures that no value is present for Members, not even an explicit nil