class Azure::SecurityInsights::Mgmt::V2019_01_01_preview::Models::OfficeConsent
Consent for Office365 tenant that already made.
Attributes
tenant_id[RW]
@return [String] The tenantId of the Office365 with the consent.
tenant_name[RW]
@return [String] The tenant name of the Office365 with the consent.
Public Class Methods
mapper()
click to toggle source
Mapper for OfficeConsent
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/office_consent.rb, line 26 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'OfficeConsent', type: { name: 'Composite', class_name: 'OfficeConsent', 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' } }, tenant_id: { client_side_validation: true, required: false, serialized_name: 'properties.tenantId', type: { name: 'String' } }, tenant_name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.tenantName', type: { name: 'String' } } } } } end