Class MonitoredResourceTaskDetailsModelConverter
Inherited Members
Namespace: Oci.StackmonitoringService.Models
Assembly: OCI.DotNetSDK.Stackmonitoring.dll
Syntax
public class MonitoredResourceTaskDetailsModelConverter : JsonConverter
Properties
CanRead
Gets a value indicating whether this Newtonsoft.Json.JsonConverter can read JSON.
Declaration
public override bool CanRead { get; }
Property Value
Type | Description |
---|---|
bool |
|
Overrides
CanWrite
Gets a value indicating whether this Newtonsoft.Json.JsonConverter can write JSON.
Declaration
public override bool CanWrite { get; }
Property Value
Type | Description |
---|---|
bool |
|
Overrides
Methods
CanConvert(Type)
Determines whether this instance can convert the specified object type.
Declaration
public override bool CanConvert(Type type)
Parameters
Type | Name | Description |
---|---|---|
Type | type |
Returns
Type | Description |
---|---|
bool |
|
Overrides
ReadJson(JsonReader, Type, object, JsonSerializer)
Reads the JSON representation of the object.
Declaration
public override object ReadJson(JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer)
Parameters
Type | Name | Description |
---|---|---|
JsonReader | reader | The Newtonsoft.Json.JsonReader to read from. |
Type | objectType | Type of the object. |
object | existingValue | The existing value of object being read. |
JsonSerializer | serializer | The calling serializer. |
Returns
Type | Description |
---|---|
object | The object value. |
Overrides
WriteJson(JsonWriter, object, JsonSerializer)
Writes the JSON representation of the object.
Declaration
public override void WriteJson(JsonWriter writer, object value, JsonSerializer serializer)
Parameters
Type | Name | Description |
---|---|---|
JsonWriter | writer | The Newtonsoft.Json.JsonWriter to write to. |
object | value | The value. |
JsonSerializer | serializer | The calling serializer. |