Class: Azure::Automation::Mgmt::V2015_10_31::Models::Connection
- Inherits:
-
ProxyResource
- Object
- Resource
- ProxyResource
- Azure::Automation::Mgmt::V2015_10_31::Models::Connection
- Includes:
- MsRestAzure
- Defined in:
- lib/2015-10-31/generated/azure_mgmt_automation/models/connection.rb
Overview
Definition of the connection.
Instance Attribute Summary collapse
-
#connection_type ⇒ ConnectionTypeAssociationProperty
connectionType of the connection.
-
#creation_time ⇒ DateTime
Gets the creation time.
-
#description ⇒ String
Gets or sets the description.
-
#field_definition_values ⇒ Hash{String => String}
the connection.
-
#last_modified_time ⇒ DateTime
Gets the last modified time.
Attributes inherited from Resource
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for Connection class as Ruby Hash.
Methods inherited from Resource
Instance Attribute Details
#connection_type ⇒ ConnectionTypeAssociationProperty
connectionType of the connection.
17 18 19 |
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/connection.rb', line 17 def connection_type @connection_type end |
#creation_time ⇒ DateTime
Returns Gets the creation time.
24 25 26 |
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/connection.rb', line 24 def creation_time @creation_time end |
#description ⇒ String
Returns Gets or sets the description.
30 31 32 |
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/connection.rb', line 30 def description @description end |
#field_definition_values ⇒ Hash{String => String}
the connection.
21 22 23 |
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/connection.rb', line 21 def field_definition_values @field_definition_values end |
#last_modified_time ⇒ DateTime
Returns Gets the last modified time.
27 28 29 |
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/connection.rb', line 27 def last_modified_time @last_modified_time end |
Class Method Details
.mapper ⇒ Object
Mapper for Connection class as Ruby Hash. This will be used for serialization/deserialization.
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 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 |
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/connection.rb', line 37 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Connection', type: { name: 'Composite', class_name: 'Connection', 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' } }, connection_type: { client_side_validation: true, required: false, serialized_name: 'properties.connectionType', type: { name: 'Composite', class_name: 'ConnectionTypeAssociationProperty' } }, field_definition_values: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.fieldDefinitionValues', type: { name: 'Dictionary', value: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, creation_time: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.creationTime', type: { name: 'DateTime' } }, last_modified_time: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.lastModifiedTime', type: { name: 'DateTime' } }, description: { client_side_validation: true, required: false, serialized_name: 'properties.description', type: { name: 'String' } } } } } end |