public JObject ToJson() { var json = new JObject(); json["containerID"] = ContainerId?.ToJson(); json["objectID"] = ObjectId?.ToJson(); return(json); }
public JObject ToJson() { var json = new JObject(); json["verb"] = Verb.ToString(); json["wildcard"] = Wildcard.ToString(); json["containerID"] = ContainerId.ToJson(); return(json); }
public JObject ToJson() { var json = new JObject(); json["version"] = Version?.ToJson(); json["containerID"] = ContainerId?.ToJson(); json["ownerID"] = OwnerId?.ToJson(); json["creationEpoch"] = CreationEpoch; json["payloadLength"] = PayloadLength; json["payloadHash"] = PayloadHash?.ToJson(); json["objectType"] = ObjectType.String(); json["homomorphicHash"] = HomomorphicHash?.ToJson(); json["sessionToken"] = SessionToken?.ToJson(); json["attributes"] = new JArray(Attributes.Select(p => p.ToJson())); json["split"] = Split?.ToJson(); return(json); }