ListGlobalOrganizationOperationsRequest.fromJson constructor

ListGlobalOrganizationOperationsRequest.fromJson(
  1. Object? j
)

Implementation

factory ListGlobalOrganizationOperationsRequest.fromJson(Object? j) {
  final json = j as Map<String, Object?>;
  return ListGlobalOrganizationOperationsRequest(
    filter: switch (json['filter']) {
      null => null,
      Object $1 => decodeString($1),
    },
    maxResults: switch (json['maxResults']) {
      null => null,
      Object $1 => decodeInt($1),
    },
    orderBy: switch (json['orderBy']) {
      null => null,
      Object $1 => decodeString($1),
    },
    pageToken: switch (json['pageToken']) {
      null => null,
      Object $1 => decodeString($1),
    },
    parentId: switch (json['parentId']) {
      null => null,
      Object $1 => decodeString($1),
    },
    returnPartialSuccess: switch (json['returnPartialSuccess']) {
      null => null,
      Object $1 => decodeBool($1),
    },
  );
}