Class: Qismo::WebhookRequests::OnRoomResolved

Inherits:
Object
  • Object
show all
Defined in:
lib/qismo/webhook_requests/on_room_resolved.rb

Overview

Room resolve webhook object

Defined Under Namespace

Classes: AdditionalInfo, Customer, ResolvedBy, Service

Constant Summary

Constants included from Types

Types::Bool, Types::Hash, Types::Int, Types::String

Instance Attribute Summary collapse

Method Summary

Methods inherited from Object

from_array

Instance Attribute Details

#customerCustomer (readonly)

Returns:



11
12
13
14
15
16
17
18
19
20
21
22
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
# File 'lib/qismo/webhook_requests/on_room_resolved.rb', line 11

class OnRoomResolved < Qismo::Object
  # Room resolve 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

  # Room resolve webhook customer object
  #
  # @!attribute [r] additional_info
  #   @return [Array<AdditionalInfo>]
  # @!attribute [r] avatar
  #   @return [String]
  # @!attribute [r] name
  #   @return [String]
  # @!attribute [r] user_id
  #   @return [String]
  class Customer < Qismo::Object
    attribute? :additional_info, Types.Array(AdditionalInfo.optional).optional
    attribute? :avatar, Types::String.optional
    attribute? :name, Types::String.optional
    attribute? :user_id, Types::String.optional
  end

  # Room resolve webhook resolved by object
  #
  # @!attribute [r] email
  #   @return [String]
  # @!attribute [r] id
  #   @return [Integer]
  # @!attribute [r] is_available
  #   @return [TrueClass,FalseClass]
  # @!attribute [r] name
  #   @return [String]
  # @!attribute [r] type
  #   @return [String]
  class ResolvedBy < Qismo::Object
    attribute? :email, Types::String.optional
    attribute? :id, Types::Int.optional
    attribute? :is_available, Types::Bool.optional
    attribute? :name, Types::String.optional
    attribute? :type, Types::String.optional
  end

  # Room resolve webhook service object
  #
  # @!attribute [r] first_comment_id
  #   @return [String]
  # @!attribute [r] last_comment_id
  #   @return [String]
  # @!attribute [r] id
  #   @return [Integer]
  # @!attribute [r] is_resolved
  #   @return [TrueClass,FalseClass]
  # @!attribute [r] notes
  #   @return [String]
  # @!attribute [r] room_id
  #   @return [String]
  # @!attribute [r] source
  #   @return [String]
  class Service < Qismo::Object
    attribute? :first_comment_id, Types::String.optional
    attribute? :last_comment_id, Types::String.optional
    attribute? :id, Types::Int.optional
    attribute? :is_resolved, Types::Bool.optional
    attribute? :notes, Types::String.optional
    attribute? :room_id, Types::String.optional
    attribute? :source, Types::String.optional
  end

  attribute? :customer, Customer
  attribute? :resolved_by, ResolvedBy
  attribute? :service, Service
end

#resolved_byResolvedBy (readonly)

Returns:



11
12
13
14
15
16
17
18
19
20
21
22
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
# File 'lib/qismo/webhook_requests/on_room_resolved.rb', line 11

