class Azure::Support::Mgmt::V2020_04_01::Models::CommunicationDetails
Object that represents a Communication resource.
Attributes
@return [String] Body of the communication.
@return [CommunicationDirection] Direction of communication. Possible values include: 'inbound', 'outbound'
@return [CommunicationType] Communication type. Possible values include: 'web', 'phone'
@return [DateTime] Time in UTC (ISO 8601 format) when the communication was created.
@return [String] Id of the resource.
@return [String] Name of the resource.
@return [String] Email address of the sender. This property is required if called by a service principal.
@return [String] Subject of the communication.
@return [String] Type
of the resource 'Microsoft.Support/communications'.
Private Class Methods
Mapper for CommunicationDetails
class as Ruby Hash. This will be used for serialization/deserialization.
# 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