Class: ICWS::Status::StatusMessage
- Inherits:
-
Object
- Object
- ICWS::Status::StatusMessage
- Defined in:
- lib/icws/status/statusmessage.rb
Instance Attribute Summary collapse
-
#can_have_date ⇒ Object
readonly
Returns the value of attribute can_have_date.
-
#can_have_time ⇒ Object
readonly
Returns the value of attribute can_have_time.
-
#group_tag ⇒ Object
readonly
Returns the value of attribute group_tag.
-
#icon_uri ⇒ Object
readonly
Returns the value of attribute icon_uri.
-
#is_acd_status ⇒ Object
readonly
Returns the value of attribute is_acd_status.
-
#is_after_call_work_status ⇒ Object
readonly
Returns the value of attribute is_after_call_work_status.
-
#is_allow_follow_up_status ⇒ Object
readonly
Returns the value of attribute is_allow_follow_up_status.
-
#is_do_not_disturb_status ⇒ Object
readonly
Returns the value of attribute is_do_not_disturb_status.
-
#is_forward_status ⇒ Object
readonly
Returns the value of attribute is_forward_status.
-
#is_persistent_status ⇒ Object
readonly
Returns the value of attribute is_persistent_status.
-
#is_selectable_status ⇒ Object
readonly
Returns the value of attribute is_selectable_status.
-
#message_text ⇒ Object
readonly
Returns the value of attribute message_text.
-
#status_id ⇒ Object
readonly
Returns the value of attribute status_id.
-
#system_id ⇒ Object
readonly
Returns the value of attribute system_id.
Instance Method Summary collapse
-
#initialize(property_map) ⇒ StatusMessage
constructor
A new instance of StatusMessage.
- #to_s ⇒ Object
Constructor Details
#initialize(property_map) ⇒ StatusMessage
19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 |
# File 'lib/icws/status/statusmessage.rb', line 19 def initialize(property_map) @status_id = property_map['statusId'] = property_map['messageText'] @icon_uri = property_map['iconUri'] @group_tag = property_map['groupTag'] @can_have_date = property_map['canHaveDate'] @can_have_time = property_map['canHaveTime'] @is_do_not_disturb_status = property_map['isDoNotDisturbStatus'] @is_selectable_status = property_map['isSelectableStatus'] @is_fersistent_status = property_map['isPersistentStatus'] @is_forward_status = property_map['isForwardStatus'] @is_after_call_work_status = property_map['isAfterCallWorkStatus'] @is_acd_status = property_map['isAcdStatus'] @is_allow_follow_up_status = property_map['isAllowFollowUpStatus'] @system_id = property_map['systemId'] end |
Instance Attribute Details
#can_have_date ⇒ Object (readonly)
Returns the value of attribute can_have_date.
8 9 10 |
# File 'lib/icws/status/statusmessage.rb', line 8 def can_have_date @can_have_date end |
#can_have_time ⇒ Object (readonly)
Returns the value of attribute can_have_time.
9 10 11 |
# File 'lib/icws/status/statusmessage.rb', line 9 def can_have_time @can_have_time end |
#group_tag ⇒ Object (readonly)
Returns the value of attribute group_tag.
7 8 9 |
# File 'lib/icws/status/statusmessage.rb', line 7 def group_tag @group_tag end |
#icon_uri ⇒ Object (readonly)
Returns the value of attribute icon_uri.
6 7 8 |
# File 'lib/icws/status/statusmessage.rb', line 6 def icon_uri @icon_uri end |
#is_acd_status ⇒ Object (readonly)
Returns the value of attribute is_acd_status.
15 16 17 |
# File 'lib/icws/status/statusmessage.rb', line 15 def is_acd_status @is_acd_status end |
#is_after_call_work_status ⇒ Object (readonly)
Returns the value of attribute is_after_call_work_status.
14 15 16 |
# File 'lib/icws/status/statusmessage.rb', line 14 def is_after_call_work_status @is_after_call_work_status end |
#is_allow_follow_up_status ⇒ Object (readonly)
Returns the value of attribute is_allow_follow_up_status.
16 17 18 |
# File 'lib/icws/status/statusmessage.rb', line 16 def is_allow_follow_up_status @is_allow_follow_up_status end |
#is_do_not_disturb_status ⇒ Object (readonly)
Returns the value of attribute is_do_not_disturb_status.
10 11 12 |
# File 'lib/icws/status/statusmessage.rb', line 10 def is_do_not_disturb_status @is_do_not_disturb_status end |
#is_forward_status ⇒ Object (readonly)
Returns the value of attribute is_forward_status.
13 14 15 |
# File 'lib/icws/status/statusmessage.rb', line 13 def is_forward_status @is_forward_status end |
#is_persistent_status ⇒ Object (readonly)
Returns the value of attribute is_persistent_status.
12 13 14 |
# File 'lib/icws/status/statusmessage.rb', line 12 def is_persistent_status @is_persistent_status end |
#is_selectable_status ⇒ Object (readonly)
Returns the value of attribute is_selectable_status.
11 12 13 |
# File 'lib/icws/status/statusmessage.rb', line 11 def is_selectable_status @is_selectable_status end |
#message_text ⇒ Object (readonly)
Returns the value of attribute message_text.
5 6 7 |
# File 'lib/icws/status/statusmessage.rb', line 5 def end |
#status_id ⇒ Object (readonly)
Returns the value of attribute status_id.
4 5 6 |
# File 'lib/icws/status/statusmessage.rb', line 4 def status_id @status_id end |
#system_id ⇒ Object (readonly)
Returns the value of attribute system_id.
17 18 19 |
# File 'lib/icws/status/statusmessage.rb', line 17 def system_id @system_id end |
Instance Method Details
#to_s ⇒ Object
36 37 38 |
# File 'lib/icws/status/statusmessage.rb', line 36 def to_s status_id + ', ' + + ',' + icon_uri end |