ResolverQueryLogConfigAssociation.fromJson constructor

ResolverQueryLogConfigAssociation.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory ResolverQueryLogConfigAssociation.fromJson(
    Map<String, dynamic> json) {
  return ResolverQueryLogConfigAssociation(
    creationTime: json['CreationTime'] as String?,
    error: (json['Error'] as String?)
        ?.toResolverQueryLogConfigAssociationError(),
    errorMessage: json['ErrorMessage'] as String?,
    id: json['Id'] as String?,
    resolverQueryLogConfigId: json['ResolverQueryLogConfigId'] as String?,
    resourceId: json['ResourceId'] as String?,
    status: (json['Status'] as String?)
        ?.toResolverQueryLogConfigAssociationStatus(),
  );
}