class OnRoomResolved < Qismo::Object
  # Room resolve 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

  # Room resolve webhook customer object
  #
  # @!attribute [r] additional_info
  #   @return [Array<AdditionalInfo>]
  # @!attribute [r] avatar
  #   @return [String]
  # @!attribute [r] name
  #   @return [String]
  # @!attribute [r] user_id
  #   @return [String]
  class Customer < Qismo::Object
    attribute? :additional_info, Types.Array(AdditionalInfo.optional).optional
    attribute? :avatar, Types::String.optional
    attribute? :name, Types::String.optional
    attribute? :user_id, Types::String.optional
  end

  # Room resolve webhook resolved by object
  #
  # @!attribute [r] email
  #   @return [String]
  # @!attribute [r] id
  #   @return [Integer]
  # @!attribute [r] is_available
  #   @return [TrueClass,FalseClass]
  # @!attribute [r] name
  #   @return [String]
  # @!attribute [r] type
  #   @return [String]
  class ResolvedBy < Qismo::Object
    attribute? :email, Types::String.optional
    attribute? :id, Types::Int.optional
    attribute? :is_available, Types::Bool.optional
    attribute? :name, Types::String.optional
    attribute? :type, Types::String.optional
  end

  # Room resolve webhook service object
  #
  # @!attribute [r] first_comment_id
  #   @return [String]
  # @!attribute [r] last_comment_id
  #   @return [String]
  # @!attribute [r] id
  #   @return [Integer]
  # @!attribute [r] is_resolved
  #   @return [TrueClass,FalseClass]
  # @!attribute [r] notes
  #   @return [String]
  # @!attribute [r] room_id
  #   @return [String]
  # @!attribute [r] source
  #   @return [String]
  class Service < Qismo::Object
    attribute? :first_comment_id, Types::String.optional
    attribute? :last_comment_id, Types::String.optional
    attribute? :id, Types::Int.optional
    attribute? :is_resolved, Types::Bool.optional
    attribute? :notes, Types::String.optional
    attribute? :room_id, Types::String.optional
    attribute? :source, Types::String.optional
  end

  attribute? :customer, Customer
  attribute? :resolved_by, ResolvedBy
  attribute? :service, Service
end

#serviceService (readonly)

Returns:



11
12
13
14
15
16
17
18
19
20
21
22
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
# File 'lib/qismo/webhook_requests/on_room_resolved.rb', line 11

class OnRoomResolved < Qismo::Object
  # Room resolve 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

  # Room resolve webhook customer object
  #
  # @!attribute [r] additional_info
  #   @return [Array<AdditionalInfo>]
  # @!attribute [r] avatar
  #   @return [String]
  # @!attribute [r] name
  #   @return [String]
  # @!attribute [r] user_id
  #   @return [String]
  class Customer < Qismo::Object
    attribute? :additional_info, Types.Array(AdditionalInfo.optional).optional
    attribute? :avatar, Types::String.optional
    attribute? :name, Types::String.optional
    attribute? :user_id, Types::String.optional
  end

  # Room resolve webhook resolved by object
  #
  # @!attribute [r] email
  #   @return [String]
  # @!attribute [r] id
  #   @return [Integer]
  # @!attribute [r] is_available
  #   @return [TrueClass,FalseClass]
  # @!attribute [r] name
  #   @return [String]
  # @!attribute [r] type
  #   @return [String]
  class ResolvedBy < Qismo::Object
    attribute? :email, Types::String.optional
    attribute? :id, Types::Int.optional
    attribute? :is_available, Types::Bool.optional
    attribute? :name, Types::String.optional
    attribute? :type, Types::String.optional
  end

  # Room resolve webhook service object
  #
  # @!attribute [r] first_comment_id
  #   @return [String]
  # @!attribute [r] last_comment_id
  #   @return [String]
  # @!attribute [r] id
  #   @return [Integer]
  # @!attribute [r] is_resolved
  #   @return [TrueClass,FalseClass]
  # @!attribute [r] notes
  #   @return [String]
  # @!attribute [r] room_id
  #   @return [String]
  # @!attribute [r] source
  #   @return [String]
  class Service < Qismo::Object
    attribute? :first_comment_id, Types::String.optional
    attribute? :last_comment_id, Types::String.optional
    attribute? :id, Types::Int.optional
    attribute? :is_resolved, Types::Bool.optional
    attribute? :notes, Types::String.optional
    attribute? :room_id, Types::String.optional
    attribute? :source, Types::String.optional
  end

  attribute? :customer, Customer
  attribute? :resolved_by, ResolvedBy
  attribute? :service, Service
end