Class: Ansible::Ruby::Modules::Osx_defaults

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/extras/system/osx_defaults.rb

Instance Method Summary collapse

Methods inherited from Base

#to_h

Methods inherited from Ansible::Ruby::Models::Base

attr_option, attr_options, attribute, #initialize, #to_h, validates

Constructor Details

This class inherits a constructor from Ansible::Ruby::Models::Base

Instance Method Details

#array_addBoolean?

Returns Add new elements to the array for a key which has an array as its value.

Returns:

  • (Boolean, nil)

    Add new elements to the array for a key which has an array as its value.



26
# File 'lib/ansible/ruby/modules/generated/extras/system/osx_defaults.rb', line 26

attribute :array_add

#domainString?

Returns The domain is a domain name of the form com.companyname.appname.

Returns:

  • (String, nil)

    The domain is a domain name of the form com.companyname.appname.



10
# File 'lib/ansible/ruby/modules/generated/extras/system/osx_defaults.rb', line 10

attribute :domain

#hostString?

Returns The host on which the preference should apply. The special value “currentHost” corresponds to the “-currentHost” switch of the defaults commandline tool.

Returns:

  • (String, nil)

    The host on which the preference should apply. The special value “currentHost” corresponds to the “-currentHost” switch of the defaults commandline tool.



14
# File 'lib/ansible/ruby/modules/generated/extras/system/osx_defaults.rb', line 14

attribute :host

#keyString

Returns The key of the user preference.

Returns:

  • (String)

    The key of the user preference



18
# File 'lib/ansible/ruby/modules/generated/extras/system/osx_defaults.rb', line 18

attribute :key

#state:present, ...

Returns The state of the user defaults.

Returns:

  • (:present, :absent, nil)

    The state of the user defaults



34
# File 'lib/ansible/ruby/modules/generated/extras/system/osx_defaults.rb', line 34

attribute :state

#type:array, ...

Returns The type of value to write.

Returns:

  • (:array, :bool, :boolean, :date, :float, :int, :integer, :string, nil)

    The type of value to write.



22
# File 'lib/ansible/ruby/modules/generated/extras/system/osx_defaults.rb', line 22

attribute :type

#valueArray<String>, ...

Returns The value to write. Only required when state = present.

Returns:

  • (Array<String>, String, nil)

    The value to write. Only required when state = present.



30
# File 'lib/ansible/ruby/modules/generated/extras/system/osx_defaults.rb', line 30

attribute :value