microsoft_graph 0.11.0 → 0.12.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (107) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +6 -0
  3. data/lib/chats/item/messages/messages_request_builder.rb +2 -2
  4. data/lib/communications/calls/item/participants/invite/invite_request_builder.rb +2 -2
  5. data/lib/device_management/reports/get_devices_without_compliance_policy_report/get_devices_without_compliance_policy_report.rb +3 -0
  6. data/lib/device_management/reports/get_devices_without_compliance_policy_report/get_devices_without_compliance_policy_report_post_request_body.rb +242 -0
  7. data/lib/device_management/reports/get_devices_without_compliance_policy_report/get_devices_without_compliance_policy_report_request_builder.rb +84 -0
  8. data/lib/device_management/reports/reports_request_builder.rb +6 -0
  9. data/lib/drive/items/item/drive_item_item_request_builder.rb +1 -1
  10. data/lib/drive/items/item/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval/{dab1c2feb9ecf2d349721478e4ff8fe9c46b97a0c44110851b2b17a08d22383e.rb → get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_request_builder.rb} +0 -0
  11. data/lib/drive/root/list_item/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval/{dab1c2feb9ecf2d349721478e4ff8fe9c46b97a0c44110851b2b17a08d22383e.rb → get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_request_builder.rb} +0 -0
  12. data/lib/drive/root/list_item/list_item_request_builder.rb +1 -1
  13. data/lib/drives/item/root/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval/{dab1c2feb9ecf2d349721478e4ff8fe9c46b97a0c44110851b2b17a08d22383e.rb → get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_request_builder.rb} +0 -0
  14. data/lib/drives/item/root/root_request_builder.rb +1 -1
  15. data/lib/groups/item/conversations/conversations_request_builder.rb +2 -2
  16. data/lib/groups/item/conversations/item/threads/item/posts/posts_request_builder.rb +3 -3
  17. data/lib/groups/item/group_item_request_builder.rb +2 -2
  18. data/lib/groups/item/team/channels/item/messages/messages_request_builder.rb +2 -2
  19. data/lib/groups/item/team/primary_channel/messages/messages_request_builder.rb +2 -2
  20. data/lib/groups/item/threads/item/posts/posts_request_builder.rb +3 -3
  21. data/lib/identity_protection/risky_users/item/history/history_request_builder.rb +3 -3
  22. data/lib/kiota-lock.json +2 -2
  23. data/lib/me/authentication/methods/methods_request_builder.rb +3 -3
  24. data/lib/me/chats/item/messages/messages_request_builder.rb +2 -2
  25. data/lib/me/drives/item/root/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval/{dab1c2feb9ecf2d349721478e4ff8fe9c46b97a0c44110851b2b17a08d22383e.rb → get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_request_builder.rb} +0 -0
  26. data/lib/me/drives/item/root/root_request_builder.rb +1 -1
  27. data/lib/me/joined_teams/item/channels/item/messages/messages_request_builder.rb +2 -2
  28. data/lib/me/joined_teams/item/primary_channel/messages/messages_request_builder.rb +2 -2
  29. data/lib/me/me_request_builder.rb +3 -3
  30. data/lib/me/messages/messages_request_builder.rb +2 -2
  31. data/lib/models/access_review_history_definition.rb +1 -1
  32. data/lib/models/administrative_unit.rb +1 -1
  33. data/lib/models/android_minimum_operating_system.rb +48 -48
  34. data/lib/models/app_catalogs.rb +1 -1
  35. data/lib/models/app_scope.rb +1 -1
  36. data/lib/models/booking_appointment.rb +3 -1
  37. data/lib/models/booking_business.rb +3 -1
  38. data/lib/models/cloud_communications.rb +1 -1
  39. data/lib/models/device_app_management.rb +1 -3
  40. data/lib/models/device_management.rb +1 -3
  41. data/lib/models/directory.rb +1 -1
  42. data/lib/models/directory_role.rb +1 -1
  43. data/lib/models/directory_role_template.rb +1 -1
  44. data/lib/models/domain.rb +1 -1
  45. data/lib/models/education_assignment.rb +1 -1
  46. data/lib/models/education_assignment_defaults.rb +1 -1
  47. data/lib/models/education_assignment_settings.rb +1 -1
  48. data/lib/models/education_class.rb +1 -1
  49. data/lib/models/entity.rb +6 -2
  50. data/lib/models/group_setting_template.rb +1 -1
  51. data/lib/models/identity_api_connector.rb +1 -1
  52. data/lib/models/identity_container.rb +1 -1
  53. data/lib/models/identity_user_flow.rb +1 -1
  54. data/lib/models/ios_minimum_operating_system.rb +41 -21
  55. data/lib/models/join_meeting_id_meeting_info.rb +83 -0
  56. data/lib/models/join_meeting_id_settings.rb +140 -0
  57. data/lib/models/managed_device.rb +6 -6
  58. data/lib/models/meeting_info.rb +2 -0
  59. data/lib/models/mobile_app.rb +2 -0
  60. data/lib/models/mobile_app_assignment_settings.rb +2 -0
  61. data/lib/models/mobile_app_content.rb +20 -0
  62. data/lib/models/mobile_contained_app.rb +52 -0
  63. data/lib/models/mobile_contained_app_collection_response.rb +62 -0
  64. data/lib/models/models.rb +11 -1
  65. data/lib/models/notification_template_branding_options.rb +1 -0
  66. data/lib/models/object_identity.rb +3 -3
  67. data/lib/models/online_meeting.rb +20 -0
  68. data/lib/models/org_contact.rb +1 -1
  69. data/lib/models/organization.rb +20 -0
  70. data/lib/models/partner_tenant_type.rb +11 -0
  71. data/lib/models/password_profile.rb +3 -3
  72. data/lib/models/place.rb +1 -1
  73. data/lib/models/print_connector.rb +1 -1
  74. data/lib/models/report_root.rb +46 -6
  75. data/lib/models/risk_detection.rb +1 -1
  76. data/lib/models/scheduling_group.rb +1 -1
  77. data/lib/models/security/ediscovery_estimate_operation.rb +1 -1
  78. data/lib/models/security/ediscovery_index_operation.rb +1 -1
  79. data/lib/models/security/ediscovery_noncustodial_data_source.rb +1 -1
  80. data/lib/models/security_reports_root.rb +1 -1
  81. data/lib/models/service_principal_risk_detection.rb +1 -1
  82. data/lib/models/share_point_identity.rb +1 -1
  83. data/lib/models/shift.rb +1 -1
  84. data/lib/models/site.rb +1 -1
  85. data/lib/models/teamwork_conversation_identity.rb +1 -1
  86. data/lib/models/terms_of_use_container.rb +1 -1
  87. data/lib/models/time_off.rb +1 -1
  88. data/lib/models/time_off_item.rb +1 -1
  89. data/lib/models/time_off_reason.rb +1 -1
  90. data/lib/models/user.rb +3 -3
  91. data/lib/models/windows_app_x_app_assignment_settings.rb +63 -0
  92. data/lib/models/windows_microsoft_edge_app.rb +83 -0
  93. data/lib/models/windows_microsoft_edge_app_collection_response.rb +62 -0
  94. data/lib/models/windows_universal_app_x.rb +20 -0
  95. data/lib/models/windows_universal_app_x_contained_app.rb +63 -0
  96. data/lib/models/windows_universal_app_x_contained_app_collection_response.rb +62 -0
  97. data/lib/reports/reports_request_builder.rb +2 -2
  98. data/lib/teams/item/channels/item/messages/messages_request_builder.rb +2 -2
  99. data/lib/teams/item/primary_channel/messages/messages_request_builder.rb +2 -2
  100. data/lib/users/item/authentication/methods/methods_request_builder.rb +3 -3
  101. data/lib/users/item/chats/item/messages/messages_request_builder.rb +2 -2
  102. data/lib/users/item/joined_teams/item/channels/item/messages/messages_request_builder.rb +2 -2
  103. data/lib/users/item/joined_teams/item/primary_channel/messages/messages_request_builder.rb +2 -2
  104. data/lib/users/item/messages/messages_request_builder.rb +2 -2
  105. data/lib/users/users_request_builder.rb +3 -3
  106. data/lib/version_information.rb +2 -1
  107. metadata +19 -6
