GetObjectLockConfigurationOutputObjectLockConfiguration

Properties

Name
Type
Description
Notes

ObjectLockEnabled

Pointer to string

[optional]

Rule

Pointer to ObjectLockRule

[optional]

Methods

NewGetObjectLockConfigurationOutputObjectLockConfiguration

func NewGetObjectLockConfigurationOutputObjectLockConfiguration() *GetObjectLockConfigurationOutputObjectLockConfiguration

NewGetObjectLockConfigurationOutputObjectLockConfiguration instantiates a new GetObjectLockConfigurationOutputObjectLockConfiguration 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

NewGetObjectLockConfigurationOutputObjectLockConfigurationWithDefaults

func NewGetObjectLockConfigurationOutputObjectLockConfigurationWithDefaults() *GetObjectLockConfigurationOutputObjectLockConfiguration

NewGetObjectLockConfigurationOutputObjectLockConfigurationWithDefaults instantiates a new GetObjectLockConfigurationOutputObjectLockConfiguration 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

GetObjectLockEnabled

func (o *GetObjectLockConfigurationOutputObjectLockConfiguration) GetObjectLockEnabled() string

GetObjectLockEnabled returns the ObjectLockEnabled field if non-nil, zero value otherwise.

GetObjectLockEnabledOk

func (o *GetObjectLockConfigurationOutputObjectLockConfiguration) 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.

SetObjectLockEnabled

func (o *GetObjectLockConfigurationOutputObjectLockConfiguration) SetObjectLockEnabled(v string)

SetObjectLockEnabled sets ObjectLockEnabled field to given value.

HasObjectLockEnabled

func (o *GetObjectLockConfigurationOutputObjectLockConfiguration) HasObjectLockEnabled() bool

HasObjectLockEnabled returns a boolean if a field has been set.

GetRule

func (o *GetObjectLockConfigurationOutputObjectLockConfiguration) GetRule() ObjectLockRule

GetRule returns the Rule field if non-nil, zero value otherwise.

GetRuleOk

func (o *GetObjectLockConfigurationOutputObjectLockConfiguration) GetRuleOk() (*ObjectLockRule, 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.

SetRule

func (o *GetObjectLockConfigurationOutputObjectLockConfiguration) SetRule(v ObjectLockRule)

SetRule sets Rule field to given value.

HasRule

func (o *GetObjectLockConfigurationOutputObjectLockConfiguration) HasRule() bool

HasRule returns a boolean if a field has been set.

Last updated