Azure / autorest.az

Azure CLI Code Generator
MIT License
22 stars 20 forks source link

msgraph custom.py incorrect body construction logic #756

Closed qiaozha closed 3 years ago

qiaozha commented 3 years ago
   body['activities'] = activities
    body['online_meetings'] = online_meetings
    body['joined_teams'] = joined_teams
    body = microsoft_graph_entity_id
    body['onenote'] = {}
    body['onenote']['notebooks'] = notebooks
    body['onenote']['operations'] = operations
    body['onenote']['pages'] = pages
    body['onenote']['resources'] = resources
    body['onenote']['section_groups'] = section_groups
    body['onenote']['sections'] = sections
    body = id1
    body['settings'] = {}
    body['settings']['contribution_to_content_discovery_as_organization_disabled'] = contribution_to_content_discovery_as_organization_disabled
    body['settings']['contribution_to_content_discovery_disabled'] = contribution_to_content_discovery_disabled
    body = id2
    body = microsoft_graph_change_tracked_entity_created_date_time_created_date_time
    body = last_modified_date_time
    body = application
    body = device
    body = user
    body['shift_preferences'] = {}
    body['shift_preferences']['availability'] = availability
    body = id3
    body['insights'] = {}
    body['insights']['shared'] = shared
    body['insights']['trending'] = trending
    body['insights']['used'] = used
    body = id4
    body['planner'] = {}
    body['planner']['plans'] = plans
    body['planner']['tasks'] = tasks
    body = id5
    body['outlook'] = {}
    body['outlook']['master_categories'] = master_categories
    body = id6
    body['inference_classification'] = {}
    body['inference_classification']['overrides'] = overrides
    body['mailbox_settings'] = {}
    body['mailbox_settings']['archive_folder'] = archive_folder
    body['mailbox_settings']['automatic_replies_setting'] = automatic_replies_setting
    body['mailbox_settings']['date_format'] = date_format
    body['mailbox_settings']['delegate_meeting_message_delivery_options'] = delegate_meeting_message_delivery_options
    body['mailbox_settings']['language'] = language
    body['mailbox_settings']['time_format'] = time_format
    body['mailbox_settings']['time_zone'] = time_zone
    body['mailbox_settings']['working_hours'] = working_hours
changlong-liu commented 3 years ago

merged to master