@@ -8,6 +8,9 @@ module MicrosoftGraph::Models
8
8
  class MobileAppContent < MicrosoftGraph::Models::Entity
9
9
  include MicrosoftKiotaAbstractions::Parsable
10
10
  ##
11
+ # The collection of contained apps in a MobileLobApp acting as a package.
12
+ @contained_apps
13
+ ##
11
14
  # The list of files for this app content version.
12
15
  @files
13
16
  ##
@@ -18,6 +21,21 @@ module MicrosoftGraph::Models
18
21
  super
19
22
  end
20
23
  ##
24
+ ## Gets the containedApps property value. The collection of contained apps in a MobileLobApp acting as a package.
25
+ ## @return a mobile_contained_app
26
+ ##
27
+ def contained_apps
28
+ return @contained_apps
29
+ end
30
+ ##
31
+ ## Sets the containedApps property value. The collection of contained apps in a MobileLobApp acting as a package.
32
+ ## @param value Value to set for the containedApps property.
33
+ ## @return a void
34
+ ##
35
+ def contained_apps=(value)
36
+ @contained_apps = value
37
+ end
38
+ ##
21
39
  ## Creates a new instance of the appropriate class based on discriminator value
22
40
  ## @param parseNode The parse node to use to read the discriminator value and create the object
23
41
  ## @return a mobile_app_content
@@ -47,6 +65,7 @@ module MicrosoftGraph::Models
47
65
  ##
48
66
  def get_field_deserializers()
49
67
  return super.merge({
68
+ "containedApps" => lambda {|n| @contained_apps = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::MobileContainedApp.create_from_discriminator_value(pn) }) },
50
69
  "files" => lambda {|n| @files = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::MobileAppContentFile.create_from_discriminator_value(pn) }) },
51
70
  })
52
71
  end
@@ -58,6 +77,7 @@ module MicrosoftGraph::Models
58
77
  def serialize(writer)
59
78
  raise StandardError, 'writer cannot be null' if writer.nil?
60
79
  super
80
+ writer.write_collection_of_object_values("containedApps", @contained_apps)
61
81
  writer.write_collection_of_object_values("files", @files)
62
82
  end
63
83
  end
