ResourceBody Class

Definition

The resource to reference.

[System.ComponentModel.TypeConverter(typeof(ADT.Models.ResourceBodyTypeConverter))]
public class ResourceBody : ADT.Models.IResourceBody
[<System.ComponentModel.TypeConverter(typeof(ADT.Models.ResourceBodyTypeConverter))>]
type ResourceBody = class
    interface IResourceBody
    interface IJsonSerializable
Public Class ResourceBody
Implements IResourceBody
Inheritance
ResourceBody
Attributes
Implements

Constructors

Name Description
ResourceBody()

Creates an new ResourceBody instance.

Properties

Name Description
Id

ID of the resource.

StatusReason

Reason for resource operation.

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ResourceBody.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ResourceBody.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of ADT.Models.IResourceBody.

FromJsonString(String)

Creates a new instance of ResourceBody, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of ResourceBody into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to