Class: MicrosoftGraph::Models::TeamMemberSettings
- Inherits:
-
Object
- Object
- MicrosoftGraph::Models::TeamMemberSettings
- Includes:
- MicrosoftKiotaAbstractions::AdditionalDataHolder, MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/team_member_settings.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.
-
#allow_add_remove_apps ⇒ Object
Gets the allowAddRemoveApps property value.
-
#allow_add_remove_apps=(value) ⇒ Object
Sets the allowAddRemoveApps property value.
-
#allow_create_private_channels ⇒ Object
Gets the allowCreatePrivateChannels property value.
-
#allow_create_private_channels=(value) ⇒ Object
Sets the allowCreatePrivateChannels property value.
-
#allow_create_update_channels ⇒ Object
Gets the allowCreateUpdateChannels property value.
-
#allow_create_update_channels=(value) ⇒ Object
Sets the allowCreateUpdateChannels property value.
-
#allow_create_update_remove_connectors ⇒ Object
Gets the allowCreateUpdateRemoveConnectors property value.
-
#allow_create_update_remove_connectors=(value) ⇒ Object
Sets the allowCreateUpdateRemoveConnectors property value.
-
#allow_create_update_remove_tabs ⇒ Object
Gets the allowCreateUpdateRemoveTabs property value.
-
#allow_create_update_remove_tabs=(value) ⇒ Object
Sets the allowCreateUpdateRemoveTabs property value.
-
#allow_delete_channels ⇒ Object
Gets the allowDeleteChannels property value.
-
#allow_delete_channels=(value) ⇒ Object
Sets the allowDeleteChannels property value.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#initialize ⇒ Object
constructor
Instantiates a new teamMemberSettings 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.
Constructor Details
#initialize ⇒ Object
Instantiates a new teamMemberSettings and sets the default values.
142 143 144 |
# File 'lib/models/team_member_settings.rb', line 142 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
150 151 152 153 |
# File 'lib/models/team_member_settings.rb', line 150 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return TeamMemberSettings.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.
37 38 39 |
# File 'lib/models/team_member_settings.rb', line 37 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.
45 46 47 |
# File 'lib/models/team_member_settings.rb', line 45 def additional_data=(value) @additional_data = value end |
#allow_add_remove_apps ⇒ Object
Gets the allowAddRemoveApps property value. If set to true, members can add and remove apps.
52 53 54 |
# File 'lib/models/team_member_settings.rb', line 52 def allow_add_remove_apps return @allow_add_remove_apps end |
#allow_add_remove_apps=(value) ⇒ Object
Sets the allowAddRemoveApps property value. If set to true, members can add and remove apps.
60 61 62 |
# File 'lib/models/team_member_settings.rb', line 60 def allow_add_remove_apps=(value) @allow_add_remove_apps = value end |
#allow_create_private_channels ⇒ Object
Gets the allowCreatePrivateChannels property value. If set to true, members can add and update private channels.
67 68 69 |
# File 'lib/models/team_member_settings.rb', line 67 def allow_create_private_channels return @allow_create_private_channels end |
#allow_create_private_channels=(value) ⇒ Object
Sets the allowCreatePrivateChannels property value. If set to true, members can add and update private channels.
75 76 77 |
# File 'lib/models/team_member_settings.rb', line 75 def allow_create_private_channels=(value) @allow_create_private_channels = value end |
#allow_create_update_channels ⇒ Object
Gets the allowCreateUpdateChannels property value. If set to true, members can add and update channels.
82 83 84 |
# File 'lib/models/team_member_settings.rb', line 82 def allow_create_update_channels return @allow_create_update_channels end |
#allow_create_update_channels=(value) ⇒ Object
Sets the allowCreateUpdateChannels property value. If set to true, members can add and update channels.
90 91 92 |
# File 'lib/models/team_member_settings.rb', line 90 def allow_create_update_channels=(value) @allow_create_update_channels = value end |
#allow_create_update_remove_connectors ⇒ Object
Gets the allowCreateUpdateRemoveConnectors property value. If set to true, members can add, update, and remove connectors.
97 98 99 |
# File 'lib/models/team_member_settings.rb', line 97 def allow_create_update_remove_connectors return @allow_create_update_remove_connectors end |
#allow_create_update_remove_connectors=(value) ⇒ Object
Sets the allowCreateUpdateRemoveConnectors property value. If set to true, members can add, update, and remove connectors.
105 106 107 |
# File 'lib/models/team_member_settings.rb', line 105 def allow_create_update_remove_connectors=(value) @allow_create_update_remove_connectors = value end |
#allow_create_update_remove_tabs ⇒ Object
Gets the allowCreateUpdateRemoveTabs property value. If set to true, members can add, update, and remove tabs.
112 113 114 |
# File 'lib/models/team_member_settings.rb', line 112 def allow_create_update_remove_tabs return @allow_create_update_remove_tabs end |
#allow_create_update_remove_tabs=(value) ⇒ Object
Sets the allowCreateUpdateRemoveTabs property value. If set to true, members can add, update, and remove tabs.
120 121 122 |
# File 'lib/models/team_member_settings.rb', line 120 def allow_create_update_remove_tabs=(value) @allow_create_update_remove_tabs = value end |
#allow_delete_channels ⇒ Object
Gets the allowDeleteChannels property value. If set to true, members can delete channels.
127 128 129 |
# File 'lib/models/team_member_settings.rb', line 127 def allow_delete_channels return @allow_delete_channels end |
#allow_delete_channels=(value) ⇒ Object
Sets the allowDeleteChannels property value. If set to true, members can delete channels.
135 136 137 |
# File 'lib/models/team_member_settings.rb', line 135 def allow_delete_channels=(value) @allow_delete_channels = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
158 159 160 161 162 163 164 165 166 167 168 |
# File 'lib/models/team_member_settings.rb', line 158 def get_field_deserializers() return { "allowAddRemoveApps" => lambda {|n| @allow_add_remove_apps = n.get_boolean_value() }, "allowCreatePrivateChannels" => lambda {|n| @allow_create_private_channels = n.get_boolean_value() }, "allowCreateUpdateChannels" => lambda {|n| @allow_create_update_channels = n.get_boolean_value() }, "allowCreateUpdateRemoveConnectors" => lambda {|n| @allow_create_update_remove_connectors = n.get_boolean_value() }, "allowCreateUpdateRemoveTabs" => lambda {|n| @allow_create_update_remove_tabs = n.get_boolean_value() }, "allowDeleteChannels" => lambda {|n| @allow_delete_channels = n.get_boolean_value() }, "@odata.type" => lambda {|n| @odata_type = n.get_string_value() }, } end |
#odata_type ⇒ Object
Gets the @odata.type property value. The OdataType property
173 174 175 |
# File 'lib/models/team_member_settings.rb', line 173 def odata_type return @odata_type end |
#odata_type=(value) ⇒ Object
Sets the @odata.type property value. The OdataType property
181 182 183 |
# File 'lib/models/team_member_settings.rb', line 181 def odata_type=(value) @odata_type = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
189 190 191 192 193 194 195 196 197 198 199 |
# File 'lib/models/team_member_settings.rb', line 189 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? writer.write_boolean_value("allowAddRemoveApps", @allow_add_remove_apps) writer.write_boolean_value("allowCreatePrivateChannels", @allow_create_private_channels) writer.write_boolean_value("allowCreateUpdateChannels", @allow_create_update_channels) writer.write_boolean_value("allowCreateUpdateRemoveConnectors", @allow_create_update_remove_connectors) writer.write_boolean_value("allowCreateUpdateRemoveTabs", @allow_create_update_remove_tabs) writer.write_boolean_value("allowDeleteChannels", @allow_delete_channels) writer.write_string_value("@odata.type", @odata_type) writer.write_additional_data(@additional_data) end |