Class: MicrosoftGraph::Models::IdentityGovernanceUserProcessingResult

Inherits:
Entity
  • Object
show all
Includes:
MicrosoftKiotaAbstractions::Parsable
Defined in:
lib/models/identity_governance_user_processing_result.rb

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Entity

#additional_data, #additional_data=, #id, #id=, #odata_type, #odata_type=

Constructor Details

#initializeObject

Instantiates a new identityGovernanceUserProcessingResult and sets the default values.



62
63
64
# File 'lib/models/identity_governance_user_processing_result.rb', line 62

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

Parameters:

  • parse_node

    The parse node to use to read the discriminator value and create the object

Returns:

  • a identity_governance_user_processing_result

Raises:

  • (StandardError)


70
71
72
73
# File 'lib/models/identity_governance_user_processing_result.rb', line 70

def self.create_from_discriminator_value(parse_node)
    raise StandardError, 'parse_node cannot be null' if parse_node.nil?
    return IdentityGovernanceUserProcessingResult.new
end

Instance Method Details

#completed_date_timeObject

Gets the completedDateTime property value. The date time that the workflow execution for a user completed. Value is null if the workflow hasn’t completed.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.

Returns:

  • a date_time



47
48
49
# File 'lib/models/identity_governance_user_processing_result.rb', line 47

def completed_date_time
    return @completed_date_time
end

#completed_date_time=(value) ⇒ Object

Sets the completedDateTime property value. The date time that the workflow execution for a user completed. Value is null if the workflow hasn’t completed.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.

Parameters:

  • value

    Value to set for the completedDateTime property.

Returns:

  • a void



55
56
57
# File 'lib/models/identity_governance_user_processing_result.rb', line 55

def completed_date_time=(value)
    @completed_date_time = value
end

#failed_tasks_countObject

Gets the failedTasksCount property value. The number of tasks that failed in the workflow execution.

Returns:

  • a integer



78
79
80
# File 'lib/models/identity_governance_user_processing_result.rb', line 78

def failed_tasks_count
    return @failed_tasks_count
end

#failed_tasks_count=(value) ⇒ Object

Sets the failedTasksCount property value. The number of tasks that failed in the workflow execution.

Parameters:

  • value

    Value to set for the failedTasksCount property.

Returns:

  • a void



86
87
88
# File 'lib/models/identity_governance_user_processing_result.rb', line 86

def failed_tasks_count=(value)
    @failed_tasks_count = value
end

#get_field_deserializersObject

The deserialization information for the current model

Returns:

  • a i_dictionary



93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
# File 'lib/models/identity_governance_user_processing_result.rb', line 93

def get_field_deserializers()
    return super.merge({
        "completedDateTime" => lambda {|n| @completed_date_time = n.get_date_time_value() },
        "failedTasksCount" => lambda {|n| @failed_tasks_count = n.get_number_value() },
        "processingStatus" => lambda {|n| @processing_status = n.get_enum_value(MicrosoftGraph::Models::IdentityGovernanceLifecycleWorkflowProcessingStatus) },
        "scheduledDateTime" => lambda {|n| @scheduled_date_time = n.get_date_time_value() },
        "startedDateTime" => lambda {|n| @started_date_time = n.get_date_time_value() },
        "subject" => lambda {|n| @subject = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::User.create_from_discriminator_value(pn) }) },
        "taskProcessingResults" => lambda {|n| @task_processing_results = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::IdentityGovernanceTaskProcessingResult.create_from_discriminator_value(pn) }) },
        "totalTasksCount" => lambda {|n| @total_tasks_count = n.get_number_value() },
        "totalUnprocessedTasksCount" => lambda {|n| @total_unprocessed_tasks_count = n.get_number_value() },
        "workflowExecutionType" => lambda {|n| @workflow_execution_type = n.get_enum_value(MicrosoftGraph::Models::IdentityGovernanceWorkflowExecutionType) },
        "workflowVersion" => lambda {|n| @workflow_version = n.get_number_value() },
    })
end

#processing_statusObject

Gets the processingStatus property value. The processingStatus property

Returns:

  • a identity_governance_lifecycle_workflow_processing_status



112
113
114
# File 'lib/models/identity_governance_user_processing_result.rb', line 112

def processing_status
    return @processing_status
end

#processing_status=(value) ⇒ Object

Sets the processingStatus property value. The processingStatus property

Parameters:

  • value

    Value to set for the processingStatus property.

Returns:

  • a void



120
121
122
# File 'lib/models/identity_governance_user_processing_result.rb', line 120

def processing_status=(value)
    @processing_status = value
end

#scheduled_date_timeObject

Gets the scheduledDateTime property value. The date time that the workflow is scheduled to be executed for a user.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.

Returns:

  • a date_time



127
128
129
# File 'lib/models/identity_governance_user_processing_result.rb', line 127

def scheduled_date_time
    return @scheduled_date_time
end

#scheduled_date_time=(value) ⇒ Object

Sets the scheduledDateTime property value. The date time that the workflow is scheduled to be executed for a user.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.

Parameters:

  • value

    Value to set for the scheduledDateTime property.

Returns:

  • a void



135
136
137
# File 'lib/models/identity_governance_user_processing_result.rb', line 135

def scheduled_date_time=(value)
    @scheduled_date_time = value
end

#serialize(writer) ⇒ Object

Serializes information the current object

Parameters:

  • writer

    Serialization writer to use to serialize this model

Returns:

  • a void

Raises:

  • (StandardError)


