PutObjectLockConfigurationRequest
Last updated
Last updated
Name | Type | Description | Notes |
---|---|---|---|
func NewPutObjectLockConfigurationRequest() *PutObjectLockConfigurationRequest
NewPutObjectLockConfigurationRequest instantiates a new PutObjectLockConfigurationRequest 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 NewPutObjectLockConfigurationRequestWithDefaults() *PutObjectLockConfigurationRequest
NewPutObjectLockConfigurationRequestWithDefaults instantiates a new PutObjectLockConfigurationRequest 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 *PutObjectLockConfigurationRequest) GetObjectLockEnabled() string
GetObjectLockEnabled returns the ObjectLockEnabled field if non-nil, zero value otherwise.
func (o *PutObjectLockConfigurationRequest) GetObjectLockEnabledOk() (*string, bool)
GetObjectLockEnabledOk returns a tuple with the ObjectLockEnabled field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PutObjectLockConfigurationRequest) SetObjectLockEnabled(v string)
SetObjectLockEnabled sets ObjectLockEnabled field to given value.
func (o *PutObjectLockConfigurationRequest) HasObjectLockEnabled() bool
HasObjectLockEnabled returns a boolean if a field has been set.
func (o *PutObjectLockConfigurationRequest) GetRule() PutObjectLockConfigurationRequestRule
GetRule returns the Rule field if non-nil, zero value otherwise.
func (o *PutObjectLockConfigurationRequest) GetRuleOk() (*PutObjectLockConfigurationRequestRule, bool)
GetRuleOk returns a tuple with the Rule field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PutObjectLockConfigurationRequest) SetRule(v PutObjectLockConfigurationRequestRule)
SetRule sets Rule field to given value.
func (o *PutObjectLockConfigurationRequest) HasRule() bool
HasRule returns a boolean if a field has been set.
ObjectLockEnabled
Pointer to string
[optional]
Rule
Pointer to PutObjectLockConfigurationRequestRule
[optional]