Show / Hide Table of Contents

Class ModelEnvironmentJsonConverter

A Json converter for type ModelEnvironment

Inheritance
object
JsonConverter
JsonConverter<ModelEnvironment>
ModelEnvironmentJsonConverter
Inherited Members
JsonConverter<ModelEnvironment>.CanConvert(Type)
JsonConverter<ModelEnvironment>.ReadAsPropertyName(ref Utf8JsonReader, Type, JsonSerializerOptions)
JsonConverter<ModelEnvironment>.WriteAsPropertyName(Utf8JsonWriter, ModelEnvironment, JsonSerializerOptions)
JsonConverter<ModelEnvironment>.HandleNull
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Pulumi.Esc.Sdk.Model
Assembly: Pulumi.Esc.Sdk.dll
Syntax
public class ModelEnvironmentJsonConverter : JsonConverter<ModelEnvironment>

Methods

View Source

Read(ref Utf8JsonReader, Type, JsonSerializerOptions)

Deserializes json to ModelEnvironment

Declaration
public override ModelEnvironment Read(ref Utf8JsonReader utf8JsonReader, Type typeToConvert, JsonSerializerOptions jsonSerializerOptions)
Parameters
Type Name Description
Utf8JsonReader utf8JsonReader
Type typeToConvert
JsonSerializerOptions jsonSerializerOptions
Returns
Type Description
ModelEnvironment
Overrides
JsonConverter<ModelEnvironment>.Read(ref Utf8JsonReader, Type, JsonSerializerOptions)
Exceptions
Type Condition
JsonException
View Source

Write(Utf8JsonWriter, ModelEnvironment, JsonSerializerOptions)

Serializes a ModelEnvironment

Declaration
public override void Write(Utf8JsonWriter writer, ModelEnvironment modelEnvironment, JsonSerializerOptions jsonSerializerOptions)
Parameters
Type Name Description
Utf8JsonWriter writer
ModelEnvironment modelEnvironment
JsonSerializerOptions jsonSerializerOptions
Overrides
JsonConverter<ModelEnvironment>.Write(Utf8JsonWriter, ModelEnvironment, JsonSerializerOptions)
Exceptions
Type Condition
NotImplementedException
View Source

WriteProperties(ref Utf8JsonWriter, ModelEnvironment, JsonSerializerOptions)

Serializes the properties of ModelEnvironment

Declaration
public void WriteProperties(ref Utf8JsonWriter writer, ModelEnvironment modelEnvironment, JsonSerializerOptions jsonSerializerOptions)
Parameters
Type Name Description
Utf8JsonWriter writer
ModelEnvironment modelEnvironment
JsonSerializerOptions jsonSerializerOptions
Exceptions
Type Condition
NotImplementedException

Version 0.13.1

  • View Source
Back to top Copyright 2016-2023, Pulumi Corporation.