DeleteGlobalOrganizationOperationRequest.fromJson constructor

DeleteGlobalOrganizationOperationRequest.fromJson(
  1. Object? j
)

Implementation

factory DeleteGlobalOrganizationOperationRequest.fromJson(Object? j) {
  final json = j as Map<String, Object?>;
  return DeleteGlobalOrganizationOperationRequest(
    operation: switch (json['operation']) {
      null => '',
      Object $1 => decodeString($1),
    },
    parentId: switch (json['parentId']) {
      null => null,
      Object $1 => decodeString($1),
    },
  );
}