Class: MicrosoftGraph::Models::VerifiedPublisher
- Inherits:
-
Object
- Object
- MicrosoftGraph::Models::VerifiedPublisher
- Includes:
- MicrosoftKiotaAbstractions::AdditionalDataHolder, MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/verified_publisher.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
-
#added_date_time ⇒ Object
Gets the addedDateTime property value.
-
#added_date_time=(value) ⇒ Object
Sets the addedDateTime property value.
-
#additional_data ⇒ Object
Gets the additionalData property value.
-
#additional_data=(value) ⇒ Object
Sets the additionalData 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 verifiedPublisher 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.
-
#verified_publisher_id ⇒ Object
Gets the verifiedPublisherId property value.
-
#verified_publisher_id=(value) ⇒ Object
Sets the verifiedPublisherId property value.
Constructor Details
#initialize ⇒ Object
Instantiates a new verifiedPublisher and sets the default values.
59 60 61 |
# File 'lib/models/verified_publisher.rb', line 59 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
67 68 69 70 |
# File 'lib/models/verified_publisher.rb', line 67 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return VerifiedPublisher.new end |
Instance Method Details
#added_date_time ⇒ Object
Gets the addedDateTime property value. The timestamp when the verified publisher was first added or most recently updated.
29 30 31 |
# File 'lib/models/verified_publisher.rb', line 29 def added_date_time return @added_date_time end |
#added_date_time=(value) ⇒ Object
Sets the addedDateTime property value. The timestamp when the verified publisher was first added or most recently updated.
37 38 39 |
# File 'lib/models/verified_publisher.rb', line 37 def added_date_time=(value) @added_date_time = value end |
#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.
44 45 46 |
# File 'lib/models/verified_publisher.rb', line 44 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.
52 53 54 |
# File 'lib/models/verified_publisher.rb', line 52 def additional_data=(value) @additional_data = value end |
#display_name ⇒ Object
Gets the displayName property value. The verified publisher name from the app publisher’s Partner Center account.
75 76 77 |
# File 'lib/models/verified_publisher.rb', line 75 def display_name return @display_name end |
#display_name=(value) ⇒ Object
Sets the displayName property value. The verified publisher name from the app publisher’s Partner Center account.
83 84 85 |
# File 'lib/models/verified_publisher.rb', line 83 def display_name=(value) @display_name = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
90 91 92 93 94 95 96 97 |
# File 'lib/models/verified_publisher.rb', line 90 def get_field_deserializers() return { "addedDateTime" => lambda {|n| @added_date_time = n.get_date_time_value() }, "displayName" => lambda {|n| @display_name = n.get_string_value() }, "@odata.type" => lambda {|n| @odata_type = n.get_string_value() }, "verifiedPublisherId" => lambda {|n| @verified_publisher_id = n.get_string_value() }, } end |
#odata_type ⇒ Object
Gets the @odata.type property value. The OdataType property
102 103 104 |
# File 'lib/models/verified_publisher.rb', line 102 def odata_type return @odata_type end |
#odata_type=(value) ⇒ Object
Sets the @odata.type property value. The OdataType property
110 111 112 |
# File 'lib/models/verified_publisher.rb', line 110 def odata_type=(value) @odata_type = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
118 119 120 121 122 123 124 125 |
# File 'lib/models/verified_publisher.rb', line 118 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? writer.write_date_time_value("addedDateTime", @added_date_time) writer.write_string_value("displayName", @display_name) writer.write_string_value("@odata.type", @odata_type) writer.write_string_value("verifiedPublisherId", @verified_publisher_id) writer.write_additional_data(@additional_data) end |
#verified_publisher_id ⇒ Object
Gets the verifiedPublisherId property value. The ID of the verified publisher from the app publisher’s Partner Center account.
130 131 132 |
# File 'lib/models/verified_publisher.rb', line 130 def verified_publisher_id return @verified_publisher_id end |
#verified_publisher_id=(value) ⇒ Object
Sets the verifiedPublisherId property value. The ID of the verified publisher from the app publisher’s Partner Center account.
138 139 140 |
# File 'lib/models/verified_publisher.rb', line 138 def verified_publisher_id=(value) @verified_publisher_id = value end |