class Azure::SecurityInsights::Mgmt::V2020_01_01::Models::OfficeConsentList

List of all the office365 consents.

Attributes

value[RW]

@return [Array<OfficeConsent>] Array of the consents.

Private Class Methods

mapper() click to toggle source

Mapper for OfficeConsentList class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2020-01-01/generated/azure_mgmt_security_insights/models/office_consent_list.rb, line 26
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'OfficeConsentList',
    type: {
      name: 'Composite',
      class_name: 'OfficeConsentList',
      model_properties: {
        next_link: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'nextLink',
          type: {
            name: 'String'
          }
        },
        value: {
          client_side_validation: true,
          required: true,
          serialized_name: 'value',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'OfficeConsentElementType',
                type: {
                  name: 'Composite',
                  class_name: 'OfficeConsent'
                }
            }
          }
        }
      }
    }
  }
end