Class: Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::ContactDetails
- Inherits:
-
Object
- Object
- Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::ContactDetails
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-08-01/generated/azure_mgmt_databoxedge/models/contact_details.rb
Overview
Contains all the contact details of the customer.
Instance Attribute Summary collapse
-
#company_name ⇒ String
The name of the company.
-
#contact_person ⇒ String
The contact person name.
-
#email_list ⇒ Array<String>
The email list.
-
#phone ⇒ String
The phone number.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ContactDetails class as Ruby Hash.
Instance Attribute Details
#company_name ⇒ String
Returns The name of the company.
19 20 21 |
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/models/contact_details.rb', line 19 def company_name @company_name end |
#contact_person ⇒ String
Returns The contact person name.
16 17 18 |
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/models/contact_details.rb', line 16 def contact_person @contact_person end |
#email_list ⇒ Array<String>
Returns The email list.
25 26 27 |
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/models/contact_details.rb', line 25 def email_list @email_list end |
#phone ⇒ String
Returns The phone number.
22 23 24 |
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/models/contact_details.rb', line 22 def phone @phone end |
Class Method Details
.mapper ⇒ Object
Mapper for ContactDetails class as Ruby Hash. This will be used for serialization/deserialization.
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 |
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/models/contact_details.rb', line 32 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ContactDetails', type: { name: 'Composite', class_name: 'ContactDetails', model_properties: { contact_person: { client_side_validation: true, required: true, serialized_name: 'contactPerson', type: { name: 'String' } }, company_name: { client_side_validation: true, required: true, serialized_name: 'companyName', type: { name: 'String' } }, phone: { client_side_validation: true, required: true, serialized_name: 'phone', type: { name: 'String' } }, email_list: { client_side_validation: true, required: true, serialized_name: 'emailList', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } } } } } end |