Class: MicrosoftGraph::Models::SharepointIds
- Inherits:
-
Object
- Object
- MicrosoftGraph::Models::SharepointIds
- Includes:
- MicrosoftKiotaAbstractions::AdditionalDataHolder, MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/sharepoint_ids.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 sharepointIds and sets the default values.
-
#list_id ⇒ Object
Gets the listId property value.
-
#list_id=(value) ⇒ Object
Sets the listId property value.
-
#list_item_id ⇒ Object
Gets the listItemId property value.
-
#list_item_id=(value) ⇒ Object
Sets the listItemId property value.
-
#list_item_unique_id ⇒ Object
Gets the listItemUniqueId property value.
-
#list_item_unique_id=(value) ⇒ Object
Sets the listItemUniqueId property value.
-
#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.
-
#site_id ⇒ Object
Gets the siteId property value.
-
#site_id=(value) ⇒ Object
Sets the siteId property value.
-
#site_url ⇒ Object
Gets the siteUrl property value.
-
#site_url=(value) ⇒ Object
Sets the siteUrl property value.
-
#tenant_id ⇒ Object
Gets the tenantId property value.
-
#tenant_id=(value) ⇒ Object
Sets the tenantId property value.
-
#web_id ⇒ Object
Gets the webId property value.
-
#web_id=(value) ⇒ Object
Sets the webId property value.
Constructor Details
#initialize ⇒ Object
Instantiates a new sharepointIds and sets the default values.
55 56 57 |
# File 'lib/models/sharepoint_ids.rb', line 55 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
63 64 65 66 |
# File 'lib/models/sharepoint_ids.rb', line 63 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return SharepointIds.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.
40 41 42 |
# File 'lib/models/sharepoint_ids.rb', line 40 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.
48 49 50 |
# File 'lib/models/sharepoint_ids.rb', line 48 def additional_data=(value) @additional_data = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
71 72 73 74 75 76 77 78 79 80 81 82 |
# File 'lib/models/sharepoint_ids.rb', line 71 def get_field_deserializers() return { "listId" => lambda {|n| @list_id = n.get_string_value() }, "listItemId" => lambda {|n| @list_item_id = n.get_string_value() }, "listItemUniqueId" => lambda {|n| @list_item_unique_id = n.get_string_value() }, "@odata.type" => lambda {|n| @odata_type = n.get_string_value() }, "siteId" => lambda {|n| @site_id = n.get_string_value() }, "siteUrl" => lambda {|n| @site_url = n.get_string_value() }, "tenantId" => lambda {|n| @tenant_id = n.get_string_value() }, "webId" => lambda {|n| @web_id = n.get_string_value() }, } end |
#list_id ⇒ Object
Gets the listId property value. The unique identifier (guid) for the item’s list in SharePoint.
87 88 89 |
# File 'lib/models/sharepoint_ids.rb', line 87 def list_id return @list_id end |
#list_id=(value) ⇒ Object
Sets the listId property value. The unique identifier (guid) for the item’s list in SharePoint.
95 96 97 |
# File 'lib/models/sharepoint_ids.rb', line 95 def list_id=(value) @list_id = value end |
#list_item_id ⇒ Object
Gets the listItemId property value. An integer identifier for the item within the containing list.
102 103 104 |
# File 'lib/models/sharepoint_ids.rb', line 102 def list_item_id return @list_item_id end |
#list_item_id=(value) ⇒ Object
Sets the listItemId property value. An integer identifier for the item within the containing list.
110 111 112 |
# File 'lib/models/sharepoint_ids.rb', line 110 def list_item_id=(value) @list_item_id = value end |
#list_item_unique_id ⇒ Object
Gets the listItemUniqueId property value. The unique identifier (guid) for the item within OneDrive for Business or a SharePoint site.
117 118 119 |
# File 'lib/models/sharepoint_ids.rb', line 117 def list_item_unique_id return @list_item_unique_id end |
#list_item_unique_id=(value) ⇒ Object
Sets the listItemUniqueId property value. The unique identifier (guid) for the item within OneDrive for Business or a SharePoint site.
125 126 127 |
# File 'lib/models/sharepoint_ids.rb', line 125 def list_item_unique_id=(value) @list_item_unique_id = value end |
#odata_type ⇒ Object
Gets the @odata.type property value. The OdataType property
132 133 134 |
# File 'lib/models/sharepoint_ids.rb', line 132 def odata_type return @odata_type end |
#odata_type=(value) ⇒ Object
Sets the @odata.type property value. The OdataType property
140 141 142 |
# File 'lib/models/sharepoint_ids.rb', line 140 def odata_type=(value) @odata_type = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
148 149 150 151 152 153 154 155 156 157 158 159 |
# File 'lib/models/sharepoint_ids.rb', line 148 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? writer.write_string_value("listId", @list_id) writer.write_string_value("listItemId", @list_item_id) writer.write_string_value("listItemUniqueId", @list_item_unique_id) writer.write_string_value("@odata.type", @odata_type) writer.write_string_value("siteId", @site_id) writer.write_string_value("siteUrl", @site_url) writer.write_string_value("tenantId", @tenant_id) writer.write_string_value("webId", @web_id) writer.write_additional_data(@additional_data) end |
#site_id ⇒ Object
Gets the siteId property value. The unique identifier (guid) for the item’s site collection (SPSite).
164 165 166 |
# File 'lib/models/sharepoint_ids.rb', line 164 def site_id return @site_id end |
#site_id=(value) ⇒ Object
Sets the siteId property value. The unique identifier (guid) for the item’s site collection (SPSite).
172 173 174 |
# File 'lib/models/sharepoint_ids.rb', line 172 def site_id=(value) @site_id = value end |
#site_url ⇒ Object
Gets the siteUrl property value. The SharePoint URL for the site that contains the item.
179 180 181 |
# File 'lib/models/sharepoint_ids.rb', line 179 def site_url return @site_url end |
#site_url=(value) ⇒ Object
Sets the siteUrl property value. The SharePoint URL for the site that contains the item.
187 188 189 |
# File 'lib/models/sharepoint_ids.rb', line 187 def site_url=(value) @site_url = value end |
#tenant_id ⇒ Object
Gets the tenantId property value. The unique identifier (guid) for the tenancy.
194 195 196 |
# File 'lib/models/sharepoint_ids.rb', line 194 def tenant_id return @tenant_id end |
#tenant_id=(value) ⇒ Object
Sets the tenantId property value. The unique identifier (guid) for the tenancy.
202 203 204 |
# File 'lib/models/sharepoint_ids.rb', line 202 def tenant_id=(value) @tenant_id = value end |
#web_id ⇒ Object
Gets the webId property value. The unique identifier (guid) for the item’s site (SPWeb).
209 210 211 |
# File 'lib/models/sharepoint_ids.rb', line 209 def web_id return @web_id end |
#web_id=(value) ⇒ Object
Sets the webId property value. The unique identifier (guid) for the item’s site (SPWeb).
217 218 219 |
# File 'lib/models/sharepoint_ids.rb', line 217 def web_id=(value) @web_id = value end |