Class: Ansible::Ruby::Modules::Hipchat

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/extras/notification/hipchat.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

#apiString?

Returns API url if using a self-hosted hipchat server. For hipchat api version 2 use C(/v2) path in URI.

Returns:

  • (String, nil)

    API url if using a self-hosted hipchat server. For hipchat api version 2 use C(/v2) path in URI



42
# File 'lib/ansible/ruby/modules/generated/extras/notification/hipchat.rb', line 42

attribute :api

#color:yellow, ...

Returns Background color for the message. Default is yellow.

Returns:

  • (:yellow, :red, :green, :purple, :gray, :random, nil)

    Background color for the message. Default is yellow.



26
# File 'lib/ansible/ruby/modules/generated/extras/notification/hipchat.rb', line 26

attribute :color

#fromString?

Returns Name the message will appear be sent from. max 15 characters. Over 15, will be shorten.

Returns:

  • (String, nil)

    Name the message will appear be sent from. max 15 characters. Over 15, will be shorten.



18
# File 'lib/ansible/ruby/modules/generated/extras/notification/hipchat.rb', line 18

attribute :from

#msgString

Returns The message body.

Returns:

  • (String)

    The message body.



22
# File 'lib/ansible/ruby/modules/generated/extras/notification/hipchat.rb', line 22

attribute :msg

#msg_format:text, ...

Returns message format. html or text. Default is text.

Returns:

  • (:text, :html, nil)

    message format. html or text. Default is text.



30
# File 'lib/ansible/ruby/modules/generated/extras/notification/hipchat.rb', line 30

attribute :msg_format

#notify:yes, ...

Returns notify or not (change the tab color, play a sound, etc).

Returns:

  • (:yes, :no, nil)

    notify or not (change the tab color, play a sound, etc)



34
# File 'lib/ansible/ruby/modules/generated/extras/notification/hipchat.rb', line 34

attribute :notify

#roomString

Returns ID or name of the room.

Returns:

  • (String)

    ID or name of the room.



14
# File 'lib/ansible/ruby/modules/generated/extras/notification/hipchat.rb', line 14

attribute :room

#tokenString

Returns API token.

Returns:

  • (String)

    API token.



10
# File 'lib/ansible/ruby/modules/generated/extras/notification/hipchat.rb', line 10

attribute :token

#validate_certs:yes, ...

Returns If C(no), SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates.

Returns:

  • (:yes, :no, nil)

    If C(no), SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates.



38
# File 'lib/ansible/ruby/modules/generated/extras/notification/hipchat.rb', line 38

attribute :validate_certs