Class: MicrosoftGraph::Models::CrossTenantAccessPolicyConfigurationDefault
- Inherits:
-
Entity
- Object
- Entity
- MicrosoftGraph::Models::CrossTenantAccessPolicyConfigurationDefault
- Includes:
- MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/cross_tenant_access_policy_configuration_default.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
-
#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.
-
#inbound_trust ⇒ Object
Gets the inboundTrust property value.
-
#inbound_trust=(value) ⇒ Object
Sets the inboundTrust property value.
-
#initialize ⇒ Object
constructor
Instantiates a new crossTenantAccessPolicyConfigurationDefault and sets the default values.
-
#is_service_default ⇒ Object
Gets the isServiceDefault property value.
-
#is_service_default=(value) ⇒ Object
Sets the isServiceDefault property value.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
Methods inherited from Entity
#additional_data, #additional_data=, #id, #id=, #odata_type, #odata_type=
Constructor Details
#initialize ⇒ Object
Instantiates a new crossTenantAccessPolicyConfigurationDefault and sets the default values.
109 110 111 |
# File 'lib/models/cross_tenant_access_policy_configuration_default.rb', line 109 def initialize() super end |
Class Method Details
.create_from_discriminator_value(parse_node) ⇒ Object
Creates a new instance of the appropriate class based on discriminator value
117 118 119 120 |
# File 'lib/models/cross_tenant_access_policy_configuration_default.rb', line 117 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return CrossTenantAccessPolicyConfigurationDefault.new end |
Instance Method Details
#automatic_user_consent_settings ⇒ Object
Gets the automaticUserConsentSettings property value. Determines the default configuration for automatic user consent settings. The inboundAllowed and outboundAllowed properties are always false and cannot be updated in the default configuration. Read-only.
34 35 36 |
# File 'lib/models/cross_tenant_access_policy_configuration_default.rb', line 34 def return end |
#automatic_user_consent_settings=(value) ⇒ Object
Sets the automaticUserConsentSettings property value. Determines the default configuration for automatic user consent settings. The inboundAllowed and outboundAllowed properties are always false and cannot be updated in the default configuration. Read-only.
42 43 44 |
# File 'lib/models/cross_tenant_access_policy_configuration_default.rb', line 42 def (value) = value end |
#b2b_collaboration_inbound ⇒ Object
Gets the b2bCollaborationInbound property value. Defines your default configuration for users from other organizations accessing your resources via Azure AD B2B collaboration.
49 50 51 |
# File 'lib/models/cross_tenant_access_policy_configuration_default.rb', line 49 def b2b_collaboration_inbound return @b2b_collaboration_inbound end |
#b2b_collaboration_inbound=(value) ⇒ Object
Sets the b2bCollaborationInbound property value. Defines your default configuration for users from other organizations accessing your resources via Azure AD B2B collaboration.
57 58 59 |
# File 'lib/models/cross_tenant_access_policy_configuration_default.rb', line 57 def b2b_collaboration_inbound=(value) @b2b_collaboration_inbound = value end |
#b2b_collaboration_outbound ⇒ Object
Gets the b2bCollaborationOutbound property value. Defines your default configuration for users in your organization going outbound to access resources in another organization via Azure AD B2B collaboration.
64 65 66 |
# File 'lib/models/cross_tenant_access_policy_configuration_default.rb', line 64 def b2b_collaboration_outbound return @b2b_collaboration_outbound end |
#b2b_collaboration_outbound=(value) ⇒ Object
Sets the b2bCollaborationOutbound property value. Defines your default configuration for users in your organization going outbound to access resources in another organization via Azure AD B2B collaboration.
72 73 74 |
# File 'lib/models/cross_tenant_access_policy_configuration_default.rb', line 72 def b2b_collaboration_outbound=(value) @b2b_collaboration_outbound = value end |
#b2b_direct_connect_inbound ⇒ Object
Gets the b2bDirectConnectInbound property value. Defines your default configuration for users from other organizations accessing your resources via Azure AD B2B direct connect.
79 80 81 |
# File 'lib/models/cross_tenant_access_policy_configuration_default.rb', line 79 def b2b_direct_connect_inbound return @b2b_direct_connect_inbound end |
#b2b_direct_connect_inbound=(value) ⇒ Object
Sets the b2bDirectConnectInbound property value. Defines your default configuration for users from other organizations accessing your resources via Azure AD B2B direct connect.
87 88 89 |
# File 'lib/models/cross_tenant_access_policy_configuration_default.rb', line 87 def b2b_direct_connect_inbound=(value) @b2b_direct_connect_inbound = value end |
#b2b_direct_connect_outbound ⇒ Object
Gets the b2bDirectConnectOutbound property value. Defines your default configuration for users in your organization going outbound to access resources in another organization via Azure AD B2B direct connect.
94 95 96 |
# File 'lib/models/cross_tenant_access_policy_configuration_default.rb', line 94 def b2b_direct_connect_outbound return @b2b_direct_connect_outbound end |
#b2b_direct_connect_outbound=(value) ⇒ Object
Sets the b2bDirectConnectOutbound property value. Defines your default configuration for users in your organization going outbound to access resources in another organization via Azure AD B2B direct connect.
102 103 104 |
# File 'lib/models/cross_tenant_access_policy_configuration_default.rb', line 102 def b2b_direct_connect_outbound=(value) @b2b_direct_connect_outbound = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
125 126 127 128 129 130 131 132 133 134 135 |
# File 'lib/models/cross_tenant_access_policy_configuration_default.rb', line 125 def get_field_deserializers() return super.merge({ "automaticUserConsentSettings" => lambda {|n| = 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) }) }, "inboundTrust" => lambda {|n| @inbound_trust = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::CrossTenantAccessPolicyInboundTrust.create_from_discriminator_value(pn) }) }, "isServiceDefault" => lambda {|n| @is_service_default = n.get_boolean_value() }, }) end |
#inbound_trust ⇒ Object
Gets the inboundTrust property value. Determines the default configuration for trusting other Conditional Access claims from external Azure AD organizations.
140 141 142 |
# File 'lib/models/cross_tenant_access_policy_configuration_default.rb', line 140 def inbound_trust return @inbound_trust end |
#inbound_trust=(value) ⇒ Object
Sets the inboundTrust property value. Determines the default configuration for trusting other Conditional Access claims from external Azure AD organizations.
148 149 150 |
# File 'lib/models/cross_tenant_access_policy_configuration_default.rb', line 148 def inbound_trust=(value) @inbound_trust = value end |
#is_service_default ⇒ Object
Gets the isServiceDefault property value. If true, the default configuration is set to the system default configuration. If false, the default settings have been customized.
155 156 157 |
# File 'lib/models/cross_tenant_access_policy_configuration_default.rb', line 155 def is_service_default return @is_service_default end |
#is_service_default=(value) ⇒ Object
Sets the isServiceDefault property value. If true, the default configuration is set to the system default configuration. If false, the default settings have been customized.
163 164 165 |
# File 'lib/models/cross_tenant_access_policy_configuration_default.rb', line 163 def is_service_default=(value) @is_service_default = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
171 172 173 174 175 176 177 178 179 180 181 |
# File 'lib/models/cross_tenant_access_policy_configuration_default.rb', line 171 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? super writer.write_object_value("automaticUserConsentSettings", ) 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("inboundTrust", @inbound_trust) writer.write_boolean_value("isServiceDefault", @is_service_default) end |