class Apps::Outlook::Schema::MultichoiceInput

See: docs.microsoft.com/en-us/outlook/actionable-messages/card-reference#multichoiceinput

Constants

STYLES

Attributes

multiple[RW]
style[RW]

Public Instance Methods

add_choice(name, value) click to toggle source
# File lib/apps/outlook/schema/multichoice_input.rb, line 26
def add_choice(name, value)
  choices[name] = value
end
choices() click to toggle source

`expanded` - radio button list

# File lib/apps/outlook/schema/multichoice_input.rb, line 14
def choices
  @choices ||= {}
end
serialize() click to toggle source
Calls superclass method Apps::Outlook::Schema::Input#serialize
# File lib/apps/outlook/schema/multichoice_input.rb, line 18
def serialize
  super.merge(
    "isMultiSelect" => multiple,
    "style" => style,
    "choices" => serialize_hash(choices, key: 'display')
  )
end