Class: MicrosoftGraph::Models::AppLogCollectionRequest
- Includes:
- MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/app_log_collection_request.rb
Overview
Entity for AppLogCollectionRequest contains all logs values.
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
-
#completed_date_time ⇒ Object
Gets the completedDateTime property value.
-
#completed_date_time=(value) ⇒ Object
Sets the completedDateTime property value.
-
#custom_log_folders ⇒ Object
Gets the customLogFolders property value.
-
#custom_log_folders=(value) ⇒ Object
Sets the customLogFolders property value.
-
#error_message ⇒ Object
Gets the errorMessage property value.
-
#error_message=(value) ⇒ Object
Sets the errorMessage property value.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#initialize ⇒ Object
constructor
Instantiates a new appLogCollectionRequest and sets the default values.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
-
#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 appLogCollectionRequest and sets the default values.
43 44 45 |
# File 'lib/models/app_log_collection_request.rb', line 43 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
51 52 53 54 |
# File 'lib/models/app_log_collection_request.rb', line 51 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return AppLogCollectionRequest.new end |
Instance Method Details
#completed_date_time ⇒ Object
Gets the completedDateTime property value. Time at which the upload log request reached a completed state if not completed yet NULL will be returned.
28 29 30 |
# File 'lib/models/app_log_collection_request.rb', line 28 def completed_date_time return @completed_date_time end |
#completed_date_time=(value) ⇒ Object
Sets the completedDateTime property value. Time at which the upload log request reached a completed state if not completed yet NULL will be returned.
36 37 38 |
# File 'lib/models/app_log_collection_request.rb', line 36 def completed_date_time=(value) @completed_date_time = value end |
#custom_log_folders ⇒ Object
Gets the customLogFolders property value. List of log folders.
59 60 61 |
# File 'lib/models/app_log_collection_request.rb', line 59 def custom_log_folders return @custom_log_folders end |
#custom_log_folders=(value) ⇒ Object
Sets the customLogFolders property value. List of log folders.
67 68 69 |
# File 'lib/models/app_log_collection_request.rb', line 67 def custom_log_folders=(value) @custom_log_folders = value end |
#error_message ⇒ Object
Gets the errorMessage property value. Indicates error message if any during the upload process.
74 75 76 |
# File 'lib/models/app_log_collection_request.rb', line 74 def return end |
#error_message=(value) ⇒ Object
Sets the errorMessage property value. Indicates error message if any during the upload process.
82 83 84 |
# File 'lib/models/app_log_collection_request.rb', line 82 def (value) = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
89 90 91 92 93 94 95 96 |
# File 'lib/models/app_log_collection_request.rb', line 89 def get_field_deserializers() return super.merge({ "completedDateTime" => lambda {|n| @completed_date_time = n.get_date_time_value() }, "customLogFolders" => lambda {|n| @custom_log_folders = n.get_collection_of_primitive_values(String) }, "errorMessage" => lambda {|n| = n.get_string_value() }, "status" => lambda {|n| @status = n.get_enum_value(MicrosoftGraph::Models::AppLogUploadState) }, }) end |
#serialize(writer) ⇒ Object
Serializes information the current object
102 103 104 105 106 107 108 109 |
# File 'lib/models/app_log_collection_request.rb', line 102 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? super writer.write_date_time_value("completedDateTime", @completed_date_time) writer.write_collection_of_primitive_values("customLogFolders", @custom_log_folders) writer.write_string_value("errorMessage", ) writer.write_enum_value("status", @status) end |
#status ⇒ Object
Gets the status property value. AppLogUploadStatus
114 115 116 |
# File 'lib/models/app_log_collection_request.rb', line 114 def status return @status end |
#status=(value) ⇒ Object
Sets the status property value. AppLogUploadStatus
122 123 124 |
# File 'lib/models/app_log_collection_request.rb', line 122 def status=(value) @status = value end |