toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final getLinkAttributes = this.getLinkAttributes;
  final getObjectAttributes = this.getObjectAttributes;
  final getObjectInformation = this.getObjectInformation;
  final listAttachedIndices = this.listAttachedIndices;
  final listIncomingTypedLinks = this.listIncomingTypedLinks;
  final listIndex = this.listIndex;
  final listObjectAttributes = this.listObjectAttributes;
  final listObjectChildren = this.listObjectChildren;
  final listObjectParentPaths = this.listObjectParentPaths;
  final listObjectPolicies = this.listObjectPolicies;
  final listOutgoingTypedLinks = this.listOutgoingTypedLinks;
  final listPolicyAttachments = this.listPolicyAttachments;
  final lookupPolicy = this.lookupPolicy;
  return {
    if (getLinkAttributes != null) 'GetLinkAttributes': getLinkAttributes,
    if (getObjectAttributes != null)
      'GetObjectAttributes': getObjectAttributes,
    if (getObjectInformation != null)
      'GetObjectInformation': getObjectInformation,
    if (listAttachedIndices != null)
      'ListAttachedIndices': listAttachedIndices,
    if (listIncomingTypedLinks != null)
      'ListIncomingTypedLinks': listIncomingTypedLinks,
    if (listIndex != null) 'ListIndex': listIndex,
    if (listObjectAttributes != null)
      'ListObjectAttributes': listObjectAttributes,
    if (listObjectChildren != null) 'ListObjectChildren': listObjectChildren,
    if (listObjectParentPaths != null)
      'ListObjectParentPaths': listObjectParentPaths,
    if (listObjectPolicies != null) 'ListObjectPolicies': listObjectPolicies,
    if (listOutgoingTypedLinks != null)
      'ListOutgoingTypedLinks': listOutgoingTypedLinks,
    if (listPolicyAttachments != null)
      'ListPolicyAttachments': listPolicyAttachments,
    if (lookupPolicy != null) 'LookupPolicy': lookupPolicy,
  };
}