143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
# File 'lib/models/identity_governance_user_processing_result.rb', line 143

def serialize(writer)
    raise StandardError, 'writer cannot be null' if writer.nil?
    super
    writer.write_date_time_value("completedDateTime", @completed_date_time)
    writer.write_number_value("failedTasksCount", @failed_tasks_count)
    writer.write_enum_value("processingStatus", @processing_status)
    writer.write_date_time_value("scheduledDateTime", @scheduled_date_time)
    writer.write_date_time_value("startedDateTime", @started_date_time)
    writer.write_object_value("subject", @subject)
    writer.write_collection_of_object_values("taskProcessingResults", @task_processing_results)
    writer.write_number_value("totalTasksCount", @total_tasks_count)
    writer.write_number_value("totalUnprocessedTasksCount", @total_unprocessed_tasks_count)
    writer.write_enum_value("workflowExecutionType", @workflow_execution_type)
    writer.write_number_value("workflowVersion", @workflow_version)
end

#started_date_timeObject

Gets the startedDateTime property value. The date time that the workflow execution started. Value is null if the workflow execution has not started.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.

Returns:

  • a date_time



162
163
164
# File 'lib/models/identity_governance_user_processing_result.rb', line 162

def started_date_time
    return @started_date_time
end

#started_date_time=(value) ⇒ Object

Sets the startedDateTime property value. The date time that the workflow execution started. Value is null if the workflow execution has not started.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.

Parameters:

  • value

    Value to set for the startedDateTime property.

Returns:

  • a void



170
171
172
# File 'lib/models/identity_governance_user_processing_result.rb', line 170

def started_date_time=(value)
    @started_date_time = value
end

#subjectObject

Gets the subject property value. The subject property

Returns:

  • a user



177
178
179
# File 'lib/models/identity_governance_user_processing_result.rb', line 177

def subject
    return @subject
end

#subject=(value) ⇒ Object

Sets the subject property value. The subject property

Parameters:

  • value

    Value to set for the subject property.

Returns:

  • a void



185
186
187
# File 'lib/models/identity_governance_user_processing_result.rb', line 185

def subject=(value)
    @subject = value
end

#task_processing_resultsObject

Gets the taskProcessingResults property value. The associated individual task execution.

Returns:

  • a identity_governance_task_processing_result



192
193
194
# File 'lib/models/identity_governance_user_processing_result.rb', line 192

def task_processing_results
    return @task_processing_results
end

#task_processing_results=(value) ⇒ Object

Sets the taskProcessingResults property value. The associated individual task execution.

Parameters:

  • value

    Value to set for the taskProcessingResults property.

Returns:

  • a void



200
201
202
# File 'lib/models/identity_governance_user_processing_result.rb', line 200

def task_processing_results=(value)
    @task_processing_results = value
end

#total_tasks_countObject

Gets the totalTasksCount property value. The total number of tasks that in the workflow execution.

Returns:

  • a integer



207
208
209
# File 'lib/models/identity_governance_user_processing_result.rb', line 207

def total_tasks_count
    return @total_tasks_count
end

#total_tasks_count=(value) ⇒ Object

Sets the totalTasksCount property value. The total number of tasks that in the workflow execution.

Parameters:

  • value

    Value to set for the totalTasksCount property.

Returns:

  • a void



215
216
217
# File 'lib/models/identity_governance_user_processing_result.rb', line 215

def total_tasks_count=(value)
    @total_tasks_count = value
end

#total_unprocessed_tasks_countObject

Gets the totalUnprocessedTasksCount property value. The total number of unprocessed tasks for the workflow.

Returns:

  • a integer



222
223
224
# File 'lib/models/identity_governance_user_processing_result.rb', line 222

def total_unprocessed_tasks_count
    return @total_unprocessed_tasks_count
end

#total_unprocessed_tasks_count=(value) ⇒ Object

Sets the totalUnprocessedTasksCount property value. The total number of unprocessed tasks for the workflow.

Parameters:

  • value

    Value to set for the totalUnprocessedTasksCount property.

Returns:

  • a void



230
231
232
# File 'lib/models/identity_governance_user_processing_result.rb', line 230

def total_unprocessed_tasks_count=(value)
    @total_unprocessed_tasks_count = value
end

#workflow_execution_typeObject

Gets the workflowExecutionType property value. The workflowExecutionType property

Returns:

  • a identity_governance_workflow_execution_type



237
238
239
# File 'lib/models/identity_governance_user_processing_result.rb', line 237

def workflow_execution_type
    return @workflow_execution_type
end

#workflow_execution_type=(value) ⇒ Object

Sets the workflowExecutionType property value. The workflowExecutionType property

Parameters:

  • value

    Value to set for the workflowExecutionType property.

Returns:

  • a void



245
246
247
# File 'lib/models/identity_governance_user_processing_result.rb', line 245

def workflow_execution_type=(value)
    @workflow_execution_type = value
end

#workflow_versionObject

Gets the workflowVersion property value. The version of the workflow that was executed.

Returns:

  • a integer



252
253
254
# File 'lib/models/identity_governance_user_processing_result.rb', line 252

def workflow_version
    return @workflow_version
end

#workflow_version=(value) ⇒ Object

Sets the workflowVersion property value. The version of the workflow that was executed.

Parameters:

  • value

    Value to set for the workflowVersion property.

Returns:

  • a void



260
261
262
# File 'lib/models/identity_governance_user_processing_result.rb', line 260

def workflow_version=(value)
    @workflow_version = value
end