Class: MicrosoftGraph::Models::UserRegistrationFeatureSummary
- Inherits:
-
Object
- Object
- MicrosoftGraph::Models::UserRegistrationFeatureSummary
- Includes:
- MicrosoftKiotaAbstractions::AdditionalDataHolder, MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/user_registration_feature_summary.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.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#initialize ⇒ Object
constructor
Instantiates a new userRegistrationFeatureSummary and sets the default values.
-
#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.
-
#total_user_count ⇒ Object
Gets the totalUserCount property value.
-
#total_user_count=(value) ⇒ Object
Sets the totalUserCount property value.
-
#user_registration_feature_counts ⇒ Object
Gets the userRegistrationFeatureCounts property value.
-
#user_registration_feature_counts=(value) ⇒ Object
Sets the userRegistrationFeatureCounts property value.
-
#user_roles ⇒ Object
Gets the userRoles property value.
-
#user_roles=(value) ⇒ Object
Sets the userRoles property value.
-
#user_types ⇒ Object
Gets the userTypes property value.
-
#user_types=(value) ⇒ Object
Sets the userTypes property value.
Constructor Details
#initialize ⇒ Object
Instantiates a new userRegistrationFeatureSummary and sets the default values.
46 47 48 |
# File 'lib/models/user_registration_feature_summary.rb', line 46 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
54 55 56 57 |
# File 'lib/models/user_registration_feature_summary.rb', line 54 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return UserRegistrationFeatureSummary.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.
31 32 33 |
# File 'lib/models/user_registration_feature_summary.rb', line 31 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.
39 40 41 |
# File 'lib/models/user_registration_feature_summary.rb', line 39 def additional_data=(value) @additional_data = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
62 63 64 65 66 67 68 69 70 |
# File 'lib/models/user_registration_feature_summary.rb', line 62 def get_field_deserializers() return { "@odata.type" => lambda {|n| @odata_type = n.get_string_value() }, "totalUserCount" => lambda {|n| @total_user_count = n.get_object_value(lambda {|pn| Int64.create_from_discriminator_value(pn) }) }, "userRegistrationFeatureCounts" => lambda {|n| @user_registration_feature_counts = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::UserRegistrationFeatureCount.create_from_discriminator_value(pn) }) }, "userRoles" => lambda {|n| @user_roles = n.get_enum_value(MicrosoftGraph::Models::IncludedUserRoles) }, "userTypes" => lambda {|n| @user_types = n.get_enum_value(MicrosoftGraph::Models::IncludedUserTypes) }, } end |
#odata_type ⇒ Object
Gets the @odata.type property value. The OdataType property
75 76 77 |
# File 'lib/models/user_registration_feature_summary.rb', line 75 def odata_type return @odata_type end |
#odata_type=(value) ⇒ Object
Sets the @odata.type property value. The OdataType property
83 84 85 |
# File 'lib/models/user_registration_feature_summary.rb', line 83 def odata_type=(value) @odata_type = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
91 92 93 94 95 96 97 98 99 |
# File 'lib/models/user_registration_feature_summary.rb', line 91 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? writer.write_string_value("@odata.type", @odata_type) writer.write_object_value("totalUserCount", @total_user_count) writer.write_collection_of_object_values("userRegistrationFeatureCounts", @user_registration_feature_counts) writer.write_enum_value("userRoles", @user_roles) writer.write_enum_value("userTypes", @user_types) writer.write_additional_data(@additional_data) end |
#total_user_count ⇒ Object
Gets the totalUserCount property value. Total number of users accounts, excluding those that are blocked.
104 105 106 |
# File 'lib/models/user_registration_feature_summary.rb', line 104 def total_user_count return @total_user_count end |
#total_user_count=(value) ⇒ Object
Sets the totalUserCount property value. Total number of users accounts, excluding those that are blocked.
112 113 114 |
# File 'lib/models/user_registration_feature_summary.rb', line 112 def total_user_count=(value) @total_user_count = value end |
#user_registration_feature_counts ⇒ Object
Gets the userRegistrationFeatureCounts property value. Number of users registered or capable for multi-factor authentication, self-service password reset, and passwordless authentication.
119 120 121 |
# File 'lib/models/user_registration_feature_summary.rb', line 119 def user_registration_feature_counts return @user_registration_feature_counts end |
#user_registration_feature_counts=(value) ⇒ Object
Sets the userRegistrationFeatureCounts property value. Number of users registered or capable for multi-factor authentication, self-service password reset, and passwordless authentication.
127 128 129 |
# File 'lib/models/user_registration_feature_summary.rb', line 127 def user_registration_feature_counts=(value) @user_registration_feature_counts = value end |
#user_roles ⇒ Object
Gets the userRoles property value. The role type of the user. Possible values are: all, privilegedAdmin, admin, user, unknownFutureValue.
134 135 136 |
# File 'lib/models/user_registration_feature_summary.rb', line 134 def user_roles return @user_roles end |
#user_roles=(value) ⇒ Object
Sets the userRoles property value. The role type of the user. Possible values are: all, privilegedAdmin, admin, user, unknownFutureValue.
142 143 144 |
# File 'lib/models/user_registration_feature_summary.rb', line 142 def user_roles=(value) @user_roles = value end |
#user_types ⇒ Object
Gets the userTypes property value. User type. Possible values are: all, member, guest, unknownFutureValue.
149 150 151 |
# File 'lib/models/user_registration_feature_summary.rb', line 149 def user_types return @user_types end |
#user_types=(value) ⇒ Object
Sets the userTypes property value. User type. Possible values are: all, member, guest, unknownFutureValue.
157 158 159 |
# File 'lib/models/user_registration_feature_summary.rb', line 157 def user_types=(value) @user_types = value end |