Class: MicrosoftGraph::Models::BrowserSiteList
- Includes:
- MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/browser_site_list.rb
Overview
A singleton entity which is used to specify IE mode site list metadata
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
-
#description ⇒ Object
Gets the description property value.
-
#description=(value) ⇒ Object
Sets the description property value.
-
#display_name ⇒ Object
Gets the displayName property value.
-
#display_name=(value) ⇒ Object
Sets the displayName property value.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#initialize ⇒ Object
constructor
Instantiates a new browserSiteList and sets the default values.
-
#last_modified_by ⇒ Object
Gets the lastModifiedBy property value.
-
#last_modified_by=(value) ⇒ Object
Sets the lastModifiedBy property value.
-
#last_modified_date_time ⇒ Object
Gets the lastModifiedDateTime property value.
-
#last_modified_date_time=(value) ⇒ Object
Sets the lastModifiedDateTime property value.
-
#published_by ⇒ Object
Gets the publishedBy property value.
-
#published_by=(value) ⇒ Object
Sets the publishedBy property value.
-
#published_date_time ⇒ Object
Gets the publishedDateTime property value.
-
#published_date_time=(value) ⇒ Object
Sets the publishedDateTime property value.
-
#revision ⇒ Object
Gets the revision property value.
-
#revision=(value) ⇒ Object
Sets the revision property value.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
-
#shared_cookies ⇒ Object
Gets the sharedCookies property value.
-
#shared_cookies=(value) ⇒ Object
Sets the sharedCookies property value.
-
#sites ⇒ Object
Gets the sites property value.
-
#sites=(value) ⇒ Object
Sets the sites property value.
-
#status ⇒ Object
Gets the status property value.
-
#status=(value) ⇒ Object
Sets the status property value.
Methods inherited from Entity
#additional_data, #additional_data=, #id, #id=, #odata_type, #odata_type=
Constructor Details
#initialize ⇒ Object
Instantiates a new browserSiteList and sets the default values.
46 47 48 |
# File 'lib/models/browser_site_list.rb', line 46 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
54 55 56 57 |
# File 'lib/models/browser_site_list.rb', line 54 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return BrowserSiteList.new end |
Instance Method Details
#description ⇒ Object
Gets the description property value. The description of the site list.
62 63 64 |
# File 'lib/models/browser_site_list.rb', line 62 def description return @description end |
#description=(value) ⇒ Object
Sets the description property value. The description of the site list.
70 71 72 |
# File 'lib/models/browser_site_list.rb', line 70 def description=(value) @description = value end |
#display_name ⇒ Object
Gets the displayName property value. The name of the site list.
77 78 79 |
# File 'lib/models/browser_site_list.rb', line 77 def display_name return @display_name end |
#display_name=(value) ⇒ Object
Sets the displayName property value. The name of the site list.
85 86 87 |
# File 'lib/models/browser_site_list.rb', line 85 def display_name=(value) @display_name = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
92 93 94 95 96 97 98 99 100 101 102 103 104 105 |
# File 'lib/models/browser_site_list.rb', line 92 def get_field_deserializers() return super.merge({ "description" => lambda {|n| @description = n.get_string_value() }, "displayName" => lambda {|n| @display_name = n.get_string_value() }, "lastModifiedBy" => lambda {|n| @last_modified_by = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::IdentitySet.create_from_discriminator_value(pn) }) }, "lastModifiedDateTime" => lambda {|n| @last_modified_date_time = n.get_date_time_value() }, "publishedBy" => lambda {|n| @published_by = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::IdentitySet.create_from_discriminator_value(pn) }) }, "publishedDateTime" => lambda {|n| @published_date_time = n.get_date_time_value() }, "revision" => lambda {|n| @revision = n.get_string_value() }, "sharedCookies" => lambda {|n| = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::BrowserSharedCookie.create_from_discriminator_value(pn) }) }, "sites" => lambda {|n| @sites = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::BrowserSite.create_from_discriminator_value(pn) }) }, "status" => lambda {|n| @status = n.get_enum_value(MicrosoftGraph::Models::BrowserSiteListStatus) }, }) end |
#last_modified_by ⇒ Object
Gets the lastModifiedBy property value. The user who last modified the site list.
110 111 112 |
# File 'lib/models/browser_site_list.rb', line 110 def last_modified_by return @last_modified_by end |
#last_modified_by=(value) ⇒ Object
Sets the lastModifiedBy property value. The user who last modified the site list.
118 119 120 |
# File 'lib/models/browser_site_list.rb', line 118 def last_modified_by=(value) @last_modified_by = value end |
#last_modified_date_time ⇒ Object
Gets the lastModifiedDateTime property value. The date and time when the site list was last modified.
125 126 127 |
# File 'lib/models/browser_site_list.rb', line 125 def last_modified_date_time return @last_modified_date_time end |
#last_modified_date_time=(value) ⇒ Object
Sets the lastModifiedDateTime property value. The date and time when the site list was last modified.
133 134 135 |
# File 'lib/models/browser_site_list.rb', line 133 def last_modified_date_time=(value) @last_modified_date_time = value end |
#published_by ⇒ Object
Gets the publishedBy property value. The user who published the site list.
140 141 142 |
# File 'lib/models/browser_site_list.rb', line 140 def published_by return @published_by end |
#published_by=(value) ⇒ Object
Sets the publishedBy property value. The user who published the site list.
148 149 150 |
# File 'lib/models/browser_site_list.rb', line 148 def published_by=(value) @published_by = value end |
#published_date_time ⇒ Object
Gets the publishedDateTime property value. The date and time when the site list was published.
155 156 157 |
# File 'lib/models/browser_site_list.rb', line 155 def published_date_time return @published_date_time end |
#published_date_time=(value) ⇒ Object
Sets the publishedDateTime property value. The date and time when the site list was published.
163 164 165 |
# File 'lib/models/browser_site_list.rb', line 163 def published_date_time=(value) @published_date_time = value end |
#revision ⇒ Object
Gets the revision property value. The current revision of the site list.
170 171 172 |
# File 'lib/models/browser_site_list.rb', line 170 def revision return @revision end |
#revision=(value) ⇒ Object
Sets the revision property value. The current revision of the site list.
178 179 180 |
# File 'lib/models/browser_site_list.rb', line 178 def revision=(value) @revision = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
186 187 188 189 190 191 192 193 194 195 196 197 198 199 |
# File 'lib/models/browser_site_list.rb', line 186 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? super writer.write_string_value("description", @description) writer.write_string_value("displayName", @display_name) writer.write_object_value("lastModifiedBy", @last_modified_by) writer.write_date_time_value("lastModifiedDateTime", @last_modified_date_time) writer.write_object_value("publishedBy", @published_by) writer.write_date_time_value("publishedDateTime", @published_date_time) writer.write_string_value("revision", @revision) writer.write_collection_of_object_values("sharedCookies", ) writer.write_collection_of_object_values("sites", @sites) writer.write_enum_value("status", @status) end |
#shared_cookies ⇒ Object
Gets the sharedCookies property value. A collection of shared cookies defined for the site list.
204 205 206 |
# File 'lib/models/browser_site_list.rb', line 204 def return end |
#shared_cookies=(value) ⇒ Object
Sets the sharedCookies property value. A collection of shared cookies defined for the site list.
212 213 214 |
# File 'lib/models/browser_site_list.rb', line 212 def (value) = value end |
#sites ⇒ Object
Gets the sites property value. A collection of sites defined for the site list.
219 220 221 |
# File 'lib/models/browser_site_list.rb', line 219 def sites return @sites end |
#sites=(value) ⇒ Object
Sets the sites property value. A collection of sites defined for the site list.
227 228 229 |
# File 'lib/models/browser_site_list.rb', line 227 def sites=(value) @sites = value end |
#status ⇒ Object
Gets the status property value. The status property
234 235 236 |
# File 'lib/models/browser_site_list.rb', line 234 def status return @status end |
#status=(value) ⇒ Object
Sets the status property value. The status property
242 243 244 |
# File 'lib/models/browser_site_list.rb', line 242 def status=(value) @status = value end |