Class: Azure::CustomerInsights::Mgmt::V2017_01_01::Models::RelationshipResourceFormat
- Inherits:
-
ProxyResource
- Object
- ProxyResource
- Azure::CustomerInsights::Mgmt::V2017_01_01::Models::RelationshipResourceFormat
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-01-01/generated/azure_mgmt_customer_insights/models/relationship_resource_format.rb
Overview
The relationship resource format.
Instance Attribute Summary collapse
-
#cardinality ⇒ CardinalityTypes
values include: ‘OneToOne’, ‘OneToMany’, ‘ManyToMany’.
-
#description ⇒ Hash{String => String}
Relationship.
-
#display_name ⇒ Hash{String => String}
Relationship.
-
#expiry_date_time_utc ⇒ DateTime
The expiry date time in UTC.
-
#fields ⇒ Array<PropertyDefinition>
The properties of the Relationship.
-
#lookup_mappings ⇒ Array<RelationshipTypeMapping>
to map fields in profile to their strong ids in related profile.
-
#profile_type ⇒ String
Profile type.
-
#provisioning_state ⇒ ProvisioningStates
include: ‘Provisioning’, ‘Succeeded’, ‘Expiring’, ‘Deleting’, ‘HumanIntervention’, ‘Failed’.
-
#related_profile_type ⇒ String
Related profile being referenced.
-
#relationship_guid_id ⇒ String
The relationship guid id.
-
#relationship_name ⇒ String
The Relationship name.
-
#tenant_id ⇒ String
The hub name.
Attributes inherited from ProxyResource
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for RelationshipResourceFormat class as Ruby Hash.
Instance Attribute Details
#cardinality ⇒ CardinalityTypes
values include: ‘OneToOne’, ‘OneToMany’, ‘ManyToMany’
17 18 19 |
# File 'lib/2017-01-01/generated/azure_mgmt_customer_insights/models/relationship_resource_format.rb', line 17 def cardinality @cardinality end |
#description ⇒ Hash{String => String}
Relationship.
25 26 27 |
# File 'lib/2017-01-01/generated/azure_mgmt_customer_insights/models/relationship_resource_format.rb', line 25 def description @description end |
#display_name ⇒ Hash{String => String}
Relationship.
21 22 23 |
# File 'lib/2017-01-01/generated/azure_mgmt_customer_insights/models/relationship_resource_format.rb', line 21 def display_name @display_name end |
#expiry_date_time_utc ⇒ DateTime
Returns The expiry date time in UTC.
28 29 30 |
# File 'lib/2017-01-01/generated/azure_mgmt_customer_insights/models/relationship_resource_format.rb', line 28 def expiry_date_time_utc @expiry_date_time_utc end |
#fields ⇒ Array<PropertyDefinition>
Returns The properties of the Relationship.
31 32 33 |
# File 'lib/2017-01-01/generated/azure_mgmt_customer_insights/models/relationship_resource_format.rb', line 31 def fields @fields end |
#lookup_mappings ⇒ Array<RelationshipTypeMapping>
to map fields in profile to their strong ids in related profile.
35 36 37 |
# File 'lib/2017-01-01/generated/azure_mgmt_customer_insights/models/relationship_resource_format.rb', line 35 def lookup_mappings @lookup_mappings end |
#profile_type ⇒ String
Returns Profile type.
38 39 40 |
# File 'lib/2017-01-01/generated/azure_mgmt_customer_insights/models/relationship_resource_format.rb', line 38 def profile_type @profile_type end |
#provisioning_state ⇒ ProvisioningStates
include: ‘Provisioning’, ‘Succeeded’, ‘Expiring’, ‘Deleting’, ‘HumanIntervention’, ‘Failed’
43 44 45 |
# File 'lib/2017-01-01/generated/azure_mgmt_customer_insights/models/relationship_resource_format.rb', line 43 def provisioning_state @provisioning_state end |
#related_profile_type ⇒ String
Returns Related profile being referenced.
49 50 51 |
# File 'lib/2017-01-01/generated/azure_mgmt_customer_insights/models/relationship_resource_format.rb', line 49 def @related_profile_type end |
#relationship_guid_id ⇒ String
Returns The relationship guid id.
52 53 54 |
# File 'lib/2017-01-01/generated/azure_mgmt_customer_insights/models/relationship_resource_format.rb', line 52 def relationship_guid_id @relationship_guid_id end |
#relationship_name ⇒ String
Returns The Relationship name.
46 47 48 |
# File 'lib/2017-01-01/generated/azure_mgmt_customer_insights/models/relationship_resource_format.rb', line 46 def relationship_name @relationship_name end |
#tenant_id ⇒ String
Returns The hub name.
55 56 57 |
# File 'lib/2017-01-01/generated/azure_mgmt_customer_insights/models/relationship_resource_format.rb', line 55 def tenant_id @tenant_id end |
Class Method Details
.mapper ⇒ Object
Mapper for RelationshipResourceFormat class as Ruby Hash. This will be used for serialization/deserialization.
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 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 |
# File 'lib/2017-01-01/generated/azure_mgmt_customer_insights/models/relationship_resource_format.rb', line 62 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'RelationshipResourceFormat', type: { name: 'Composite', class_name: 'RelationshipResourceFormat', 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' } }, cardinality: { client_side_validation: true, required: false, serialized_name: 'properties.cardinality', type: { name: 'Enum', module: 'CardinalityTypes' } }, display_name: { client_side_validation: true, required: false, serialized_name: 'properties.displayName', type: { name: 'Dictionary', value: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, description: { client_side_validation: true, required: false, serialized_name: 'properties.description', type: { name: 'Dictionary', value: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, expiry_date_time_utc: { client_side_validation: true, required: false, serialized_name: 'properties.expiryDateTimeUtc', type: { name: 'DateTime' } }, fields: { client_side_validation: true, required: false, serialized_name: 'properties.fields', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'PropertyDefinitionElementType', type: { name: 'Composite', class_name: 'PropertyDefinition' } } } }, lookup_mappings: { client_side_validation: true, required: false, serialized_name: 'properties.lookupMappings', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'RelationshipTypeMappingElementType', type: { name: 'Composite', class_name: 'RelationshipTypeMapping' } } } }, profile_type: { client_side_validation: true, required: true, serialized_name: 'properties.profileType', type: { name: 'String' } }, provisioning_state: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', type: { name: 'String' } }, relationship_name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.relationshipName', type: { name: 'String' } }, related_profile_type: { client_side_validation: true, required: true, serialized_name: 'properties.relatedProfileType', type: { name: 'String' } }, relationship_guid_id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.relationshipGuidId', type: { name: 'String' } }, tenant_id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.tenantId', type: { name: 'String' } } } } } end |