Class: Azure::Support::Mgmt::V2020_04_01::Models::CommunicationDetails
- Inherits:
-
Object
- Object
- Azure::Support::Mgmt::V2020_04_01::Models::CommunicationDetails
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-04-01/generated/azure_mgmt_support/models/communication_details.rb
Overview
Object that represents a Communication resource.
Instance Attribute Summary collapse
-
#body ⇒ String
Body of the communication.
-
#communication_direction ⇒ CommunicationDirection
values include: ‘inbound’, ‘outbound’.
-
#communication_type ⇒ CommunicationType
include: ‘web’, ‘phone’.
-
#created_date ⇒ DateTime
was created.
-
#id ⇒ String
Id of the resource.
-
#name ⇒ String
Name of the resource.
-
#sender ⇒ String
if called by a service principal.
-
#subject ⇒ String
Subject of the communication.
-
#type ⇒ String
‘Microsoft.Support/communications’.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for CommunicationDetails class as Ruby Hash.
Instance Attribute Details
#body ⇒ String
Returns Body of the communication.
41 42 43 |
# File 'lib/2020-04-01/generated/azure_mgmt_support/models/communication_details.rb', line 41 def body @body end |
#communication_direction ⇒ CommunicationDirection
values include: ‘inbound’, ‘outbound’
31 32 33 |
# File 'lib/2020-04-01/generated/azure_mgmt_support/models/communication_details.rb', line 31 def communication_direction @communication_direction end |
#communication_type ⇒ CommunicationType
include: ‘web’, ‘phone’
27 28 29 |
# File 'lib/2020-04-01/generated/azure_mgmt_support/models/communication_details.rb', line 27 def communication_type @communication_type end |
#created_date ⇒ DateTime
was created.
45 46 47 |
# File 'lib/2020-04-01/generated/azure_mgmt_support/models/communication_details.rb', line 45 def created_date @created_date end |
#id ⇒ String
Returns Id of the resource.
16 17 18 |
# File 'lib/2020-04-01/generated/azure_mgmt_support/models/communication_details.rb', line 16 def id @id end |
#name ⇒ String
Returns Name of the resource.
19 20 21 |
# File 'lib/2020-04-01/generated/azure_mgmt_support/models/communication_details.rb', line 19 def name @name end |
#sender ⇒ String
if called by a service principal.
35 36 37 |
# File 'lib/2020-04-01/generated/azure_mgmt_support/models/communication_details.rb', line 35 def sender @sender end |
#subject ⇒ String
Returns Subject of the communication.
38 39 40 |
# File 'lib/2020-04-01/generated/azure_mgmt_support/models/communication_details.rb', line 38 def subject @subject end |
#type ⇒ String
‘Microsoft.Support/communications’.
23 24 25 |
# File 'lib/2020-04-01/generated/azure_mgmt_support/models/communication_details.rb', line 23 def type @type end |
Class Method Details
.mapper ⇒ Object
Mapper for CommunicationDetails class as Ruby Hash. This will be used for serialization/deserialization.
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 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 |
# File 'lib/2020-04-01/generated/azure_mgmt_support/models/communication_details.rb', line 52 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'CommunicationDetails', type: { name: 'Composite', class_name: 'CommunicationDetails', model_properties: { id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, communication_type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.communicationType', type: { name: 'String' } }, communication_direction: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.communicationDirection', type: { name: 'String' } }, sender: { client_side_validation: true, required: false, serialized_name: 'properties.sender', type: { name: 'String' } }, subject: { client_side_validation: true, required: true, serialized_name: 'properties.subject', type: { name: 'String' } }, body: { client_side_validation: true, required: true, serialized_name: 'properties.body', type: { name: 'String' } }, created_date: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.createdDate', type: { name: 'DateTime' } } } } } end |