Class: MicrosoftGraph::Models::IdentityGovernanceCustomTaskExtension

Inherits:
CustomCalloutExtension show all
Includes:
MicrosoftKiotaAbstractions::Parsable
Defined in:
lib/models/identity_governance_custom_task_extension.rb

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from CustomCalloutExtension

#authentication_configuration, #authentication_configuration=, #client_configuration, #client_configuration=, #description, #description=, #display_name, #display_name=, #endpoint_configuration, #endpoint_configuration=

Methods inherited from Entity

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

Constructor Details

#initializeObject

Instantiates a new identityGovernanceCustomTaskExtension and sets the default values.



44
45
46
47
# File 'lib/models/identity_governance_custom_task_extension.rb', line 44

def initialize()
    super
    @odata_type = "#microsoft.graph.identityGovernance.customTaskExtension"
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_custom_task_extension

Raises:

  • (StandardError)


83
84
85
86
# File 'lib/models/identity_governance_custom_task_extension.rb', line 83

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

Instance Method Details

#callback_configurationObject

Gets the callbackConfiguration property value. The callback configuration for a custom task extension.

Returns:

  • a custom_extension_callback_configuration



29
30
31
# File 'lib/models/identity_governance_custom_task_extension.rb', line 29

def callback_configuration
    return @callback_configuration
end

#callback_configuration=(value) ⇒ Object

Sets the callbackConfiguration property value. The callback configuration for a custom task extension.

Parameters:

  • value

    Value to set for the callbackConfiguration property.

Returns:

  • a void



37
38
39
# File 'lib/models/identity_governance_custom_task_extension.rb', line 37

def callback_configuration=(value)
    @callback_configuration = value
end

#created_byObject

Gets the createdBy property value. The unique identifier of the Azure AD user that created the custom task extension.Supports $filter(eq, ne) and $expand.

Returns:

  • a user



52
53
54
# File 'lib/models/identity_governance_custom_task_extension.rb', line 52

def created_by
    return @created_by
end

#created_by=(value) ⇒ Object

Sets the createdBy property value. The unique identifier of the Azure AD user that created the custom task extension.Supports $filter(eq, ne) and $expand.

Parameters:

  • value

    Value to set for the createdBy property.

Returns:

  • a void



60
61
62
# File 'lib/models/identity_governance_custom_task_extension.rb', line 60

def created_by=(value)
    @created_by = value
end

#created_date_timeObject

Gets the createdDateTime property value. When the custom task extension was created.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.

Returns:

  • a date_time



67
68
69
# File 'lib/models/identity_governance_custom_task_extension.rb', line 67

def created_date_time
    return @created_date_time
end

#created_date_time=(value) ⇒ Object

Sets the createdDateTime property value. When the custom task extension was created.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.

Parameters:

  • value

    Value to set for the createdDateTime property.

Returns:

  • a void



75
76
77
# File 'lib/models/identity_governance_custom_task_extension.rb', line 75

def created_date_time=(value)
    @created_date_time = value
end

#get_field_deserializersObject

The deserialization information for the current model

Returns:

  • a i_dictionary



91
92
93
94
95
96
97
98
99
# File 'lib/models/identity_governance_custom_task_extension.rb', line 91

def get_field_deserializers()
    return super.merge({
        "callbackConfiguration" => lambda {|n| @callback_configuration = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::CustomExtensionCallbackConfiguration.create_from_discriminator_value(pn) }) },
        "createdBy" => lambda {|n| @created_by = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::User.create_from_discriminator_value(pn) }) },
        "createdDateTime" => lambda {|n| @created_date_time = n.get_date_time_value() },
        "lastModifiedBy" => lambda {|n| @last_modified_by = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::User.create_from_discriminator_value(pn) }) },
        "lastModifiedDateTime" => lambda {|n| @last_modified_date_time = n.get_date_time_value() },
    })
end

#last_modified_byObject

Gets the lastModifiedBy property value. The unique identifier of the Azure AD user that modified the custom task extension last.Supports $filter(eq, ne) and $expand.

Returns:

  • a user



104
105
106
# File 'lib/models/identity_governance_custom_task_extension.rb', line 104

def last_modified_by
    return @last_modified_by
end

#last_modified_by=(value) ⇒ Object

Sets the lastModifiedBy property value. The unique identifier of the Azure AD user that modified the custom task extension last.Supports $filter(eq, ne) and $expand.

Parameters:

  • value

    Value to set for the lastModifiedBy property.

Returns:

  • a void



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

def last_modified_by=(value)
    @last_modified_by = value
end

#last_modified_date_timeObject

Gets the lastModifiedDateTime property value. When the custom extension was last modified.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.

Returns:

  • a date_time



119
120
121
# File 'lib/models/identity_governance_custom_task_extension.rb', line 119

def last_modified_date_time
    return @last_modified_date_time
end

#last_modified_date_time=(value) ⇒ Object

Sets the lastModifiedDateTime property value. When the custom extension was last modified.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.

Parameters:

  • value

    Value to set for the lastModifiedDateTime property.

Returns:

  • a void



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

def last_modified_date_time=(value)
    @last_modified_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)


135
136
137
138
139
140
141
142
143
# File 'lib/models/identity_governance_custom_task_extension.rb', line 135

def serialize(writer)
    raise StandardError, 'writer cannot be null' if writer.nil?
    super
    writer.write_object_value("callbackConfiguration", @callback_configuration)
    writer.write_object_value("createdBy", @created_by)
    writer.write_date_time_value("createdDateTime", @created_date_time)
    writer.write_object_value("lastModifiedBy", @last_modified_by)
    writer.write_date_time_value("lastModifiedDateTime", @last_modified_date_time)
end