Class: Qismo::WebhookRequests::OnCustomButtonClicked
- Defined in:
- lib/qismo/webhook_requests/on_custom_button_clicked.rb
Overview
Custom button webhook object
Defined Under Namespace
Classes: AdditionalInfo, Agent, Customer, Tag
Constant Summary
Constants included from Types
Types::Bool, Types::Hash, Types::Int, Types::String
Instance Attribute Summary collapse
- #additional_info ⇒ Array<AdditionalInfo> readonly
- #agent ⇒ Agent readonly
- #channel_id ⇒ Integer readonly
- #channel_name ⇒ String readonly
- #channel_type ⇒ String readonly
- #customer ⇒ Customer readonly
- #notes ⇒ String readonly
- #room_id ⇒ Integer readonly
- #tag ⇒ Array<Tag> readonly
Method Summary
Methods inherited from Object
Instance Attribute Details
#additional_info ⇒ Array<AdditionalInfo> (readonly)
23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 |
# File 'lib/qismo/webhook_requests/on_custom_button_clicked.rb', line 23 class OnCustomButtonClicked < Qismo::Object # Custom button webhook additional info object # # @!attribute [r] key # @return [String] # @!attribute [r] value # @return [String,Integer,TrueClass,FalseClass] class AdditionalInfo < Qismo::Object attribute? :key, Types::String.optional attribute? :value, (Types::String.optional | Types::Int.optional | Types::Params::Bool.optional) end # Custom button webhook agent object # # @!attribute [r] email # @return [String] # @!attribute [r] name # @return [String] # @!attribute [r] type # @return [String] class Agent < Qismo::Object attribute? :email, Types::String.optional attribute? :name, Types::String.optional attribute? :type, Types::String.optional end # Custom webhook customer object # # @!attribute [r] avatar # @return [String] # @!attribute [r] name # @return [String] # @!attribute [r] user_id # @return [String] class Customer < Qismo::Object attribute? :avatar, Types::String.optional attribute? :name, Types::String.optional attribute? :user_id, Types::String.optional end # Custom button webhook tag object # # @!attribute [r] id # @return [Integer] # @!attribute [r] name # @return [String] # @!attribute [r] created_at # @return [String] # @!attribute [r] updated_at # @return [String] # @!attribute [r] room_tag_created_at # @return [String] class Tag < Qismo::Object attribute? :id, Types::Int.optional attribute? :name, Types::String.optional attribute? :created_at, Types::String.optional attribute? :updated_at, Types::String.optional attribute? :room_tag_created, Types::String.optional end attribute? :additional_info, Types.Array(AdditionalInfo.optional).optional attribute? :agent, Agent.optional attribute? :channel_id, Types::Int.optional attribute? :channel_name, Types::String.optional attribute? :channel_type, Types::String.optional attribute? :customer, Customer.optional attribute? :notes, Types::String.optional attribute? :room_id, Types::Int.optional attribute? :tag, Types.Array(Tag.optional).optional end |
#agent ⇒ Agent (readonly)
23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 |
# File 'lib/qismo/webhook_requests/on_custom_button_clicked.rb', line 23 class OnCustomButtonClicked < Qismo::Object # Custom button webhook additional info object # # @!attribute [r] key # @return [String] # @!attribute [r] value # @return [String,Integer,TrueClass,FalseClass] class AdditionalInfo < Qismo::Object attribute? :key, Types::String.optional attribute? :value, (Types::String.optional | Types::Int.optional | Types::Params::Bool.optional) end # Custom button webhook agent object # # @!attribute [r] email # @return [String] # @!attribute [r] name # @return [String] # @!attribute [r] type # @return [String] class Agent < Qismo::Object attribute? :email, Types::String.optional attribute? :name, Types::String.optional attribute? :type, Types::String.optional end # Custom webhook customer object # # @!attribute [r] avatar # @return [String] # @!attribute [r] name # @return [String] # @!attribute [r] user_id # @return [String] class Customer < Qismo::Object attribute? :avatar, Types::String.optional attribute? :name, Types::String.optional attribute? :user_id, Types::String.optional end # Custom button webhook tag object # # @!attribute [r] id # @return [Integer] # @!attribute [r] name # @return [String] # @!attribute [r] created_at # @return [String] # @!attribute [r] updated_at # @return [String] # @!attribute [r] room_tag_created_at # @return [String] class Tag < Qismo::Object attribute? :id, Types::Int.optional attribute? :name, Types::String.optional attribute? :created_at, Types::String.optional attribute? :updated_at, Types::String.optional attribute? :room_tag_created, Types::String.optional end attribute? :additional_info, Types.Array(AdditionalInfo.optional).optional attribute? :agent, Agent.optional attribute? :channel_id, Types::Int.optional attribute? :channel_name, Types::String.optional attribute? :channel_type, Types::String.optional attribute? :customer, Customer.optional attribute? :notes, Types::String.optional attribute? :room_id, Types::Int.optional attribute? :tag, Types.Array(Tag.optional).optional end |
#channel_id ⇒ Integer (readonly)
23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 |
# File 'lib/qismo/webhook_requests/on_custom_button_clicked.rb', line 23 class OnCustomButtonClicked < Qismo::Object # Custom button webhook additional info object # # @!attribute [r] key # @return [String] # @!attribute [r] value # @return [String,Integer,TrueClass,FalseClass] class AdditionalInfo < Qismo::Object attribute? :key, Types::String.optional attribute? :value, (Types::String.optional | Types::Int.optional | Types::Params::Bool.optional) end # Custom button webhook agent object # # @!attribute [r] email # @return [String] # @!attribute [r] name # @return [String] # @!attribute [r] type # @return [String] class Agent < Qismo::Object attribute? :email, Types::String.optional attribute? :name, Types::String.optional attribute? :type, Types::String.optional end # Custom webhook customer object # # @!attribute [r] avatar # @return [String] # @!attribute [r] name # @return [String] # @!attribute [r] user_id # @return [String] class Customer < Qismo::Object attribute? :avatar, Types::String.optional attribute? :name, Types::String.optional attribute? :user_id, Types::String.optional end # Custom button webhook tag object # # @!attribute [r] id # @return [Integer] # @!attribute [r] name # @return [String] # @!attribute [r] created_at # @return [String] # @!attribute [r] updated_at # @return [String] # @!attribute [r] room_tag_created_at # @return [String] class Tag < Qismo::Object attribute? :id, Types::Int.optional attribute? :name, Types::String.optional attribute? :created_at, Types::String.optional attribute? :updated_at, Types::String.optional attribute? :room_tag_created, Types::String.optional end attribute? :additional_info, Types.Array(AdditionalInfo.optional).optional attribute? :agent, Agent.optional attribute? :channel_id, Types::Int.optional attribute? :channel_name, Types::String.optional attribute? :channel_type, Types::String.optional attribute? :customer, Customer.optional attribute? :notes, Types::String.optional attribute? :room_id, Types::Int.optional attribute? :tag, Types.Array(Tag.optional).optional end |
#channel_name ⇒ String (readonly)
23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 |
# File 'lib/qismo/webhook_requests/on_custom_button_clicked.rb', line 23 class OnCustomButtonClicked < Qismo::Object # Custom button webhook additional info object # # @!attribute [r] key # @return [String] # @!attribute [r] value # @return [String,Integer,TrueClass,FalseClass] class AdditionalInfo < Qismo::Object attribute? :key, Types::String.optional attribute? :value, (Types::String.optional | Types::Int.optional | Types::Params::Bool.optional) end # Custom button webhook agent object # # @!attribute [r] email # @return [String] # @!attribute [r] name # @return [String] # @!attribute [r] type # @return [String] class Agent < Qismo::Object attribute? :email, Types::String.optional attribute? :name, Types::String.optional attribute? :type, Types::String.optional end # Custom webhook customer object # # @!attribute [r] avatar # @return [String] # @!attribute [r] name # @return [String] # @!attribute [r] user_id # @return [String] class Customer < Qismo::Object attribute? :avatar, Types::String.optional attribute? :name, Types::String.optional attribute? :user_id, Types::String.optional end # Custom button webhook tag object # # @!attribute [r] id # @return [Integer] # @!attribute [r] name # @return [String] # @!attribute [r] created_at # @return [String] # @!attribute [r] updated_at # @return [String] # @!attribute [r] room_tag_created_at # @return [String] class Tag < Qismo::Object attribute? :id, Types::Int.optional attribute? :name, Types::String.optional attribute? :created_at, Types::String.optional attribute? :updated_at, Types::String.optional attribute? :room_tag_created, Types::String.optional end attribute? :additional_info, Types.Array(AdditionalInfo.optional).optional attribute? :agent, Agent.optional attribute? :channel_id, Types::Int.optional attribute? :channel_name, Types::String.optional attribute? :channel_type, Types::String.optional attribute? :customer, Customer.optional attribute? :notes, Types::String.optional attribute? :room_id, Types::Int.optional attribute? :tag, Types.Array(Tag.optional).optional end |
#channel_type ⇒ String (readonly)
23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 |
# File 'lib/qismo/webhook_requests/on_custom_button_clicked.rb', line 23 class OnCustomButtonClicked < Qismo::Object # Custom button webhook additional info object # # @!attribute [r] key # @return [String] # @!attribute [r] value # @return [String,Integer,TrueClass,FalseClass] class AdditionalInfo < Qismo::Object attribute? :key, Types::String.optional attribute? :value, (Types::String.optional | Types::Int.optional | Types::Params::Bool.optional) end # Custom button webhook agent object # # @!attribute [r] email # @return [String] # @!attribute [r] name # @return [String] # @!attribute [r] type # @return [String] class Agent < Qismo::Object attribute? :email, Types::String.optional attribute? :name, Types::String.optional attribute? :type, Types::String.optional end # Custom webhook customer object # # @!attribute [r] avatar # @return [String] # @!attribute [r] name # @return [String] # @!attribute [r] user_id # @return [String] class Customer < Qismo::Object attribute? :avatar, Types::String.optional attribute? :name, Types::String.optional attribute? :user_id, Types::String.optional end # Custom button webhook tag object # # @!attribute [r] id # @return [Integer] # @!attribute [r] name # @return [String] # @!attribute [r] created_at # @return [String] # @!attribute [r] updated_at # @return [String] # @!attribute [r] room_tag_created_at # @return [String] class Tag < Qismo::Object attribute? :id, Types::Int.optional attribute? :name, Types::String.optional attribute? :created_at, Types::String.optional attribute? :updated_at, Types::String.optional attribute? :room_tag_created, Types::String.optional end attribute? :additional_info, Types.Array(AdditionalInfo.optional).optional attribute? :agent, Agent.optional attribute? :channel_id, Types::Int.optional attribute? :channel_name, Types::String.optional attribute? :channel_type, Types::String.optional attribute? :customer, Customer.optional attribute? :notes, Types::String.optional attribute? :room_id, Types::Int.optional attribute? :tag, Types.Array(Tag.optional).optional end |
#customer ⇒ Customer (readonly)
23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 |
# File 'lib/qismo/webhook_requests/on_custom_button_clicked.rb', line 23 class OnCustomButtonClicked < Qismo::Object # Custom button webhook additional info object # # @!attribute [r] key # @return [String] # @!attribute [r] value # @return [String,Integer,TrueClass,FalseClass] class AdditionalInfo < Qismo::Object attribute? :key, Types::String.optional attribute? :value, (Types::String.optional | Types::Int.optional | Types::Params::Bool.optional) end # Custom button webhook agent object # # @!attribute [r] email # @return [String] # @!attribute [r] name # @return [String] # @!attribute [r] type # @return [String] class Agent < Qismo::Object attribute? :email, Types::String.optional attribute? :name, Types::String.optional attribute? :type, Types::String.optional end # Custom webhook customer object # # @!attribute [r] avatar # @return [String] # @!attribute [r] name # @return [String] # @!attribute [r] user_id # @return [String] class Customer < Qismo::Object attribute? :avatar, Types::String.optional attribute? :name, Types::String.optional attribute? :user_id, Types::String.optional end # Custom button webhook tag object # # @!attribute [r] id # @return [Integer] # @!attribute [r] name # @return [String] # @!attribute [r] created_at # @return [String] # @!attribute [r] updated_at # @return [String] # @!attribute [r] room_tag_created_at # @return [String] class Tag < Qismo::Object attribute? :id, Types::Int.optional attribute? :name, Types::String.optional attribute? :created_at, Types::String.optional attribute? :updated_at, Types::String.optional attribute? :room_tag_created, Types::String.optional end attribute? :additional_info, Types.Array(AdditionalInfo.optional).optional attribute? :agent, Agent.optional attribute? :channel_id, Types::Int.optional attribute? :channel_name, Types::String.optional attribute? :channel_type, Types::String.optional attribute? :customer, Customer.optional attribute? :notes, Types::String.optional attribute? :room_id, Types::Int.optional attribute? :tag, Types.Array(Tag.optional).optional end |
#notes ⇒ String (readonly)
23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 |
# File 'lib/qismo/webhook_requests/on_custom_button_clicked.rb', line 23 class OnCustomButtonClicked < Qismo::Object # Custom button webhook additional info object # # @!attribute [r] key # @return [String] # @!attribute [r] value # @return [String,Integer,TrueClass,FalseClass] class AdditionalInfo < Qismo::Object attribute? :key, Types::String.optional attribute? :value, (Types::String.optional | Types::Int.optional | Types::Params::Bool.optional) end # Custom button webhook agent object # # @!attribute [r] email # @return [String] # @!attribute [r] name # @return [String] # @!attribute [r] type # @return [String] class Agent < Qismo::Object attribute? :email, Types::String.optional attribute? :name, Types::String.optional attribute? :type, Types::String.optional end # Custom webhook customer object # # @!attribute [r] avatar # @return [String] # @!attribute [r] name # @return [String] # @!attribute [r] user_id # @return [String] class Customer < Qismo::Object attribute? :avatar, Types::String.optional attribute? :name, Types::String.optional attribute? :user_id, Types::String.optional end # Custom button webhook tag object # # @!attribute [r] id # @return [Integer] # @!attribute [r] name # @return [String] # @!attribute [r] created_at # @return [String] # @!attribute [r] updated_at # @return [String] # @!attribute [r] room_tag_created_at # @return [String] class Tag < Qismo::Object attribute? :id, Types::Int.optional attribute? :name, Types::String.optional attribute? :created_at, Types::String.optional attribute? :updated_at, Types::String.optional attribute? :room_tag_created, Types::String.optional end attribute? :additional_info, Types.Array(AdditionalInfo.optional).optional attribute? :agent, Agent.optional attribute? :channel_id, Types::Int.optional attribute? :channel_name, Types::String.optional attribute? :channel_type, Types::String.optional attribute? :customer, Customer.optional attribute? :notes, Types::String.optional attribute? :room_id, Types::Int.optional attribute? :tag, Types.Array(Tag.optional).optional end |
#room_id ⇒ Integer (readonly)
23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 |
# File 'lib/qismo/webhook_requests/on_custom_button_clicked.rb', line 23 class OnCustomButtonClicked < Qismo::Object # Custom button webhook additional info object # # @!attribute [r] key # @return [String] # @!attribute [r] value # @return [String,Integer,TrueClass,FalseClass] class AdditionalInfo < Qismo::Object attribute? :key, Types::String.optional attribute? :value, (Types::String.optional | Types::Int.optional | Types::Params::Bool.optional) end # Custom button webhook agent object # # @!attribute [r] email # @return [String] # @!attribute [r] name # @return [String] # @!attribute [r] type # @return [String] class Agent < Qismo::Object attribute? :email, Types::String.optional attribute? :name, Types::String.optional attribute? :type, Types::String.optional end # Custom webhook customer object # # @!attribute [r] avatar # @return [String] # @!attribute [r] name # @return [String] # @!attribute [r] user_id # @return [String] class Customer < Qismo::Object attribute? :avatar, Types::String.optional attribute? :name, Types::String.optional attribute? :user_id, Types::String.optional end # Custom button webhook tag object # # @!attribute [r] id # @return [Integer] # @!attribute [r] name # @return [String] # @!attribute [r] created_at # @return [String] # @!attribute [r] updated_at # @return [String] # @!attribute [r] room_tag_created_at # @return [String] class Tag < Qismo::Object attribute? :id, Types::Int.optional attribute? :name, Types::String.optional attribute? :created_at, Types::String.optional attribute? :updated_at, Types::String.optional attribute? :room_tag_created, Types::String.optional end attribute? :additional_info, Types.Array(AdditionalInfo.optional).optional attribute? :agent, Agent.optional attribute? :channel_id, Types::Int.optional attribute? :channel_name, Types::String.optional attribute? :channel_type, Types::String.optional attribute? :customer, Customer.optional attribute? :notes, Types::String.optional attribute? :room_id, Types::Int.optional attribute? :tag, Types.Array(Tag.optional).optional end |
#tag ⇒ Array<Tag> (readonly)
23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 |
# File 'lib/qismo/webhook_requests/on_custom_button_clicked.rb', line 23 class OnCustomButtonClicked < Qismo::Object # Custom button webhook additional info object # # @!attribute [r] key # @return [String] # @!attribute [r] value # @return [String,Integer,TrueClass,FalseClass] class AdditionalInfo < Qismo::Object attribute? :key, Types::String.optional attribute? :value, (Types::String.optional | Types::Int.optional | Types::Params::Bool.optional) end # Custom button webhook agent object # # @!attribute [r] email # @return [String] # @!attribute [r] name # @return [String] # @!attribute [r] type # @return [String] class Agent < Qismo::Object attribute? :email, Types::String.optional attribute? :name, Types::String.optional attribute? :type, Types::String.optional end # Custom webhook customer object # # @!attribute [r] avatar # @return [String] # @!attribute [r] name # @return [String] # @!attribute [r] user_id # @return [String] class Customer < Qismo::Object attribute? :avatar, Types::String.optional attribute? :name, Types::String.optional attribute? :user_id, Types::String.optional end # Custom button webhook tag object # # @!attribute [r] id # @return [Integer] # @!attribute [r] name # @return [String] # @!attribute [r] created_at # @return [String] # @!attribute [r] updated_at # @return [String] # @!attribute [r] room_tag_created_at # @return [String] class Tag < Qismo::Object attribute? :id, Types::Int.optional attribute? :name, Types::String.optional attribute? :created_at, Types::String.optional attribute? :updated_at, Types::String.optional attribute? :room_tag_created, Types::String.optional end attribute? :additional_info, Types.Array(AdditionalInfo.optional).optional attribute? :agent, Agent.optional attribute? :channel_id, Types::Int.optional attribute? :channel_name, Types::String.optional attribute? :channel_type, Types::String.optional attribute? :customer, Customer.optional attribute? :notes, Types::String.optional attribute? :room_id, Types::Int.optional attribute? :tag, Types.Array(Tag.optional).optional end |