Class: MicrosoftGraph::Models::B2xIdentityUserFlow

Inherits:
IdentityUserFlow show all
Includes:
MicrosoftKiotaAbstractions::Parsable
Defined in:
lib/models/b2x_identity_user_flow.rb

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from IdentityUserFlow

#user_flow_type, #user_flow_type=, #user_flow_type_version, #user_flow_type_version=

Methods inherited from Entity

#additional_data, #additional_data=, #id, #id=, #odata_type, #odata_type=

Constructor Details

#initializeObject

Instantiates a new b2xIdentityUserFlow and sets the default values.



43
44
45
# File 'lib/models/b2x_identity_user_flow.rb', line 43

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

Parameters:

  • parse_node

    The parse node to use to read the discriminator value and create the object

Returns:

  • a b2x_identity_user_flow

Raises:

  • (StandardError)


51
52
53
54
# File 'lib/models/b2x_identity_user_flow.rb', line 51

def self.create_from_discriminator_value(parse_node)
    raise StandardError, 'parse_node cannot be null' if parse_node.nil?
    return B2xIdentityUserFlow.new
end

Instance Method Details

#api_connector_configurationObject

Gets the apiConnectorConfiguration property value. Configuration for enabling an API connector for use as part of the self-service sign-up user flow. You can only obtain the value of this object using Get userFlowApiConnectorConfiguration.

Returns:

  • a user_flow_api_connector_configuration



28
29
30
# File 'lib/models/b2x_identity_user_flow.rb', line 28

def api_connector_configuration
    return @api_connector_configuration
end

#api_connector_configuration=(value) ⇒ Object

Sets the apiConnectorConfiguration property value. Configuration for enabling an API connector for use as part of the self-service sign-up user flow. You can only obtain the value of this object using Get userFlowApiConnectorConfiguration.

Parameters:

  • value

    Value to set for the apiConnectorConfiguration property.

Returns:

  • a void



36
37
38
# File 'lib/models/b2x_identity_user_flow.rb', line 36

def api_connector_configuration=(value)
    @api_connector_configuration = value
end

#get_field_deserializersObject

The deserialization information for the current model

Returns:

  • a i_dictionary



59
60
61
62
63
64
65
66
67
# File 'lib/models/b2x_identity_user_flow.rb', line 59

def get_field_deserializers()
    return super.merge({
        "apiConnectorConfiguration" => lambda {|n| @api_connector_configuration = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::UserFlowApiConnectorConfiguration.create_from_discriminator_value(pn) }) },
        "identityProviders" => lambda {|n| @identity_providers = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::IdentityProvider.create_from_discriminator_value(pn) }) },
        "languages" => lambda {|n| @languages = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::UserFlowLanguageConfiguration.create_from_discriminator_value(pn) }) },
        "userAttributeAssignments" => lambda {|n| @user_attribute_assignments = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::IdentityUserFlowAttributeAssignment.create_from_discriminator_value(pn) }) },
        "userFlowIdentityProviders" => lambda {|n| @user_flow_identity_providers = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::IdentityProviderBase.create_from_discriminator_value(pn) }) },
    })
end

#identity_providersObject

Gets the identityProviders property value. The identity providers included in the user flow.

Returns:

  • a identity_provider



72
73
74
# File 'lib/models/b2x_identity_user_flow.rb', line 72

def identity_providers
    return @identity_providers
end

#identity_providers=(value) ⇒ Object

Sets the identityProviders property value. The identity providers included in the user flow.

Parameters:

  • value

    Value to set for the identityProviders property.

Returns:

  • a void



80
81
82
# File 'lib/models/b2x_identity_user_flow.rb', line 80

def identity_providers=(value)
    @identity_providers = value
end

#languagesObject

Gets the languages property value. The languages supported for customization within the user flow. Language customization is enabled by default in self-service sign-up user flow. You cannot create custom languages in self-service sign-up user flows.

Returns:

  • a user_flow_language_configuration



87
88
89
# File 'lib/models/b2x_identity_user_flow.rb', line 87

def languages
    return @languages
end

#languages=(value) ⇒ Object

Sets the languages property value. The languages supported for customization within the user flow. Language customization is enabled by default in self-service sign-up user flow. You cannot create custom languages in self-service sign-up user flows.

Parameters:

  • value

    Value to set for the languages property.

Returns:

  • a void



95
96
97
# File 'lib/models/b2x_identity_user_flow.rb', line 95

def languages=(value)
    @languages = value
end

#serialize(writer) ⇒ Object

Serializes information the current object

Parameters:

  • writer

    Serialization writer to use to serialize this model

Returns:

  • a void

Raises:

  • (StandardError)


103
104
105
106
107
108
109
110
111
# File 'lib/models/b2x_identity_user_flow.rb', line 103

def serialize(writer)
    raise StandardError, 'writer cannot be null' if writer.nil?
    super
    writer.write_object_value("apiConnectorConfiguration", @api_connector_configuration)
    writer.write_collection_of_object_values("identityProviders", @identity_providers)
    writer.write_collection_of_object_values("languages", @languages)
    writer.write_collection_of_object_values("userAttributeAssignments", @user_attribute_assignments)
    writer.write_collection_of_object_values("userFlowIdentityProviders", @user_flow_identity_providers)
end

#user_attribute_assignmentsObject

Gets the userAttributeAssignments property value. The user attribute assignments included in the user flow.

Returns:

  • a identity_user_flow_attribute_assignment



116
117
118
# File 'lib/models/b2x_identity_user_flow.rb', line 116

def user_attribute_assignments
    return @user_attribute_assignments
end

#user_attribute_assignments=(value) ⇒ Object

Sets the userAttributeAssignments property value. The user attribute assignments included in the user flow.

Parameters:

  • value

    Value to set for the userAttributeAssignments property.

Returns:

  • a void



124
125
126
# File 'lib/models/b2x_identity_user_flow.rb', line 124

def user_attribute_assignments=(value)
    @user_attribute_assignments = value
end

#user_flow_identity_providersObject

Gets the userFlowIdentityProviders property value. The userFlowIdentityProviders property

Returns:

  • a identity_provider_base



131
132
133
# File 'lib/models/b2x_identity_user_flow.rb', line 131

def user_flow_identity_providers
    return @user_flow_identity_providers
end

#user_flow_identity_providers=(value) ⇒ Object

Sets the userFlowIdentityProviders property value. The userFlowIdentityProviders property

Parameters:

  • value

    Value to set for the userFlowIdentityProviders property.

Returns:

  • a void



139
140
141
# File 'lib/models/b2x_identity_user_flow.rb', line 139

def user_flow_identity_providers=(value)
    @user_flow_identity_providers = value
end