@@ -0,0 +1,52 @@
1
+ require 'microsoft_kiota_abstractions'
2
+ require_relative '../microsoft_graph'
3
+ require_relative './models'
4
+
5
+ module MicrosoftGraph::Models
6
+ ##
7
+ # An abstract class that represents a contained app in a mobileApp acting as a package.
8
+ class MobileContainedApp < MicrosoftGraph::Models::Entity
9
+ include MicrosoftKiotaAbstractions::Parsable
10
+ ##
11
+ ## Instantiates a new mobileContainedApp and sets the default values.
12
+ ## @return a void
13
+ ##
14
+ def initialize()
15
+ super
16
+ end
17
+ ##
18
+ ## Creates a new instance of the appropriate class based on discriminator value
19
+ ## @param parseNode The parse node to use to read the discriminator value and create the object
20
+ ## @return a mobile_contained_app
21
+ ##
22
+ def self.create_from_discriminator_value(parse_node)
23
+ raise StandardError, 'parse_node cannot be null' if parse_node.nil?
24
+ mapping_value_node = parse_node.get_child_node("@odata.type")
25
+ unless mapping_value_node.nil? then
26
+ mapping_value = mapping_value_node.get_string_value
27
+ case mapping_value
28
+ when "#microsoft.graph.windowsUniversalAppXContainedApp"
29
+ return WindowsUniversalAppXContainedApp.new
30
+ end
31
+ end
32
+ return MobileContainedApp.new
33
+ end
34
+ ##
35
+ ## The deserialization information for the current model
36
+ ## @return a i_dictionary
37
+ ##
38
+ def get_field_deserializers()
39
+ return super.merge({
40
+ })
41
+ end
42
+ ##
43
+ ## Serializes information the current object
44
+ ## @param writer Serialization writer to use to serialize this model
45
+ ## @return a void
46
+ ##
47
+ def serialize(writer)
48
+ raise StandardError, 'writer cannot be null' if writer.nil?
49
+ super
50
+ end
51
+ end
52
+ end
@@ -0,0 +1,62 @@
1
+ require 'microsoft_kiota_abstractions'
2
+ require_relative '../microsoft_graph'
3
+ require_relative './models'
4
+
5
+ module MicrosoftGraph::Models
6
+ class MobileContainedAppCollectionResponse < MicrosoftGraph::Models::BaseCollectionPaginationCountResponse
7
+ include MicrosoftKiotaAbstractions::Parsable
8
+ ##
9
+ # The value property
10
+ @value
11
+ ##
12
+ ## Instantiates a new MobileContainedAppCollectionResponse and sets the default values.
13
+ ## @return a void
14
+ ##
15
+ def initialize()
16
+ super
17
+ end
18
+ ##
19
+ ## Creates a new instance of the appropriate class based on discriminator value
20
+ ## @param parseNode The parse node to use to read the discriminator value and create the object
21
+ ## @return a mobile_contained_app_collection_response
22
+ ##
23
+ def self.create_from_discriminator_value(parse_node)
24
+ raise StandardError, 'parse_node cannot be null' if parse_node.nil?
25
+ return MobileContainedAppCollectionResponse.new
26
+ end
27
+ ##
28
+ ## The deserialization information for the current model
29
+ ## @return a i_dictionary
30
+ ##
31
+ def get_field_deserializers()
32
+ return super.merge({
33
+ "value" => lambda {|n| @value = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::MobileContainedApp.create_from_discriminator_value(pn) }) },
34
+ })
35
+ end
36
+ ##
37
+ ## Serializes information the current object
38
+ ## @param writer Serialization writer to use to serialize this model
39
+ ## @return a void
40
+ ##
41
+ def serialize(writer)
42
+ raise StandardError, 'writer cannot be null' if writer.nil?
43
+ super
44
+ writer.write_collection_of_object_values("value", @value)
45
+ end
46
+ ##
47
+ ## Gets the value property value. The value property
48
+ ## @return a mobile_contained_app
49
+ ##
50
+ def value
51
+ return @value
52
+ end
53
+ ##
54
+ ## Sets the value property value. The value property
55
+ ## @param value Value to set for the value property.
56
+ ## @return a void
57
+ ##
58
+ def value=(value)
59
+ @value = value
60
+ end
61
+ end
62
+ end
data/lib/models/models.rb CHANGED
@@ -204,6 +204,7 @@ require_relative 'online_meeting_provider_type'
204
204
  require_relative 'online_meeting_role'
205
205
  require_relative 'operation_result'
206
206
  require_relative 'operation_status'
207
+ require_relative 'partner_tenant_type'
207
208
  require_relative 'payload_delivery_platform'
208
209
  require_relative 'permission_classification_type'
209
210
  require_relative 'permission_type'
@@ -611,6 +612,7 @@ require_relative 'item_action_stat'
611
612
  require_relative 'item_body'
612
613
  require_relative 'item_preview_info'
613
614
  require_relative 'item_reference'
615
+ require_relative 'join_meeting_id_settings'
614
616
  require_relative 'json'
615
617
  require_relative 'key_credential'
616
618
  require_relative 'key_value'
@@ -746,6 +748,7 @@ require_relative 'related_contact'
746
748
  require_relative 'reminder'
747
749
  require_relative 'remote_item'
748
750
  require_relative 'report'
751
+ require_relative 'report_root'
749
752
  require_relative 'request_schedule'
750
753
  require_relative 'required_resource_access'
751
754
  require_relative 'resource_access'
@@ -1428,6 +1431,7 @@ require_relative 'item_activity_stat'
1428
1431
  require_relative 'item_activity_stat_collection_response'
1429
1432
  require_relative 'item_analytics'
1430
1433
  require_relative 'item_attachment_collection_response'
1434
+ require_relative 'join_meeting_id_meeting_info'
1431
1435
  require_relative 'key_credential_collection_response'
1432
1436
  require_relative 'key_value_collection_response'
1433
1437
  require_relative 'key_value_pair_collection_response'
@@ -1534,6 +1538,8 @@ require_relative 'mobile_app_content'
1534
1538
  require_relative 'mobile_app_content_collection_response'
1535
1539
  require_relative 'mobile_app_content_file'
1536
1540
  require_relative 'mobile_app_content_file_collection_response'
1541
+ require_relative 'mobile_contained_app'
1542
+ require_relative 'mobile_contained_app_collection_response'
1537
1543
  require_relative 'mobile_lob_app_collection_response'
1538
1544
  require_relative 'mobile_threat_defense_connector'
1539
1545
  require_relative 'mobile_threat_defense_connector_collection_response'
@@ -1681,7 +1687,6 @@ require_relative 'remote_assistance_partner'
1681
1687
  require_relative 'remote_assistance_partner_collection_response'
1682
1688
  require_relative 'remote_lock_action_result'
1683
1689
  require_relative 'remove_access_apply_action'
1684
- require_relative 'report_root'
1685
1690
  require_relative 'request'
1686
1691
  require_relative 'requestor_manager'
1687
1692
  require_relative 'required_resource_access_collection_response'
@@ -1967,6 +1972,7 @@ require_relative 'windows10_secure_assessment_configuration_collection_response'
1967
1972
  require_relative 'windows10_team_general_configuration_collection_response'
1968
1973
  require_relative 'windows81_compliance_policy_collection_response'
1969
1974
  require_relative 'windows81_general_configuration_collection_response'
1975
+ require_relative 'windows_app_x_app_assignment_settings'
1970
1976
  require_relative 'windows_autopilot_device_identity'
1971
1977
  require_relative 'windows_autopilot_device_identity_collection_response'
1972
1978
  require_relative 'windows_defender_advanced_threat_protection_configuration_collection_response'
@@ -1988,11 +1994,13 @@ require_relative 'windows_information_protection_policy_collection_response'
1988
1994
  require_relative 'windows_information_protection_proxied_domain_collection_collection_response'
1989
1995
  require_relative 'windows_information_protection_resource_collection_collection_response'
1990
1996
  require_relative 'windows_information_protection_store_app'
1997
+ require_relative 'windows_microsoft_edge_app_collection_response'
1991
1998
  require_relative 'windows_mobile_m_s_i_collection_response'
1992
1999
  require_relative 'windows_phone81_compliance_policy_collection_response'
1993
2000
  require_relative 'windows_phone81_custom_configuration_collection_response'
1994
2001
  require_relative 'windows_phone81_general_configuration_collection_response'
1995
2002
  require_relative 'windows_universal_app_x_collection_response'
2003
+ require_relative 'windows_universal_app_x_contained_app_collection_response'
1996
2004
  require_relative 'windows_update_active_hours_install'
1997
2005
  require_relative 'windows_update_for_business_configuration_collection_response'
1998
2006
  require_relative 'windows_update_scheduled_install'
@@ -2251,9 +2259,11 @@ require_relative 'windows81_general_configuration'
2251
2259
  require_relative 'windows_defender_advanced_threat_protection_configuration'
2252
2260
  require_relative 'windows_hello_for_business_authentication_method'
2253
2261
  require_relative 'windows_information_protection'
2262
+ require_relative 'windows_microsoft_edge_app'
2254
2263
  require_relative 'windows_phone81_compliance_policy'
2255
2264
  require_relative 'windows_phone81_custom_configuration'
2256
2265
  require_relative 'windows_phone81_general_configuration'
2266
+ require_relative 'windows_universal_app_x_contained_app'
2257
2267
  require_relative 'windows_update_for_business_configuration'
2258
2268
  require_relative 'workforce_integration'
2259
2269
  require_relative 'x509_certificate_authentication_method_configuration'
@@ -6,6 +6,7 @@ module MicrosoftGraph::Models
6
6
  IncludeCompanyLogo: :IncludeCompanyLogo,
7
7
  IncludeCompanyName: :IncludeCompanyName,
8
8
  IncludeContactInformation: :IncludeContactInformation,
9
+ IncludeCompanyPortalLink: :IncludeCompanyPortalLink,
9
10
  IncludeDeviceDetails: :IncludeDeviceDetails,
10
11
  }
11
12
  end
@@ -12,7 +12,7 @@ module MicrosoftGraph::Models
12
12
  # Specifies the issuer of the identity, for example facebook.com.For local accounts (where signInType is not federated), this property is the local B2C tenant default domain name, for example contoso.onmicrosoft.com.For external users from other Azure AD organization, this will be the domain of the federated organization, for example contoso.com.Supports $filter. 512 character limit.
13
13
  @issuer
14
14
  ##
15
- # Specifies the unique identifier assigned to the user by the issuer. The combination of issuer and issuerAssignedId must be unique within the organization. Represents the sign-in name for the user, when signInType is set to emailAddress or userName (also known as local accounts).When signInType is set to: emailAddress, (or a custom string that starts with emailAddress like emailAddress1) issuerAssignedId must be a valid email addressuserName, issuerAssignedId must be a valid local part of an email addressSupports $filter. 100 character limit.
15
+ # Specifies the unique identifier assigned to the user by the issuer. The combination of issuer and issuerAssignedId must be unique within the organization. Represents the sign-in name for the user, when signInType is set to emailAddress or userName (also known as local accounts).When signInType is set to: emailAddress, (or a custom string that starts with emailAddress like emailAddress1) issuerAssignedId must be a valid email addressuserName, issuerAssignedId must begin with alphabetical character or number, and can only contain alphanumeric characters and the following symbols: - or Supports $filter. 64 character limit.
16
16
  @issuer_assigned_id
17
17
  ##
18
18
  # The OdataType property
@@ -79,14 +79,14 @@ module MicrosoftGraph::Models
79
79
  @issuer = value
80
80
  end
81
81
  ##
82
- ## Gets the issuerAssignedId property value. Specifies the unique identifier assigned to the user by the issuer. The combination of issuer and issuerAssignedId must be unique within the organization. Represents the sign-in name for the user, when signInType is set to emailAddress or userName (also known as local accounts).When signInType is set to: emailAddress, (or a custom string that starts with emailAddress like emailAddress1) issuerAssignedId must be a valid email addressuserName, issuerAssignedId must be a valid local part of an email addressSupports $filter. 100 character limit.
82
+ ## Gets the issuerAssignedId property value. Specifies the unique identifier assigned to the user by the issuer. The combination of issuer and issuerAssignedId must be unique within the organization. Represents the sign-in name for the user, when signInType is set to emailAddress or userName (also known as local accounts).When signInType is set to: emailAddress, (or a custom string that starts with emailAddress like emailAddress1) issuerAssignedId must be a valid email addressuserName, issuerAssignedId must begin with alphabetical character or number, and can only contain alphanumeric characters and the following symbols: - or Supports $filter. 64 character limit.
83
83
  ## @return a string
84
84
  ##
85
85
  def issuer_assigned_id
86
86
  return @issuer_assigned_id
87
87
  end
88
88
  ##
89
- ## Sets the issuerAssignedId property value. Specifies the unique identifier assigned to the user by the issuer. The combination of issuer and issuerAssignedId must be unique within the organization. Represents the sign-in name for the user, when signInType is set to emailAddress or userName (also known as local accounts).When signInType is set to: emailAddress, (or a custom string that starts with emailAddress like emailAddress1) issuerAssignedId must be a valid email addressuserName, issuerAssignedId must be a valid local part of an email addressSupports $filter. 100 character limit.
89
+ ## Sets the issuerAssignedId property value. Specifies the unique identifier assigned to the user by the issuer. The combination of issuer and issuerAssignedId must be unique within the organization. Represents the sign-in name for the user, when signInType is set to emailAddress or userName (also known as local accounts).When signInType is set to: emailAddress, (or a custom string that starts with emailAddress like emailAddress1) issuerAssignedId must be a valid email addressuserName, issuerAssignedId must begin with alphabetical character or number, and can only contain alphanumeric characters and the following symbols: - or Supports $filter. 64 character limit.
90
90
  ## @param value Value to set for the issuerAssignedId property.
91
91
  ## @return a void
92
92
  ##
@@ -55,6 +55,9 @@ module MicrosoftGraph::Models
55
55
  # The join information in the language and locale variant specified in the Accept-Language request HTTP header. Read-only.
56
56
  @join_information
57
57
  ##
58
+ # Specifies the joinMeetingId, the meeting passcode, and the requirement for the passcode. Once an onlineMeeting is created, the joinMeetingIdSettings cannot be modified. To make any changes to this property, the meeting needs to be canceled and a new one needs to be created.
59
+ @join_meeting_id_settings
60
+ ##
58
61
  # The join URL of the online meeting. Read-only.
59
62
  @join_web_url
60
63
  ##
@@ -308,6 +311,7 @@ module MicrosoftGraph::Models
308
311
  "isBroadcast" => lambda {|n| @is_broadcast = n.get_boolean_value() },
309
312
  "isEntryExitAnnounced" => lambda {|n| @is_entry_exit_announced = n.get_boolean_value() },
310
313
  "joinInformation" => lambda {|n| @join_information = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::ItemBody.create_from_discriminator_value(pn) }) },
314
+ "joinMeetingIdSettings" => lambda {|n| @join_meeting_id_settings = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::JoinMeetingIdSettings.create_from_discriminator_value(pn) }) },
311
315
  "joinWebUrl" => lambda {|n| @join_web_url = n.get_string_value() },
312
316
  "lobbyBypassSettings" => lambda {|n| @lobby_bypass_settings = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::LobbyBypassSettings.create_from_discriminator_value(pn) }) },
313
317
  "participants" => lambda {|n| @participants = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::MeetingParticipants.create_from_discriminator_value(pn) }) },
@@ -363,6 +367,21 @@ module MicrosoftGraph::Models
363
367
  @join_information = value
364
368
  end
365
369
  ##
370
+ ## Gets the joinMeetingIdSettings property value. Specifies the joinMeetingId, the meeting passcode, and the requirement for the passcode. Once an onlineMeeting is created, the joinMeetingIdSettings cannot be modified. To make any changes to this property, the meeting needs to be canceled and a new one needs to be created.
371
+ ## @return a join_meeting_id_settings
372
+ ##
373
+ def join_meeting_id_settings
374
+ return @join_meeting_id_settings
375
+ end
376
+ ##
377
+ ## Sets the joinMeetingIdSettings property value. Specifies the joinMeetingId, the meeting passcode, and the requirement for the passcode. Once an onlineMeeting is created, the joinMeetingIdSettings cannot be modified. To make any changes to this property, the meeting needs to be canceled and a new one needs to be created.
378
+ ## @param value Value to set for the joinMeetingIdSettings property.
379
+ ## @return a void
380
+ ##
381
+ def join_meeting_id_settings=(value)
382
+ @join_meeting_id_settings = value
383
+ end
384
+ ##
366
385
  ## Gets the joinWebUrl property value. The join URL of the online meeting. Read-only.
367
386
  ## @return a string
368
387
  ##
@@ -446,6 +465,7 @@ module MicrosoftGraph::Models
446
465
  writer.write_boolean_value("isBroadcast", @is_broadcast)
447
466
  writer.write_boolean_value("isEntryExitAnnounced", @is_entry_exit_announced)
448
467
  writer.write_object_value("joinInformation", @join_information)
468
+ writer.write_object_value("joinMeetingIdSettings", @join_meeting_id_settings)
449
469
  writer.write_string_value("joinWebUrl", @join_web_url)
450
470
  writer.write_object_value("lobbyBypassSettings", @lobby_bypass_settings)
451
471
  writer.write_object_value("participants", @participants)
@@ -91,7 +91,7 @@ module MicrosoftGraph::Models
91
91
  @company_name = value
92
92
  end
93
93
  ##
94
- ## Instantiates a new orgContact and sets the default values.
94
+ ## Instantiates a new OrgContact and sets the default values.
95
95
  ## @return a void
96
96
  ##
97
97
  def initialize()
@@ -49,6 +49,9 @@ module MicrosoftGraph::Models
49
49
  # true if this object is synced from an on-premises directory; false if this object was originally synced from an on-premises directory but is no longer synced. Nullable. null if this object has never been synced from an on-premises directory (default).
50
50
  @on_premises_sync_enabled
51
51
  ##
52
+ # The partnerTenantType property
53
+ @partner_tenant_type
54
+ ##
52
55
  # Postal code of the address for the organization.
53
56
  @postal_code
54
57
  ##
@@ -268,6 +271,7 @@ module MicrosoftGraph::Models
268
271
  "mobileDeviceManagementAuthority" => lambda {|n| @mobile_device_management_authority = n.get_enum_value(MicrosoftGraph::Models::MdmAuthority) },
269
272
  "onPremisesLastSyncDateTime" => lambda {|n| @on_premises_last_sync_date_time = n.get_date_time_value() },
270
273
  "onPremisesSyncEnabled" => lambda {|n| @on_premises_sync_enabled = n.get_boolean_value() },
274
+ "partnerTenantType" => lambda {|n| @partner_tenant_type = n.get_enum_value(MicrosoftGraph::Models::PartnerTenantType) },
271
275
  "postalCode" => lambda {|n| @postal_code = n.get_string_value() },
272
276
  "preferredLanguage" => lambda {|n| @preferred_language = n.get_string_value() },
273
277
  "privacyProfile" => lambda {|n| @privacy_profile = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::PrivacyProfile.create_from_discriminator_value(pn) }) },
@@ -342,6 +346,21 @@ module MicrosoftGraph::Models
342
346
  @on_premises_sync_enabled = value
343
347
  end
344
348
  ##
349
+ ## Gets the partnerTenantType property value. The partnerTenantType property
350
+ ## @return a partner_tenant_type
351
+ ##
352
+ def partner_tenant_type
353
+ return @partner_tenant_type
354
+ end
355
+ ##
356
+ ## Sets the partnerTenantType property value. The partnerTenantType property
357
+ ## @param value Value to set for the partnerTenantType property.
358
+ ## @return a void
359
+ ##
360
+ def partner_tenant_type=(value)
361
+ @partner_tenant_type = value
362
+ end
363
+ ##
345
364
  ## Gets the postalCode property value. Postal code of the address for the organization.
346
365
  ## @return a string
347
366
  ##
@@ -453,6 +472,7 @@ module MicrosoftGraph::Models
453
472
  writer.write_enum_value("mobileDeviceManagementAuthority", @mobile_device_management_authority)
454
473
  writer.write_date_time_value("onPremisesLastSyncDateTime", @on_premises_last_sync_date_time)
455
474
  writer.write_boolean_value("onPremisesSyncEnabled", @on_premises_sync_enabled)
475
+ writer.write_enum_value("partnerTenantType", @partner_tenant_type)
456
476
  writer.write_string_value("postalCode", @postal_code)
457
477
  writer.write_string_value("preferredLanguage", @preferred_language)
458
478
  writer.write_object_value("privacyProfile", @privacy_profile)
@@ -0,0 +1,11 @@
1
+ module MicrosoftGraph::Models
2
+ PartnerTenantType = {
3
+ MicrosoftSupport: :MicrosoftSupport,
4
+ SyndicatePartner: :SyndicatePartner,
5
+ BreadthPartner: :BreadthPartner,
6
+ BreadthPartnerDelegatedAdmin: :BreadthPartnerDelegatedAdmin,
7
+ ResellerPartnerDelegatedAdmin: :ResellerPartnerDelegatedAdmin,
8
+ ValueAddedResellerPartnerDelegatedAdmin: :ValueAddedResellerPartnerDelegatedAdmin,
9
+ UnknownFutureValue: :UnknownFutureValue,
10
+ }
11
+ end
@@ -9,7 +9,7 @@ module MicrosoftGraph::Models
9
9
  # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
10
10
  @additional_data
11
11
  ##
12
- # true if the user must change her password on the next login; otherwise false. If not set, default is false. NOTE: For Azure B2C tenants, set to false and instead use custom policies and user flows to force password reset at first sign in. See Force password reset at first logon.
12
+ # true if the user must change her password on the next login; otherwise false.
13
13
  @force_change_password_next_sign_in
14
14
  ##
15
15
  # If true, at next sign-in, the user must perform a multi-factor authentication (MFA) before being forced to change their password. The behavior is identical to forceChangePasswordNextSignIn except that the user is required to first perform a multi-factor authentication before password change. After a password change, this property will be automatically reset to false. If not set, default is false.
@@ -52,14 +52,14 @@ module MicrosoftGraph::Models
52
52
  return PasswordProfile.new
53
53
  end
54
54
  ##
55
- ## Gets the forceChangePasswordNextSignIn property value. true if the user must change her password on the next login; otherwise false. If not set, default is false. NOTE: For Azure B2C tenants, set to false and instead use custom policies and user flows to force password reset at first sign in. See Force password reset at first logon.
55
+ ## Gets the forceChangePasswordNextSignIn property value. true if the user must change her password on the next login; otherwise false.
56
56
  ## @return a boolean
57
57
  ##
58
58
  def force_change_password_next_sign_in
59
59
  return @force_change_password_next_sign_in
60
60
  end
61
61
  ##
62
- ## Sets the forceChangePasswordNextSignIn property value. true if the user must change her password on the next login; otherwise false. If not set, default is false. NOTE: For Azure B2C tenants, set to false and instead use custom policies and user flows to force password reset at first sign in. See Force password reset at first logon.
62
+ ## Sets the forceChangePasswordNextSignIn property value. true if the user must change her password on the next login; otherwise false.
63
63
  ## @param value Value to set for the forceChangePasswordNextSignIn property.
64
64
  ## @return a void
65
65
  ##
data/lib/models/place.rb CHANGED
@@ -33,7 +33,7 @@ module MicrosoftGraph::Models
33
33
  @address = value
34
34
  end
35
35
  ##
36
- ## Instantiates a new Place and sets the default values.
36
+ ## Instantiates a new place and sets the default values.
37
37
  ## @return a void
38
38
  ##
39
39
  def initialize()
@@ -40,7 +40,7 @@ module MicrosoftGraph::Models
40
40
  @app_version = value
41
41
  end
42
42
  ##
43
- ## Instantiates a new PrintConnector and sets the default values.
43
+ ## Instantiates a new printConnector and sets the default values.
44
44
  ## @return a void
45
45
  ##
46
46
  def initialize()
@@ -3,8 +3,13 @@ require_relative '../microsoft_graph'
3
3
  require_relative './models'
4
4
 
5
5
  module MicrosoftGraph::Models
6
- class ReportRoot < MicrosoftGraph::Models::Entity
7
- include MicrosoftKiotaAbstractions::Parsable
6
+ ##
7
+ # The resource that represents an instance of Enrollment Failure Reports.
8
+ class ReportRoot
9
+ include MicrosoftKiotaAbstractions::AdditionalDataHolder, MicrosoftKiotaAbstractions::Parsable
10
+ ##
11
+ # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
12
+ @additional_data
8
13
  ##
9
14
  # The dailyPrintUsageByPrinter property
10
15
  @daily_print_usage_by_printer
@@ -18,14 +23,32 @@ module MicrosoftGraph::Models
18
23
  # The monthlyPrintUsageByUser property
19
24
  @monthly_print_usage_by_user
20
25
  ##
26
+ # The OdataType property
27
+ @odata_type
28
+ ##
21
29
  # The security property
22
30
  @security
23
31
  ##
32
+ ## Gets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
33
+ ## @return a i_dictionary
34
+ ##
35
+ def additional_data
36
+ return @additional_data
37
+ end
38
+ ##
39
+ ## Sets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
40
+ ## @param value Value to set for the AdditionalData property.
41
+ ## @return a void
42
+ ##
43
+ def additional_data=(value)
44
+ @additional_data = value
45
+ end
46
+ ##
24
47
  ## Instantiates a new ReportRoot and sets the default values.
25
48
  ## @return a void
26
49
  ##
27
50
  def initialize()
28
- super
51
+ @additional_data = Hash.new
29
52
  end
30
53
  ##
31
54
  ## Creates a new instance of the appropriate class based on discriminator value
@@ -71,13 +94,14 @@ module MicrosoftGraph::Models
71
94
  ## @return a i_dictionary
72
95
  ##
73
96
  def get_field_deserializers()
74
- return super.merge({
97
+ return {
75
98
  "dailyPrintUsageByPrinter" => lambda {|n| @daily_print_usage_by_printer = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::PrintUsageByPrinter.create_from_discriminator_value(pn) }) },
76
99
  "dailyPrintUsageByUser" => lambda {|n| @daily_print_usage_by_user = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::PrintUsageByUser.create_from_discriminator_value(pn) }) },
77
100
  "monthlyPrintUsageByPrinter" => lambda {|n| @monthly_print_usage_by_printer = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::PrintUsageByPrinter.create_from_discriminator_value(pn) }) },
78
101
  "monthlyPrintUsageByUser" => lambda {|n| @monthly_print_usage_by_user = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::PrintUsageByUser.create_from_discriminator_value(pn) }) },
102
+ "@odata.type" => lambda {|n| @odata_type = n.get_string_value() },
79
103
  "security" => lambda {|n| @security = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::SecurityReportsRoot.create_from_discriminator_value(pn) }) },
80
- })
104
+ }
81
105
  end
82
106
  ##
83
107
  ## Gets the monthlyPrintUsageByPrinter property value. The monthlyPrintUsageByPrinter property
