class Azure::CustomerInsights::Mgmt::V2017_04_26::Models::AssignmentPrincipal
Attributes
principal_id[RW]
@return [String] The principal id being assigned to.
principal_metadata[RW]
@return [Hash{String => String}] Other metadata for the principal.
principal_type[RW]
@return [String] The Type of the principal ID.
Private Class Methods
mapper()
click to toggle source
Mapper for AssignmentPrincipal
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2017-04-26/generated/azure_mgmt_customer_insights/models/assignment_principal.rb, line 29 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'AssignmentPrincipal', type: { name: 'Composite', class_name: 'AssignmentPrincipal', model_properties: { principal_id: { client_side_validation: true, required: true, serialized_name: 'principalId', type: { name: 'String' } }, principal_type: { client_side_validation: true, required: true, serialized_name: 'principalType', type: { name: 'String' } }, principal_metadata: { client_side_validation: true, required: false, serialized_name: 'principalMetadata', type: { name: 'Dictionary', value: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } } } } } end