Class: MicrosoftGraph::Models::CrossTenantAccessPolicyConfigurationPartner
- Inherits:
-
Object
- Object
- MicrosoftGraph::Models::CrossTenantAccessPolicyConfigurationPartner
- Includes:
- MicrosoftKiotaAbstractions::AdditionalDataHolder, MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/cross_tenant_access_policy_configuration_partner.rb
Class Method Summary collapse
-
.create_from_discriminator_value(parse_node) ⇒ Object
Creates a new instance of the appropriate class based on discriminator value.
Instance Method Summary collapse
-
#additional_data ⇒ Object
Gets the additionalData property value.
-
#additional_data=(value) ⇒ Object
Sets the additionalData property value.
-
#automatic_user_consent_settings ⇒ Object
Gets the automaticUserConsentSettings property value.
-
#automatic_user_consent_settings=(value) ⇒ Object
Sets the automaticUserConsentSettings property value.
-
#b2b_collaboration_inbound ⇒ Object
Gets the b2bCollaborationInbound property value.
-
#b2b_collaboration_inbound=(value) ⇒ Object
Sets the b2bCollaborationInbound property value.
-
#b2b_collaboration_outbound ⇒ Object
Gets the b2bCollaborationOutbound property value.
-
#b2b_collaboration_outbound=(value) ⇒ Object
Sets the b2bCollaborationOutbound property value.
-
#b2b_direct_connect_inbound ⇒ Object
Gets the b2bDirectConnectInbound property value.
-
#b2b_direct_connect_inbound=(value) ⇒ Object
Sets the b2bDirectConnectInbound property value.
-
#b2b_direct_connect_outbound ⇒ Object
Gets the b2bDirectConnectOutbound property value.
-
#b2b_direct_connect_outbound=(value) ⇒ Object
Sets the b2bDirectConnectOutbound property value.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#identity_synchronization ⇒ Object
Gets the identitySynchronization property value.
-
#identity_synchronization=(value) ⇒ Object
Sets the identitySynchronization property value.
-
#inbound_trust ⇒ Object
Gets the inboundTrust property value.
-
#inbound_trust=(value) ⇒ Object
Sets the inboundTrust property value.
-
#initialize ⇒ Object
constructor
Instantiates a new crossTenantAccessPolicyConfigurationPartner and sets the default values.
-
#is_service_provider ⇒ Object
Gets the isServiceProvider property value.
-
#is_service_provider=(value) ⇒ Object
Sets the isServiceProvider property value.
-
#odata_type ⇒ Object
Gets the @odata.type property value.
-
#odata_type=(value) ⇒ Object
Sets the @odata.type property value.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
-
#tenant_id ⇒ Object
Gets the tenantId property value.
-
#tenant_id=(value) ⇒ Object
Sets the tenantId property value.
Constructor Details
#initialize ⇒ Object
Instantiates a new crossTenantAccessPolicyConfigurationPartner and sets the default values.
136 137 138 |
# File 'lib/models/cross_tenant_access_policy_configuration_partner.rb', line 136 def initialize() @additional_data = Hash.new end |
Class Method Details
.create_from_discriminator_value(parse_node) ⇒ Object
Creates a new instance of the appropriate class based on discriminator value
144 145 146 147 |
# File 'lib/models/cross_tenant_access_policy_configuration_partner.rb', line 144 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return CrossTenantAccessPolicyConfigurationPartner.new end |
Instance Method Details
#additional_data ⇒ Object
Gets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
46 47 48 |
# File 'lib/models/cross_tenant_access_policy_configuration_partner.rb', line 46 def additional_data return @additional_data end |
#additional_data=(value) ⇒ Object
Sets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
54 55 56 |
# File 'lib/models/cross_tenant_access_policy_configuration_partner.rb', line 54 def additional_data=(value) @additional_data = value end |
#automatic_user_consent_settings ⇒ Object
Gets the automaticUserConsentSettings property value. Determines the partner-specific configuration for automatic user consent settings. Unless specifically configured, the inboundAllowed and outboundAllowed properties are null and inherit from the default settings, which is always false.
61 62 63 |
# File 'lib/models/cross_tenant_access_policy_configuration_partner.rb', line 61 def return @automatic_user_consent_settings end |
#automatic_user_consent_settings=(value) ⇒ Object
Sets the automaticUserConsentSettings property value. Determines the partner-specific configuration for automatic user consent settings. Unless specifically configured, the inboundAllowed and outboundAllowed properties are null and inherit from the default settings, which is always false.
69 70 71 |
# File 'lib/models/cross_tenant_access_policy_configuration_partner.rb', line 69 def (value) @automatic_user_consent_settings = value end |
#b2b_collaboration_inbound ⇒ Object
Gets the b2bCollaborationInbound property value. Defines your partner-specific configuration for users from other organizations accessing your resources via Azure AD B2B collaboration.
76 77 78 |
# File 'lib/models/cross_tenant_access_policy_configuration_partner.rb', line 76 def b2b_collaboration_inbound return @b2b_collaboration_inbound end |
#b2b_collaboration_inbound=(value) ⇒ Object
Sets the b2bCollaborationInbound property value. Defines your partner-specific configuration for users from other organizations accessing your resources via Azure AD B2B collaboration.
84 85 86 |
# File 'lib/models/cross_tenant_access_policy_configuration_partner.rb', line 84 def b2b_collaboration_inbound=(value) @b2b_collaboration_inbound = value end |
#b2b_collaboration_outbound ⇒ Object
Gets the b2bCollaborationOutbound property value. Defines your partner-specific configuration for users in your organization going outbound to access resources in another organization via Azure AD B2B collaboration.
91 92 93 |
# File 'lib/models/cross_tenant_access_policy_configuration_partner.rb', line 91 def b2b_collaboration_outbound return @b2b_collaboration_outbound end |
#b2b_collaboration_outbound=(value) ⇒ Object
Sets the b2bCollaborationOutbound property value. Defines your partner-specific configuration for users in your organization going outbound to access resources in another organization via Azure AD B2B collaboration.
99 100 101 |
# File 'lib/models/cross_tenant_access_policy_configuration_partner.rb', line 99 def b2b_collaboration_outbound=(value) @b2b_collaboration_outbound = value end |
#b2b_direct_connect_inbound ⇒ Object
Gets the b2bDirectConnectInbound property value. Defines your partner-specific configuration for users from other organizations accessing your resources via Azure B2B direct connect.
106 107 108 |
# File 'lib/models/cross_tenant_access_policy_configuration_partner.rb', line 106 def b2b_direct_connect_inbound return @b2b_direct_connect_inbound end |
#b2b_direct_connect_inbound=(value) ⇒ Object
Sets the b2bDirectConnectInbound property value. Defines your partner-specific configuration for users from other organizations accessing your resources via Azure B2B direct connect.
114 115 116 |
# File 'lib/models/cross_tenant_access_policy_configuration_partner.rb', line 114 def b2b_direct_connect_inbound=(value) @b2b_direct_connect_inbound = value end |
#b2b_direct_connect_outbound ⇒ Object
Gets the b2bDirectConnectOutbound property value. Defines your partner-specific configuration for users in your organization going outbound to access resources in another organization via Azure AD B2B direct connect.
121 122 123 |
# File 'lib/models/cross_tenant_access_policy_configuration_partner.rb', line 121 def b2b_direct_connect_outbound return @b2b_direct_connect_outbound end |
#b2b_direct_connect_outbound=(value) ⇒ Object
Sets the b2bDirectConnectOutbound property value. Defines your partner-specific configuration for users in your organization going outbound to access resources in another organization via Azure AD B2B direct connect.
129 130 131 |
# File 'lib/models/cross_tenant_access_policy_configuration_partner.rb', line 129 def b2b_direct_connect_outbound=(value) @b2b_direct_connect_outbound = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
152 153 154 155 156 157 158 159 160 161 162 163 164 165 |
# File 'lib/models/cross_tenant_access_policy_configuration_partner.rb', line 152 def get_field_deserializers() return { "automaticUserConsentSettings" => lambda {|n| @automatic_user_consent_settings = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::InboundOutboundPolicyConfiguration.create_from_discriminator_value(pn) }) }, "b2bCollaborationInbound" => lambda {|n| @b2b_collaboration_inbound = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::CrossTenantAccessPolicyB2BSetting.create_from_discriminator_value(pn) }) }, "b2bCollaborationOutbound" => lambda {|n| @b2b_collaboration_outbound = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::CrossTenantAccessPolicyB2BSetting.create_from_discriminator_value(pn) }) }, "b2bDirectConnectInbound" => lambda {|n| @b2b_direct_connect_inbound = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::CrossTenantAccessPolicyB2BSetting.create_from_discriminator_value(pn) }) }, "b2bDirectConnectOutbound" => lambda {|n| @b2b_direct_connect_outbound = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::CrossTenantAccessPolicyB2BSetting.create_from_discriminator_value(pn) }) }, "identitySynchronization" => lambda {|n| @identity_synchronization = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::CrossTenantIdentitySyncPolicyPartner.create_from_discriminator_value(pn) }) }, "inboundTrust" => lambda {|n| @inbound_trust = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::CrossTenantAccessPolicyInboundTrust.create_from_discriminator_value(pn) }) }, "isServiceProvider" => lambda {|n| @is_service_provider = n.get_boolean_value() }, "@odata.type" => lambda {|n| @odata_type = n.get_string_value() }, "tenantId" => lambda {|n| @tenant_id = n.get_string_value() }, } end |
#identity_synchronization ⇒ Object
Gets the identitySynchronization property value. Defines the cross-tenant policy for the synchronization of users from a partner tenant. Use this user synchronization policy to streamline collaboration between users in a multi-tenant organization by automating the creation, update, and deletion of users from one tenant to another.
170 171 172 |
# File 'lib/models/cross_tenant_access_policy_configuration_partner.rb', line 170 def identity_synchronization return @identity_synchronization end |
#identity_synchronization=(value) ⇒ Object
Sets the identitySynchronization property value. Defines the cross-tenant policy for the synchronization of users from a partner tenant. Use this user synchronization policy to streamline collaboration between users in a multi-tenant organization by automating the creation, update, and deletion of users from one tenant to another.
178 179 180 |
# File 'lib/models/cross_tenant_access_policy_configuration_partner.rb', line 178 def identity_synchronization=(value) @identity_synchronization = value end |
#inbound_trust ⇒ Object
Gets the inboundTrust property value. Determines the partner-specific configuration for trusting other Conditional Access claims from external Azure AD organizations.
185 186 187 |
# File 'lib/models/cross_tenant_access_policy_configuration_partner.rb', line 185 def inbound_trust return @inbound_trust end |
#inbound_trust=(value) ⇒ Object
Sets the inboundTrust property value. Determines the partner-specific configuration for trusting other Conditional Access claims from external Azure AD organizations.
193 194 195 |
# File 'lib/models/cross_tenant_access_policy_configuration_partner.rb', line 193 def inbound_trust=(value) @inbound_trust = value end |
#is_service_provider ⇒ Object
Gets the isServiceProvider property value. Identifies whether the partner-specific configuration is a Cloud Service Provider for your organization.
200 201 202 |
# File 'lib/models/cross_tenant_access_policy_configuration_partner.rb', line 200 def is_service_provider return @is_service_provider end |
#is_service_provider=(value) ⇒ Object
Sets the isServiceProvider property value. Identifies whether the partner-specific configuration is a Cloud Service Provider for your organization.
208 209 210 |
# File 'lib/models/cross_tenant_access_policy_configuration_partner.rb', line 208 def is_service_provider=(value) @is_service_provider = value end |
#odata_type ⇒ Object
Gets the @odata.type property value. The OdataType property
215 216 217 |
# File 'lib/models/cross_tenant_access_policy_configuration_partner.rb', line 215 def odata_type return @odata_type end |
#odata_type=(value) ⇒ Object
Sets the @odata.type property value. The OdataType property
223 224 225 |
# File 'lib/models/cross_tenant_access_policy_configuration_partner.rb', line 223 def odata_type=(value) @odata_type = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
231 232 233 234 235 236 237 238 239 240 241 242 243 244 |
# File 'lib/models/cross_tenant_access_policy_configuration_partner.rb', line 231 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? writer.write_object_value("automaticUserConsentSettings", @automatic_user_consent_settings) writer.write_object_value("b2bCollaborationInbound", @b2b_collaboration_inbound) writer.write_object_value("b2bCollaborationOutbound", @b2b_collaboration_outbound) writer.write_object_value("b2bDirectConnectInbound", @b2b_direct_connect_inbound) writer.write_object_value("b2bDirectConnectOutbound", @b2b_direct_connect_outbound) writer.write_object_value("identitySynchronization", @identity_synchronization) writer.write_object_value("inboundTrust", @inbound_trust) writer.write_boolean_value("isServiceProvider", @is_service_provider) writer.write_string_value("@odata.type", @odata_type) writer.write_string_value("tenantId", @tenant_id) writer.write_additional_data(@additional_data) end |
#tenant_id ⇒ Object
Gets the tenantId property value. The tenant identifier for the partner Azure AD organization. Read-only. Key.
249 250 251 |
# File 'lib/models/cross_tenant_access_policy_configuration_partner.rb', line 249 def tenant_id return @tenant_id end |
#tenant_id=(value) ⇒ Object
Sets the tenantId property value. The tenant identifier for the partner Azure AD organization. Read-only. Key.
257 258 259 |
# File 'lib/models/cross_tenant_access_policy_configuration_partner.rb', line 257 def tenant_id=(value) @tenant_id = value end |