@@ -110,6 +134,21 @@ module MicrosoftGraph::Models
110
134
  @monthly_print_usage_by_user = value
111
135
  end
112
136
  ##
137
+ ## Gets the @odata.type property value. The OdataType property
138
+ ## @return a string
139
+ ##
140
+ def odata_type
141
+ return @odata_type
142
+ end
143
+ ##
144
+ ## Sets the @odata.type property value. The OdataType property
145
+ ## @param value Value to set for the OdataType property.
146
+ ## @return a void
147
+ ##
148
+ def odata_type=(value)
149
+ @odata_type = value
150
+ end
151
+ ##
113
152
  ## Gets the security property value. The security property
114
153
  ## @return a security_reports_root
115
154
  ##
@@ -131,12 +170,13 @@ module MicrosoftGraph::Models
131
170
  ##
132
171
  def serialize(writer)
133
172
  raise StandardError, 'writer cannot be null' if writer.nil?
134
- super
135
173
  writer.write_collection_of_object_values("dailyPrintUsageByPrinter", @daily_print_usage_by_printer)
136
174
  writer.write_collection_of_object_values("dailyPrintUsageByUser", @daily_print_usage_by_user)
137
175
  writer.write_collection_of_object_values("monthlyPrintUsageByPrinter", @monthly_print_usage_by_printer)
138
176
  writer.write_collection_of_object_values("monthlyPrintUsageByUser", @monthly_print_usage_by_user)
177
+ writer.write_string_value("@odata.type", @odata_type)
139
178
  writer.write_object_value("security", @security)
179
+ writer.write_additional_data(@additional_data)
140
180
  end
141
181
  end
142
182
  end
@@ -109,7 +109,7 @@ module MicrosoftGraph::Models
109
109
  @additional_info = value
110
110
  end
111
111
  ##
112
- ## Instantiates a new riskDetection and sets the default values.
112
+ ## Instantiates a new RiskDetection and sets the default values.
113
113
  ## @return a void
114
114
  ##
115
115
  def initialize()
@@ -15,7 +15,7 @@ module MicrosoftGraph::Models
15
15
  # The list of user IDs that are a member of the schedulingGroup. Required.
16
16
  @user_ids
17
17
  ##
18
- ## Instantiates a new schedulingGroup and sets the default values.
18
+ ## Instantiates a new SchedulingGroup and sets the default values.
19
19
  ## @return a void
20
20
  ##
21
21
  def initialize()
@@ -28,7 +28,7 @@ module MicrosoftGraph::Models::Security
28
28
  # The estimated size of unindexed items for the collection.
29
29
  @unindexed_items_size
30
30
  ##
31
- ## Instantiates a new ediscoveryEstimateOperation and sets the default values.
31
+ ## Instantiates a new EdiscoveryEstimateOperation and sets the default values.
32
32
  ## @return a void
33
33
  ##
34
34
  def initialize()
@@ -7,7 +7,7 @@ module MicrosoftGraph::Models::Security
7
7
  class EdiscoveryIndexOperation < MicrosoftGraph::Models::Security::CaseOperation
8
8
  include MicrosoftKiotaAbstractions::Parsable
9
9
  ##
10
- ## Instantiates a new ediscoveryIndexOperation and sets the default values.
10
+ ## Instantiates a new EdiscoveryIndexOperation and sets the default values.
11
11
  ## @return a void
12
12
  ##
13
13
  def initialize()
@@ -13,7 +13,7 @@ module MicrosoftGraph::Models::Security
13
13
  # Operation entity that represents the latest indexing for the non-custodial data source.
14
14
  @last_index_operation
15
15
  ##
16
- ## Instantiates a new ediscoveryNoncustodialDataSource and sets the default values.
16
+ ## Instantiates a new EdiscoveryNoncustodialDataSource and sets the default values.
17
17
  ## @return a void
18
18
  ##
19
19
  def initialize()
@@ -6,7 +6,7 @@ module MicrosoftGraph::Models
6
6
  class SecurityReportsRoot < MicrosoftGraph::Models::Entity
7
7
  include MicrosoftKiotaAbstractions::Parsable
8
8
  ##
9
- ## Instantiates a new securityReportsRoot and sets the default values.
9
+ ## Instantiates a new SecurityReportsRoot and sets the default values.
10
10
  ## @return a void
11
11
  ##
12
12
  def initialize()
@@ -127,7 +127,7 @@ module MicrosoftGraph::Models
127
127
  @app_id = value
128
128
  end
129
129
  ##
130
- ## Instantiates a new servicePrincipalRiskDetection and sets the default values.
130
+ ## Instantiates a new ServicePrincipalRiskDetection and sets the default values.
131
131
  ## @return a void
132
132
  ##
133
133
  def initialize()
@@ -9,7 +9,7 @@ module MicrosoftGraph::Models
9
9
  # The sign in name of the SharePoint identity.
10
10
  @login_name
11
11
  ##
12
- ## Instantiates a new sharePointIdentity and sets the default values.
12
+ ## Instantiates a new SharePointIdentity and sets the default values.
13
13
  ## @return a void
14
14
  ##
15
15
  def initialize()
data/lib/models/shift.rb CHANGED
@@ -18,7 +18,7 @@ module MicrosoftGraph::Models
18
18
  # ID of the user assigned to the shift. Required.
19
19
  @user_id
20
20
  ##
21
- ## Instantiates a new shift and sets the default values.
21
+ ## Instantiates a new Shift and sets the default values.
22
22
  ## @return a void
23
23
  ##
24
24
  def initialize()